[INFO] fetching crate tokio-sync 0.2.0-alpha.4... [INFO] checking tokio-sync-0.2.0-alpha.4 against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] extracting crate tokio-sync 0.2.0-alpha.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tokio-sync 0.2.0-alpha.4 on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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 /workspace/builds/worker-13/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] fb8da2dd11ba20ceca9aa9f14e7b68ee2d10ef06aaa1b9b5305d02f9905af748 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "fb8da2dd11ba20ceca9aa9f14e7b68ee2d10ef06aaa1b9b5305d02f9905af748"` [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: 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] 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] --> benches/mpsc.rs:10:9 [INFO] [stderr] [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: 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[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 `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 `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[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: 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[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[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] 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] 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] [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] = note: import resolution is stuck, try simplifying macro imports [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: 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] = note: import resolution is stuck, try simplifying macro imports [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] = 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/semaphore.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | assert_pending!(permit.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_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] [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] [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] | [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: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] 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] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/semaphore.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | assert_ready_ok!(t2.enter(|cx| permit2.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_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] = 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/semaphore.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 132 | assert_pending!(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: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: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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] 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_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] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/oneshot.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | use futures::sync::oneshot; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/oneshot.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::{future, Async, Future}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/oneshot.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | use futures::Async::Ready; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/oneshot.rs:174:17 [INFO] [stderr] | [INFO] [stderr] 174 | use futures::Async::Ready; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/oneshot.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | use futures::{future, Async, Future}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/oneshot.rs:131:40 [INFO] [stderr] | [INFO] [stderr] 131 | let _ = ::test::black_box(&oneshot::channel::()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/oneshot.rs:138:32 [INFO] [stderr] | [INFO] [stderr] 138 | let (tx, mut rx) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/oneshot.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | let (tx, mut rx) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [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[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/oneshot.rs:190:28 [INFO] [stderr] | [INFO] [stderr] 190 | let (tx, rx) = oneshot::channel::<()>(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/oneshot.rs:195:28 [INFO] [stderr] | [INFO] [stderr] 195 | let (tx, rx) = oneshot::channel::<()>(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Ready` in this scope [INFO] [stderr] --> benches/oneshot.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | Ok(Ready(v)) => return Ok(v), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 7 | use core::task::Poll::Ready; [INFO] [stderr] | [INFO] [stderr] 7 | use futures_core::Poll::Ready; [INFO] [stderr] | [INFO] [stderr] 7 | use futures_util::core_reexport::task::Poll::Ready; [INFO] [stderr] | [INFO] [stderr] 7 | use std::task::Poll::Ready; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Ready` in this scope [INFO] [stderr] --> benches/oneshot.rs:177:24 [INFO] [stderr] | [INFO] [stderr] 177 | Ok(Ready(v)) => return Ok(v), [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] 124 | use core::task::Poll::Ready; [INFO] [stderr] | [INFO] [stderr] 124 | use futures_core::Poll::Ready; [INFO] [stderr] | [INFO] [stderr] 124 | use futures_util::core_reexport::task::Poll::Ready; [INFO] [stderr] | [INFO] [stderr] 124 | use std::task::Poll::Ready; [INFO] [stderr] | [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: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0531. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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[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: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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: aborting due to 43 previous errors [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/watch.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] [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[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[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/watch.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/watch.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | let v = assert_ready!(t.poll()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/watch.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | assert_pending!(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/watch.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | let v = assert_ready!(t.poll()).unwrap(); [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/watch.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | assert_pending!(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/watch.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | let res = 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/watch.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | let v = assert_ready!(t.poll()).unwrap(); [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/watch.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | assert_pending!(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/watch.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | let v = assert_ready!(t.poll()).unwrap(); [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/watch.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_pending!(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/watch.rs:94:19 [INFO] [stderr] | [INFO] [stderr] 94 | let res = 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/watch.rs:146:19 [INFO] [stderr] | [INFO] [stderr] 146 | let res = 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_ready` [INFO] [stderr] --> tests/watch.rs:149:19 [INFO] [stderr] | [INFO] [stderr] 149 | let res = assert_ready!(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_pending` [INFO] [stderr] --> tests/watch.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | assert_pending!(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/watch.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | 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/watch.rs:166:19 [INFO] [stderr] | [INFO] [stderr] 166 | let res = 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/watch.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | assert_pending!(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_ready` [INFO] [stderr] --> tests/watch.rs:180:19 [INFO] [stderr] | [INFO] [stderr] 180 | let res = 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_ready` [INFO] [stderr] --> tests/watch.rs:183:19 [INFO] [stderr] | [INFO] [stderr] 183 | let res = assert_ready!(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_pending` [INFO] [stderr] --> tests/watch.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 193 | assert_pending!(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/watch.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | assert_pending!(t2.poll()); [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] = 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/watch.rs:198:19 [INFO] [stderr] | [INFO] [stderr] 198 | let res = 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/watch.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | assert_pending!(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_ready` [INFO] [stderr] --> tests/watch.rs:208:19 [INFO] [stderr] | [INFO] [stderr] 208 | let res = 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_ready` [INFO] [stderr] --> tests/watch.rs:211:19 [INFO] [stderr] | [INFO] [stderr] 211 | let res = assert_ready!(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/watch.rs:216:19 [INFO] [stderr] | [INFO] [stderr] 216 | let res = assert_ready!(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/watch.rs:230:19 [INFO] [stderr] | [INFO] [stderr] 230 | let res = 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_ready` [INFO] [stderr] --> tests/watch.rs:236:19 [INFO] [stderr] | [INFO] [stderr] 236 | let res = 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_ready` [INFO] [stderr] --> tests/watch.rs:248:19 [INFO] [stderr] | [INFO] [stderr] 248 | let res = 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/watch.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | assert_pending!(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_ready` [INFO] [stderr] --> tests/watch.rs:261:19 [INFO] [stderr] | [INFO] [stderr] 261 | let res = 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_ready` [INFO] [stderr] --> tests/watch.rs:267:19 [INFO] [stderr] | [INFO] [stderr] 267 | let res = 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/watch.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | assert_pending!(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/watch.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | assert_ready!(t.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [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 `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] 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[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/mpsc.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[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> tests/watch.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | let mut t = spawn(rx.recv_ref()); [INFO] [stderr] | ^^^^^ not found in this scope [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] 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/watch.rs:40:21 [INFO] [stderr] | [INFO] [stderr] 40 | let mut t = spawn(rx.recv_ref()); [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/watch.rs:53:21 [INFO] [stderr] | [INFO] [stderr] 53 | let mut t = spawn(rx.recv_ref()); [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/watch.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | let mut t = spawn(rx.recv()); [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/watch.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | let mut t = spawn(rx.recv()); [INFO] [stderr] | ^^^^^ not found in this scope [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::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> tests/watch.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | let mut t = spawn(rx.recv()); [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/watch.rs:143:22 [INFO] [stderr] | [INFO] [stderr] 143 | let mut t1 = spawn(rx1.recv_ref()); [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/watch.rs:144:22 [INFO] [stderr] | [INFO] [stderr] 144 | let mut t2 = spawn(rx2.recv_ref()); [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/watch.rs:153:18 [INFO] [stderr] | [INFO] [stderr] 153 | let mut t2 = spawn(rx2.recv_ref()); [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/watch.rs:156:22 [INFO] [stderr] | [INFO] [stderr] 156 | let mut t1 = spawn(rx1.recv_ref()); [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/watch.rs:171:22 [INFO] [stderr] | [INFO] [stderr] 171 | let mut t1 = spawn(rx1.recv_ref()); [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/watch.rs:190:22 [INFO] [stderr] | [INFO] [stderr] 190 | let mut t1 = spawn(rx1.recv_ref()); [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/watch.rs:191:22 [INFO] [stderr] | [INFO] [stderr] 191 | let mut t2 = spawn(rx2.recv_ref()); [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/watch.rs:202:22 [INFO] [stderr] | [INFO] [stderr] 202 | let mut t1 = spawn(rx1.recv_ref()); [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/watch.rs:215:22 [INFO] [stderr] | [INFO] [stderr] 215 | let mut t2 = spawn(rx2.recv_ref()); [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/watch.rs:229:22 [INFO] [stderr] | [INFO] [stderr] 229 | let mut t1 = spawn(rx.recv_ref()); [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/watch.rs:235:22 [INFO] [stderr] | [INFO] [stderr] 235 | let mut t1 = spawn(rx.recv_ref()); [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/watch.rs:247:22 [INFO] [stderr] | [INFO] [stderr] 247 | let mut t1 = spawn(rx.recv_ref()); [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/watch.rs:253:22 [INFO] [stderr] | [INFO] [stderr] 253 | let mut t1 = spawn(rx.recv_ref()); [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/watch.rs:266:22 [INFO] [stderr] | [INFO] [stderr] 266 | let mut t1 = spawn(rx.recv_ref()); [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/watch.rs:277:21 [INFO] [stderr] | [INFO] [stderr] 277 | let mut t = spawn(tx.closed()); [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] 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[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] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/mpsc.rs:5:5 [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/mpsc.rs:41:3 [INFO] [stderr] | [INFO] [stderr] 41 | #[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/mpsc.rs:154:3 [INFO] [stderr] | [INFO] [stderr] 154 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/mpsc.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | assert_ready_ok!(t1.enter(|cx| tx.poll_ready(cx))); [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/mpsc.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | let val = assert_ready!(t2.enter(|cx| rx.poll_recv(cx))); [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/mpsc.rs:34:15 [INFO] [stderr] | [INFO] [stderr] 34 | let val = assert_ready!(t2.enter(|cx| rx.poll_recv(cx))); [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/mpsc.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | let val = assert_ready!(t2.enter(|cx| rx.poll_recv(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | assert_ok!(tx.send(1).await); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | assert_ok!(tx.send(2).await); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | assert_ok!(tx1.try_send(())); [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/mpsc.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | assert_pending!(tx1.poll_ready(cx)); [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/mpsc.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | assert_pending!(tx2.poll_ready(cx)); [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/mpsc.rs:114:29 [INFO] [stderr] | [INFO] [stderr] 114 | let val = t3.enter(|cx| assert_ready!(rx.poll_recv(cx))); [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/mpsc.rs:122:29 [INFO] [stderr] | [INFO] [stderr] 122 | let val = t3.enter(|cx| assert_ready!(rx.poll_recv(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | assert_ok!(tx.try_send(1)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | assert_ok!(tx.try_send(2)); [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/mpsc.rs:142:15 [INFO] [stderr] | [INFO] [stderr] 142 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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/mpsc.rs:145:15 [INFO] [stderr] | [INFO] [stderr] 145 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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/mpsc.rs:150:15 [INFO] [stderr] | [INFO] [stderr] 150 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | assert_ok!(tx.try_send(1)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | assert_ok!(tx.try_send(2)); [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/mpsc.rs:220:15 [INFO] [stderr] | [INFO] [stderr] 220 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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/mpsc.rs:238:15 [INFO] [stderr] | [INFO] [stderr] 238 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | assert_ready_ok!(tx.poll_ready(cx)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | assert_ok!(tx.try_send(1)); [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/mpsc.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | assert_pending!(tx.poll_ready(cx)); [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_err` [INFO] [stderr] --> tests/mpsc.rs:260:9 [INFO] [stderr] | [INFO] [stderr] 260 | assert_err!(tx.try_send(1337)); [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/mpsc.rs:265:19 [INFO] [stderr] | [INFO] [stderr] 265 | let val = assert_ready!(rx.poll_recv(cx)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | assert_ready_ok!(tx.poll_ready(cx)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:274:9 [INFO] [stderr] | [INFO] [stderr] 274 | assert_ok!(tx.try_send(2)); [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/mpsc.rs:277:9 [INFO] [stderr] | [INFO] [stderr] 277 | assert_pending!(tx.poll_ready(cx)); [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/mpsc.rs:282:19 [INFO] [stderr] | [INFO] [stderr] 282 | let val = assert_ready!(rx.poll_recv(cx)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:287:9 [INFO] [stderr] | [INFO] [stderr] 287 | assert_ready_ok!(tx.poll_ready(cx)); [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/mpsc.rs:300:19 [INFO] [stderr] | [INFO] [stderr] 300 | let val = assert_ready!(rx.poll_recv(cx)); [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/mpsc.rs:302:9 [INFO] [stderr] | [INFO] [stderr] 302 | assert_ready_err!(tx.poll_ready(cx)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:315:5 [INFO] [stderr] | [INFO] [stderr] 315 | assert_ready_ok!(t1.enter(|cx| tx1.poll_ready(cx))); [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/mpsc.rs:318:9 [INFO] [stderr] | [INFO] [stderr] 318 | assert_pending!(tx2.poll_ready(cx)); [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/mpsc.rs:326:9 [INFO] [stderr] | [INFO] [stderr] 326 | assert_ready_err!(tx2.poll_ready(cx)); [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/mpsc.rs:329:19 [INFO] [stderr] | [INFO] [stderr] 329 | t3.enter(|cx| assert_pending!(rx.poll_recv(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:334:5 [INFO] [stderr] | [INFO] [stderr] 334 | assert_ok!(tx1.try_send(123)); [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/mpsc.rs:339:17 [INFO] [stderr] | [INFO] [stderr] 339 | let v = assert_ready!(rx.poll_recv(cx)); [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/mpsc.rs:342:17 [INFO] [stderr] | [INFO] [stderr] 342 | let v = assert_ready!(rx.poll_recv(cx)); [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/mpsc.rs:355:17 [INFO] [stderr] | [INFO] [stderr] 355 | let v = assert_ready!(rx.poll_recv(cx)); [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_err` [INFO] [stderr] --> tests/mpsc.rs:369:15 [INFO] [stderr] | [INFO] [stderr] 369 | let err = assert_err!(tx.try_send("fail")); [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/mpsc.rs:372:15 [INFO] [stderr] | [INFO] [stderr] 372 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:375:5 [INFO] [stderr] | [INFO] [stderr] 375 | assert_ok!(tx.try_send("goodbye")); [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/mpsc.rs:378:15 [INFO] [stderr] | [INFO] [stderr] 378 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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/mpsc.rs:381:15 [INFO] [stderr] | [INFO] [stderr] 381 | let val = assert_ready!(t1.enter(|cx| rx.poll_recv(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:395:5 [INFO] [stderr] | [INFO] [stderr] 395 | assert_ready_ok!(t1.enter(|cx| tx1.poll_ready(cx))); [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/mpsc.rs:398:9 [INFO] [stderr] | [INFO] [stderr] 398 | assert_pending!(tx2.poll_ready(cx)); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:405:5 [INFO] [stderr] | [INFO] [stderr] 405 | assert_ready_ok!(t2.enter(|cx| tx2.poll_ready(cx))); [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_ok` [INFO] [stderr] --> tests/mpsc.rs:415:5 [INFO] [stderr] | [INFO] [stderr] 415 | assert_ok!(tx.try_send(msg.clone())); [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/mpsc.rs:418:5 [INFO] [stderr] | [INFO] [stderr] 418 | assert_ready_err!(t1.enter(|cx| tx.poll_ready(cx))); [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_err` [INFO] [stderr] --> tests/mpsc.rs:433:19 [INFO] [stderr] | [INFO] [stderr] 433 | let err = assert_err!(tx.try_send(msg.clone())); [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/mpsc.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | 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/mpsc.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | 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 `tokio` [INFO] [stderr] --> tests/mpsc.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | 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/mpsc.rs:95:18 [INFO] [stderr] | [INFO] [stderr] 95 | 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/mpsc.rs:96:18 [INFO] [stderr] | [INFO] [stderr] 96 | 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/mpsc.rs:97:18 [INFO] [stderr] | [INFO] [stderr] 97 | 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/mpsc.rs:134:18 [INFO] [stderr] | [INFO] [stderr] 134 | 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 `tokio` [INFO] [stderr] --> tests/mpsc.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | 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/mpsc.rs:210:18 [INFO] [stderr] | [INFO] [stderr] 210 | 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/mpsc.rs:228:18 [INFO] [stderr] | [INFO] [stderr] 228 | 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/mpsc.rs:244:18 [INFO] [stderr] | [INFO] [stderr] 244 | 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/mpsc.rs:245:18 [INFO] [stderr] | [INFO] [stderr] 245 | 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/mpsc.rs:293:18 [INFO] [stderr] | [INFO] [stderr] 293 | 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/mpsc.rs:308:18 [INFO] [stderr] | [INFO] [stderr] 308 | 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/mpsc.rs:309:18 [INFO] [stderr] | [INFO] [stderr] 309 | 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/mpsc.rs:310:18 [INFO] [stderr] | [INFO] [stderr] 310 | 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/mpsc.rs:349:18 [INFO] [stderr] | [INFO] [stderr] 349 | 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/mpsc.rs:362:18 [INFO] [stderr] | [INFO] [stderr] 362 | 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/mpsc.rs:387:18 [INFO] [stderr] | [INFO] [stderr] 387 | 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/mpsc.rs:388:18 [INFO] [stderr] | [INFO] [stderr] 388 | 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/mpsc.rs:410:18 [INFO] [stderr] | [INFO] [stderr] 410 | let mut t1 = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [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[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`, referring to it in a field, 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`, referring to it in a field, 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: aborting due to 56 previous errors [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] [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[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | let (mut tx, mut rx) = mpsc::channel(16); [INFO] [stderr] | ^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | let (mut tx, mut rx) = mpsc::channel(16); [INFO] [stderr] | ^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^ cannot infer type for `{integer}` [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | let (mut tx, mut rx) = mpsc::unbounded_channel(); [INFO] [stderr] | ^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:156:18 [INFO] [stderr] | [INFO] [stderr] 156 | let (mut tx, mut rx) = mpsc::unbounded_channel(); [INFO] [stderr] | ^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:163:16 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:163:21 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:163:16 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | assert_eq!(Some(1), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] error: could not compile `tokio-sync`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:164:16 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:164:21 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:164:16 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(Some(2), rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:165:16 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/mpsc.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(None, rx.recv().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 118 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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" "fb8da2dd11ba20ceca9aa9f14e7b68ee2d10ef06aaa1b9b5305d02f9905af748"` [INFO] running `"docker" "rm" "-f" "fb8da2dd11ba20ceca9aa9f14e7b68ee2d10ef06aaa1b9b5305d02f9905af748"` [INFO] [stdout] fb8da2dd11ba20ceca9aa9f14e7b68ee2d10ef06aaa1b9b5305d02f9905af748