You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated to latest nightly rustc 1.40.0-nightly (c27f7568b 2019-10-13) and suddenly crossbeam fails to compile.
Click for full error log
error[E0432]: unresolved import `crossbeam_utils::atomic`
--> C:\Users\novacrazy\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-channel-0.3.9\src\flavors\tick.rs:8:22
|
8 | use crossbeam_utils::atomic::AtomicCell;
| ^^^^^^ could not find `atomic` in `crossbeam_utils`
Checking crossbeam-epoch v0.7.2
error[E0432]: unresolved import `collector`
--> C:\Users\novacrazy\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.7.2\src\default.rs:7:5
|
7 | use collector::{Collector, LocalHandle};
| ^^^^^^^^^ maybe a missing crate `collector`?
error[E0432]: unresolved import `guard`
--> C:\Users\novacrazy\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.7.2\src\default.rs:8:5
|
8 | use guard::Guard;
| ^^^^^ maybe a missing crate `guard`?
error[E0282]: type annotations needed
--> C:\Users\novacrazy\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.7.2\src\default.rs:23:18
|
23 | with_handle(|handle| handle.pin())
| ^^^^^^ consider giving this closure parameter a type
|
= note: type must be known at this point
error[E0599]: no method named `register` found for type `default::COLLECTOR` in the current scope
--> C:\Users\novacrazy\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.7.2\src\default.rs:44:42
|
10 | / lazy_static! {
11 | | /// The global data for the default garbage collector.
12 | | static ref COLLECTOR: Collector = Collector::new();
13 | | }
| |_- method `register` not found for this
...
44 | .unwrap_or_else(|_| f(&COLLECTOR.register()))
| ^^^^^^^^ method not found in `default::COLLECTOR`
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0599]: no method named `register` found for type `default::COLLECTOR` in the current scope
--> C:\Users\novacrazy\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.7.2\src\default.rs:17:44
|
10 | / lazy_static! {
11 | | /// The global data for the default garbage collector.
12 | | static ref COLLECTOR: Collector = Collector::new();
13 | | }
| |_- method `register` not found for this
...
17 | static HANDLE: LocalHandle = COLLECTOR.register();
| ^^^^^^^^ method not found in `default::COLLECTOR`
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 5 previous errors
Updated to latest nightly
rustc 1.40.0-nightly (c27f7568b 2019-10-13)
and suddenly crossbeam fails to compile.Click for full error log
This probably has to do with rust-lang/rust#65214
The text was updated successfully, but these errors were encountered: