[INFO] crate tokio-sync 0.2.0-alpha.4 is already in cache [INFO] checking tokio-sync-0.2.0-alpha.4 against try#00e4530a79c42b21a6ca2ac1edb597c90d21f89f for pr-64672 [INFO] extracting crate tokio-sync 0.2.0-alpha.4 into work/builds/worker-2/source [INFO] validating manifest of crates.io crate tokio-sync 0.2.0-alpha.4 on toolchain 00e4530a79c42b21a6ca2ac1edb597c90d21f89f [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+00e4530a79c42b21a6ca2ac1edb597c90d21f89f" "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-2/source/Cargo.toml [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+00e4530a79c42b21a6ca2ac1edb597c90d21f89f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+00e4530a79c42b21a6ca2ac1edb597c90d21f89f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-2/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" "+00e4530a79c42b21a6ca2ac1edb597c90d21f89f" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] aa56ee8c3054e7713efb7ea39f1f5863e8f60aa77a133b9ce0b2fec7d48fa09e [INFO] running `"docker" "start" "-a" "aa56ee8c3054e7713efb7ea39f1f5863e8f60aa77a133b9ce0b2fec7d48fa09e"` [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[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[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[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[E0463]: can't find crate for `loom` [INFO] [stderr] --> tests/fuzz_atomic_waker.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 `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] [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] 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 `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] 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 `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] 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 `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] 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 `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] 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 `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] 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 `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] 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[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] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/fuzz_oneshot.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let ready = block_on(poll_fn(|cx| match Pin::new(&mut rx).poll(cx) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [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[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] [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] | ^^^^^^^^ not found in this scope [INFO] [stderr] [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[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: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] = 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[E0463]: can't find crate for `loom` [INFO] [stderr] --> tests/fuzz_list.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 `futures` [INFO] [stderr] --> benches/mpsc.rs:274:9 [INFO] [stderr] | [INFO] [stderr] 274 | use futures::sync::mpsc::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/mpsc.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | use futures::{future, Async, Future, Sink, Stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/mpsc.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | use futures::{future, Async, Future, Sink, Stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnboundedSender` [INFO] [stderr] --> benches/mpsc.rs:414:17 [INFO] [stderr] | [INFO] [stderr] 414 | UnboundedSender::unbounded_send(&tx, i).expect("send"); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `UnboundedSender` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnboundedSender` [INFO] [stderr] --> benches/mpsc.rs:427:25 [INFO] [stderr] | [INFO] [stderr] 427 | let _ = UnboundedSender::unbounded_send(&tx, [[i; 64]; 64]); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `UnboundedSender` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnboundedSender` [INFO] [stderr] --> benches/mpsc.rs:440:17 [INFO] [stderr] | [INFO] [stderr] 440 | UnboundedSender::unbounded_send(&tx, i).expect("send"); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `UnboundedSender` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:282:38 [INFO] [stderr] | [INFO] [stderr] 282 | let _ = test::black_box(&channel::(1_000)); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unbounded` in this scope [INFO] [stderr] --> benches/mpsc.rs:289:38 [INFO] [stderr] | [INFO] [stderr] 289 | let _ = test::black_box(&unbounded::()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:296:38 [INFO] [stderr] | [INFO] [stderr] 296 | let _ = test::black_box(&channel::(1_000)); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unbounded` in this scope [INFO] [stderr] --> benches/mpsc.rs:303:38 [INFO] [stderr] | [INFO] [stderr] 303 | let _ = test::black_box(&unbounded::()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:310:36 [INFO] [stderr] | [INFO] [stderr] 310 | let (mut tx, mut rx) = channel(1_000); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:323:36 [INFO] [stderr] | [INFO] [stderr] 323 | let (mut tx, mut rx) = channel::(1_000); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:335:29 [INFO] [stderr] | [INFO] [stderr] 335 | let (_tx, mut rx) = channel::(1_000); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:349:29 [INFO] [stderr] | [INFO] [stderr] 349 | let (mut tx, _rx) = channel::(0); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:363:29 [INFO] [stderr] | [INFO] [stderr] 363 | let (mut tx, _rx) = channel::(0); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unbounded` in this scope [INFO] [stderr] --> benches/mpsc.rs:378:29 [INFO] [stderr] | [INFO] [stderr] 378 | let (_tx, mut rx) = unbounded::(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unbounded` in this scope [INFO] [stderr] --> benches/mpsc.rs:392:29 [INFO] [stderr] | [INFO] [stderr] 392 | let (_tx, mut rx) = unbounded::(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unbounded` in this scope [INFO] [stderr] --> benches/mpsc.rs:411:32 [INFO] [stderr] | [INFO] [stderr] 411 | let (tx, mut rx) = unbounded(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unbounded` in this scope [INFO] [stderr] --> benches/mpsc.rs:424:32 [INFO] [stderr] | [INFO] [stderr] 424 | let (tx, mut rx) = unbounded::(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unbounded` in this scope [INFO] [stderr] --> benches/mpsc.rs:437:32 [INFO] [stderr] | [INFO] [stderr] 437 | let (tx, mut rx) = unbounded(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> benches/mpsc.rs:456:57 [INFO] [stderr] | [INFO] [stderr] 456 | let (tx, rx) = ::std::sync::mpsc::channel::>(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 456 | let (tx, rx) = ::std::sync::mpsc::channel::>(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 274 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:469:28 [INFO] [stderr] | [INFO] [stderr] 469 | let (tx, rx) = channel::(1_000_000); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> benches/mpsc.rs:500:57 [INFO] [stderr] | [INFO] [stderr] 500 | let (tx, rx) = ::std::sync::mpsc::channel::>(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 500 | let (tx, rx) = ::std::sync::mpsc::channel::>(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 274 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> benches/mpsc.rs:514:28 [INFO] [stderr] | [INFO] [stderr] 514 | let (tx, rx) = channel::(1); [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] 274 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::oneshot::channel; [INFO] [stderr] | [INFO] [stderr] 274 | use tokio_sync::watch::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/oneshot.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[E0432]: unresolved imports `tokio_test`, `tokio_test::task::MockTask` [INFO] [stderr] --> tests/oneshot.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::task::MockTask; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | use tokio_test::*; [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 `tokio` [INFO] [stderr] --> tests/oneshot.rs:26:3 [INFO] [stderr] | [INFO] [stderr] 26 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/oneshot.rs:71:3 [INFO] [stderr] | [INFO] [stderr] 71 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | assert_pending!(task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | assert_ok!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | let val = assert_ready_ok!(task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | assert_ok!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:31:19 [INFO] [stderr] | [INFO] [stderr] 31 | assert_eq!(1, assert_ok!(rx.await)); [INFO] [stderr] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | assert_pending!(task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | assert_ready_err!(task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | assert_err!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | assert_pending!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready` in this scope [INFO] [stderr] --> tests/oneshot.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | assert_ready!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | assert_err!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | assert_ok!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | let value = assert_ready_ok!(task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | assert_pending!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready` in this scope [INFO] [stderr] --> tests/oneshot.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | assert_ready!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | assert_err!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | assert_ready_err!(task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | assert_pending!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready` in this scope [INFO] [stderr] --> tests/oneshot.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | assert_ready!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | assert_ready_err!(task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | assert_ok!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:133:15 [INFO] [stderr] | [INFO] [stderr] 133 | let val = assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | assert_pending!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready` in this scope [INFO] [stderr] --> tests/oneshot.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | assert_ready!(task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | assert_err!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_err` in this scope [INFO] [stderr] --> tests/oneshot.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | assert_err!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | assert_pending!(tx_task.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | assert_pending!(rx_task.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | assert_pending!(task1.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:192:5 [INFO] [stderr] | [INFO] [stderr] 192 | assert_pending!(task2.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | assert_ok!(tx.send(1)); [INFO] [stderr] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready_ok` in this scope [INFO] [stderr] --> tests/oneshot.rs:202:5 [INFO] [stderr] | [INFO] [stderr] 202 | assert_ready_ok!(task2.poll(&mut rx)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | assert_pending!(task1.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/oneshot.rs:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | assert_pending!(task2.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready` in this scope [INFO] [stderr] --> tests/oneshot.rs:227:5 [INFO] [stderr] | [INFO] [stderr] 227 | assert_ready!(task2.enter(|cx| tx.poll_closed(cx))); [INFO] [stderr] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/oneshot.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | 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/oneshot.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | 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/oneshot.rs:58:20 [INFO] [stderr] | [INFO] [stderr] 58 | 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 `tokio` [INFO] [stderr] --> tests/oneshot.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/oneshot.rs:86:20 [INFO] [stderr] | [INFO] [stderr] 86 | 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/oneshot.rs:111:20 [INFO] [stderr] | [INFO] [stderr] 111 | 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/oneshot.rs:138:20 [INFO] [stderr] | [INFO] [stderr] 138 | 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/oneshot.rs:155:20 [INFO] [stderr] | [INFO] [stderr] 155 | 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/oneshot.rs:167:23 [INFO] [stderr] | [INFO] [stderr] 167 | let mut tx_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/oneshot.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | let mut rx_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/oneshot.rs:184:21 [INFO] [stderr] | [INFO] [stderr] 184 | let mut task1 = 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/oneshot.rs:185:21 [INFO] [stderr] | [INFO] [stderr] 185 | let mut task2 = 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/oneshot.rs:209:21 [INFO] [stderr] | [INFO] [stderr] 209 | let mut task1 = 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/oneshot.rs:210:21 [INFO] [stderr] | [INFO] [stderr] 210 | let mut task2 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::bounded::Receiver<{integer}>` in the current scope [INFO] [stderr] --> benches/mpsc.rs:51:50 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Async::Ready(Some(1)), rx.poll().unwrap()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::bounded::Receiver<[[usize; 64]; 64]>` in the current scope [INFO] [stderr] --> benches/mpsc.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | let _ = test::black_box(&rx.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver<[[usize; 64]; 64]>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::bounded::Receiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | assert!(rx.poll().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> benches/mpsc.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | assert!(tx.poll_ready().unwrap().is_ready()); [INFO] [stderr] | ^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `core::task::poll::Poll>` in the current scope [INFO] [stderr] --> benches/mpsc.rs:87:41 [INFO] [stderr] | [INFO] [stderr] 87 | assert!(tx.poll_ready().unwrap().is_ready()); [INFO] [stderr] | ^^^^^^ method not found in `core::task::poll::Poll>` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> benches/mpsc.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | assert!(tx.poll_ready().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `core::task::poll::Poll>` in the current scope [INFO] [stderr] --> benches/mpsc.rs:102:41 [INFO] [stderr] | [INFO] [stderr] 102 | assert!(tx.poll_ready().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^^^ method not found in `core::task::poll::Poll>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::unbounded::UnboundedReceiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:116:28 [INFO] [stderr] | [INFO] [stderr] 116 | assert!(rx.poll().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::unbounded::UnboundedReceiver` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::unbounded::UnboundedReceiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:130:28 [INFO] [stderr] | [INFO] [stderr] 130 | assert!(rx.poll().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::unbounded::UnboundedReceiver` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::unbounded::UnboundedReceiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:131:28 [INFO] [stderr] | [INFO] [stderr] 131 | assert!(rx.poll().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::unbounded::UnboundedReceiver` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::unbounded::UnboundedReceiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:132:28 [INFO] [stderr] | [INFO] [stderr] 132 | assert!(rx.poll().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::unbounded::UnboundedReceiver` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::unbounded::UnboundedReceiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:133:28 [INFO] [stderr] | [INFO] [stderr] 133 | assert!(rx.poll().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::unbounded::UnboundedReceiver` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::unbounded::UnboundedReceiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:134:28 [INFO] [stderr] | [INFO] [stderr] 134 | assert!(rx.poll().unwrap().is_not_ready()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::unbounded::UnboundedReceiver` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::bounded::Receiver<{integer}>` in the current scope [INFO] [stderr] --> benches/mpsc.rs:151:54 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(Async::Ready(Some(i)), rx.poll().unwrap()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::bounded::Receiver<[[usize; 64]; 64]>` in the current scope [INFO] [stderr] --> benches/mpsc.rs:164:45 [INFO] [stderr] | [INFO] [stderr] 164 | let _ = test::black_box(&rx.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver<[[usize; 64]; 64]>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `tokio_sync::mpsc::bounded::Receiver<{integer}>` in the current scope [INFO] [stderr] --> benches/mpsc.rs:180:54 [INFO] [stderr] | [INFO] [stderr] 180 | assert_eq!(Async::Ready(Some(i)), rx.poll().unwrap()); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `tokio_sync::mpsc::bounded::Receiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:213:25 [INFO] [stderr] | [INFO] [stderr] 213 | let rx = rx.wait().take(4 * 1_000); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver` [INFO] [stderr] [INFO] [stderr] error: aborting due to 53 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] error[E0599]: no method named `wait` found for type `tokio_sync::mpsc::bounded::Sender` in the current scope [INFO] [stderr] --> benches/mpsc.rs:241:37 [INFO] [stderr] | [INFO] [stderr] 241 | let mut tx = tx.wait(); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Sender` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `tokio_sync::mpsc::bounded::Receiver` in the current scope [INFO] [stderr] --> benches/mpsc.rs:258:25 [INFO] [stderr] | [INFO] [stderr] 258 | let rx = rx.wait().take(THREADS * ITERS); [INFO] [stderr] | ^^^^ method not found in `tokio_sync::mpsc::bounded::Receiver` [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 43 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [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" "aa56ee8c3054e7713efb7ea39f1f5863e8f60aa77a133b9ce0b2fec7d48fa09e"` [INFO] running `"docker" "rm" "-f" "aa56ee8c3054e7713efb7ea39f1f5863e8f60aa77a133b9ce0b2fec7d48fa09e"` [INFO] [stdout] aa56ee8c3054e7713efb7ea39f1f5863e8f60aa77a133b9ce0b2fec7d48fa09e