Skip to content

Crossbeam appears broken on latest nightly #434

Closed
@novacrazy

Description

@novacrazy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy