I'm trying to compile a package which has dependencies on crossbeam-channel v0.3.7
, however when running cargo I get:
error[E0432]: unresolved import `crossbeam_utils::Backoff`
--> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.7/src/context.rs:9:5
|
9 | use crossbeam_utils::Backoff;
| ^^^^^^^^^^^^^^^^^^^^^^^^ no `Backoff` in the root
error[E0432]: unresolved import `crossbeam_utils::Backoff`
--> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.7/src/flavors/array.rs:23:23
|
23 | use crossbeam_utils::{Backoff, CachePadded};
| ^^^^^^^ no `Backoff` in the root
error[E0432]: unresolved import `crossbeam_utils::Backoff`
--> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.7/src/flavors/list.rs:10:23
|
10 | use crossbeam_utils::{Backoff, CachePadded};
| ^^^^^^^ no `Backoff` in the root
error[E0432]: unresolved import `crossbeam_utils::Backoff`
--> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.7/src/flavors/zero.rs:10:5
|
10 | use crossbeam_utils::Backoff;
| ^^^^^^^^^^^^^^^^^^^^^^^^ no `Backoff` in the root
error[E0432]: unresolved import `crossbeam_utils::Backoff`
--> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.7/src/select.rs:8:5
|
8 | use crossbeam_utils::Backoff;
| ^^^^^^^^^^^^^^^^^^^^^^^^ no `Backoff` in the root
error[E0432]: unresolved import `crossbeam_utils::Backoff`
--> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.7/src/utils.rs:10:5
|
10 | use crossbeam_utils::Backoff;
| ^^^^^^^^^^^^^^^^^^^^^^^^ no `Backoff` in the root
Could someone suggest how to fix this? For the first time, I've seen cargo fail to build stuff.