Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crossbeam appears broken on latest nightly #434

Closed
novacrazy opened this issue Oct 17, 2019 · 1 comment
Closed

Crossbeam appears broken on latest nightly #434

novacrazy opened this issue Oct 17, 2019 · 1 comment

Comments

@novacrazy
Copy link

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

This probably has to do with rust-lang/rust#65214

@novacrazy
Copy link
Author

Ah, I see, it's already been fixed in master but an update hasn't been pushed out. I suppose I'll just use the git version for a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant