-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I am getting the following error when running cargo +nightly install racer:
Compiling rustc-ap-rustc_data_structures v651.0.0
error[E0599]: no method named `get` found for type `u64` in the current scope
--> /my/homepath/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_data_structures-651.0.0/profiling.rs:348:66
|
348 | let thread_id = std::thread::current().id().as_u64().get() as u32;
| ^^^ method not found in `u64`
error[E0599]: no method named `get` found for type `u64` in the current scope
--> /my/homepath/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_data_structures-651.0.0/profiling.rs:525:62
|
525 | let thread_id = std::thread::current().id().as_u64().get() as u32;
| ^^^ method not found in `u64`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error: could not compile `rustc-ap-rustc_data_structures`.
Here is my current setup:
OS:
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Rust:
rustup 1.21.1 (7832b2ebe 2019-12-20)
rustc 1.44.0-nightly (f509b26a7 2020-03-18)
cargo 1.44.0-nightly (7019b3ed3 2020-03-17)
Metadata
Metadata
Assignees
Labels
No labels