[INFO] crate tokio-sync 0.2.0-alpha.4 is already in cache [INFO] checking tokio-sync-0.2.0-alpha.4 against master#9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7 for pr-64564 [INFO] extracting crate tokio-sync 0.2.0-alpha.4 into work/builds/worker-1/source [INFO] validating manifest of crates.io crate tokio-sync 0.2.0-alpha.4 on toolchain 9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio-sync 0.2.0-alpha.4 [INFO] finished tweaking crates.io crate tokio-sync 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate tokio-sync 0.2.0-alpha.4 written to work/builds/worker-1/source/Cargo.toml [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6aecf8ab19145c4ffc31160447e17d30c8560c9999baa0b7bd34de69774ecba9 [INFO] running `"docker" "start" "-a" "6aecf8ab19145c4ffc31160447e17d30c8560c9999baa0b7bd34de69774ecba9"` [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0463]: can't find crate for `loom` [INFO] [stderr] --> tests/fuzz_mpsc.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | extern crate loom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0463]: can't find crate for `loom` [INFO] [stderr] --> tests/fuzz_semaphore.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | extern crate loom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/atomic_waker.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_test::task::MockTask; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/atomic_waker.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | let mut task = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/atomic_waker.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | let mut task = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/lock.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::task::spawn; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/lock.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_test::{assert_pending, assert_ready}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/lock.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | let mut g = assert_ready!(t.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/lock.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | let mut g = assert_ready!(t.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/lock.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | let mut g = assert_ready!(t.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/lock.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let g = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/lock.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | assert_pending!(t2.poll()); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/lock.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | assert_ready!(t2.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> tests/lock.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | let mut t = spawn(l.lock()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> tests/lock.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | let mut t = spawn(l.lock()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> tests/lock.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | let mut t = spawn(l.lock()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> tests/lock.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | let mut t1 = spawn(l1.lock()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> tests/lock.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | let mut t2 = spawn(l2.lock()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `loom`? [INFO] [stderr] --> tests/../src/oneshot.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::loom::sync::{atomic::AtomicUsize, Arc, CausalCell}; [INFO] [stderr] | ^^^^ maybe a missing crate `loom`? [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0432]: unresolved import `loom` [INFO] [stderr] --> tests/fuzz_oneshot.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use loom; [INFO] [stderr] | ^^^^ no `loom` external crate [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Arc` [INFO] [stderr] --> tests/../src/oneshot.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | let inner = Arc::new(Inner { [INFO] [stderr] | ^^^ use of undeclared type or module `Arc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AtomicUsize` [INFO] [stderr] --> tests/../src/oneshot.rs:117:16 [INFO] [stderr] | [INFO] [stderr] 117 | state: AtomicUsize::new(State::new().as_usize()), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AtomicUsize` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CausalCell` [INFO] [stderr] --> tests/../src/oneshot.rs:118:16 [INFO] [stderr] | [INFO] [stderr] 118 | value: CausalCell::new(None), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CausalCell` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CausalCell` [INFO] [stderr] --> tests/../src/oneshot.rs:119:18 [INFO] [stderr] | [INFO] [stderr] 119 | tx_task: CausalCell::new(MaybeUninit::uninit()), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CausalCell` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CausalCell` [INFO] [stderr] --> tests/../src/oneshot.rs:120:18 [INFO] [stderr] | [INFO] [stderr] 120 | rx_task: CausalCell::new(MaybeUninit::uninit()), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CausalCell` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/semaphore.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::task::MockTask; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stderr] --> tests/fuzz_oneshot.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stderr] --> tests/fuzz_oneshot.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stderr] --> tests/fuzz_oneshot.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | let rx = thread::spawn(move || { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stderr] --> tests/fuzz_oneshot.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stderr] --> tests/fuzz_oneshot.rs:98:18 [INFO] [stderr] | [INFO] [stderr] 98 | let tx = thread::spawn(move || { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Arc` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | inner: Option>>, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::Arc; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Arc` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | inner: Option>>, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::Arc; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | state: AtomicUsize, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CausalCell` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | value: CausalCell>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/semaphore.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_test::{assert_pending, assert_ready_err, assert_ready_ok}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CausalCell` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:75:14 [INFO] [stderr] | [INFO] [stderr] 75 | tx_task: CausalCell>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CausalCell` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:78:14 [INFO] [stderr] | [INFO] [stderr] 78 | rx_task: CausalCell>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:505:28 [INFO] [stderr] | [INFO] [stderr] 505 | fn set_complete(cell: &AtomicUsize) -> State { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/semaphore.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | assert_ready_ok!(t1.enter(|cx| permit.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/semaphore.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | assert_ready_ok!(t1.enter(|cx| permit.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:517:27 [INFO] [stderr] | [INFO] [stderr] 517 | fn set_rx_task(cell: &AtomicUsize) -> State { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/semaphore.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | assert_ready_ok!(t1.enter(|cx| permit_1.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:522:29 [INFO] [stderr] | [INFO] [stderr] 522 | fn unset_rx_task(cell: &AtomicUsize) -> State { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/semaphore.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | assert_pending!(permit_2.poll_acquire(cx, &s)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/semaphore.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | assert_ready_ok!(t2.enter(|cx| permit_2.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:531:26 [INFO] [stderr] | [INFO] [stderr] 531 | fn set_closed(cell: &AtomicUsize) -> State { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/semaphore.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | assert_pending!(permit.poll_acquire(cx, &s)); [INFO] [stderr] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:538:27 [INFO] [stderr] | [INFO] [stderr] 538 | fn set_tx_task(cell: &AtomicUsize) -> State { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/semaphore.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | assert_ready_ok!(t1.enter(|cx| permit.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_err` [INFO] [stderr] --> tests/semaphore.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | assert_ready_err!(t1.enter(|cx| permit.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:543:29 [INFO] [stderr] | [INFO] [stderr] 543 | fn unset_tx_task(cell: &AtomicUsize) -> State { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/semaphore.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | assert_pending!(t1.enter(|cx| permit.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stderr] --> tests/../src/oneshot.rs:556:20 [INFO] [stderr] | [INFO] [stderr] 556 | fn load(cell: &AtomicUsize, order: Ordering) -> State { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_err` [INFO] [stderr] --> tests/semaphore.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | assert_ready_err!(t1.enter(|cx| permit.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::core_reexport::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/semaphore.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | assert_ready_ok!(t1.enter(|cx| permit1.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/fuzz_oneshot.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | let value = block_on(rx).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/fuzz_oneshot.rs:38:25 [INFO] [stderr] --> tests/semaphore.rs:129:5 [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] 129 | assert_ready_ok!(t2.enter(|cx| permit2.poll_acquire(cx, &s))); [INFO] [stderr] 38 | let ready = block_on(poll_fn(|cx| match Pin::new(&mut rx).poll(cx) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/fuzz_oneshot.rs:58:25 [INFO] [stderr] | [INFO] [stderr] 58 | let value = block_on(rx).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/semaphore.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | assert_pending!(t3.enter(|cx| permit3.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/fuzz_oneshot.rs:99:22 [INFO] [stderr] | [INFO] [stderr] 99 | let t1 = block_on(OnClose::new(&mut tx)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/fuzz_oneshot.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | block_on(OnClose::new(&mut tx)); [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/semaphore.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 132 | assert_pending!(t4.enter(|cx| permit4.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_err` [INFO] [stderr] --> tests/semaphore.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | assert_ready_err!(t3.enter(|cx| permit3.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_err` [INFO] [stderr] --> tests/semaphore.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | assert_ready_err!(t4.enter(|cx| permit4.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_err` [INFO] [stderr] --> tests/semaphore.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | assert_ready_err!(t1.enter(|cx| permit1.poll_acquire(cx, &s))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | let mut t1 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | let mut t1 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | let mut t2 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | let mut t1 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:85:18 [INFO] [stderr] | [INFO] [stderr] 85 | let mut t1 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:100:18 [INFO] [stderr] | [INFO] [stderr] 100 | let mut t1 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | let mut t1 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:116:18 [INFO] [stderr] | [INFO] [stderr] 116 | let mut t2 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | let mut t3 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/semaphore.rs:118:18 [INFO] [stderr] | [INFO] [stderr] 118 | let mut t4 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0392]: parameter `T` is never used [INFO] [stderr] --> tests/../src/oneshot.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Sender { [INFO] [stderr] | ^ unused parameter [INFO] [stderr] | [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] = help: consider removing `T` or using a marker such as `std::marker::PhantomData` [INFO] [stderr] [INFO] [stderr] error[E0392]: parameter `T` is never used [INFO] [stderr] --> tests/../src/oneshot.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Receiver { [INFO] [stderr] | ^ unused parameter [INFO] [stderr] | [INFO] [stderr] = help: consider removing `T` or using a marker such as `std::marker::PhantomData` [INFO] [stderr] [INFO] [stderr] error: aborting due to 32 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0392, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0392`. [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6aecf8ab19145c4ffc31160447e17d30c8560c9999baa0b7bd34de69774ecba9"` [INFO] running `"docker" "rm" "-f" "6aecf8ab19145c4ffc31160447e17d30c8560c9999baa0b7bd34de69774ecba9"` [INFO] [stdout] 6aecf8ab19145c4ffc31160447e17d30c8560c9999baa0b7bd34de69774ecba9