Skip to content

Fail to build rustfmt since rustc 1.40.0-nightly (c27f7568b 2019-10-13) #65424

Closed
crossbeam-rs/crossbeam
#428
@topecongiro

Description

@topecongiro
git clone https://github.com/rust-lang/rustfmt
cd rustfmt
cargo b

Running the above commands will fail with the following error when using rustc 1.40.0-nightly (e413dc36a 2019-10-14) in Linux, macOS and Windows:

   Compiling crossbeam-channel v0.3.9
error[E0432]: unresolved import `crossbeam_utils::atomic`
 --> /Users/seiichi.uchida/.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`

I have tested with multiple recent nightlies. It turns out that the build started to fail since rustc 1.40.0-nightly (c27f7568b 2019-10-13). Building with rustc 1.40.0-nightly (1721c9685 2019-10-12) or earlier succeeded without any error.

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