[INFO] fetching crate tokio 1.3.0... [INFO] checking tokio-1.3.0 against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] extracting crate tokio 1.3.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tokio 1.3.0 on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 1.3.0 [INFO] finished tweaking crates.io crate tokio 1.3.0 [INFO] tweaked toml for crates.io crate tokio 1.3.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bd47b440bf07a0f51d0dc27a64c172e9887db33dbd6640aad92a6fb885ab8e5 [INFO] running `Command { std: "docker" "start" "-a" "0bd47b440bf07a0f51d0dc27a64c172e9887db33dbd6640aad92a6fb885ab8e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bd47b440bf07a0f51d0dc27a64c172e9887db33dbd6640aad92a6fb885ab8e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd47b440bf07a0f51d0dc27a64c172e9887db33dbd6640aad92a6fb885ab8e5", kill_on_drop: false }` [INFO] [stdout] 0bd47b440bf07a0f51d0dc27a64c172e9887db33dbd6640aad92a6fb885ab8e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a37261dc24444c35c2c2d2cef969fd4a15e63fc733caa32ac0ee4a1c228daf0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8a37261dc24444c35c2c2d2cef969fd4a15e63fc733caa32ac0ee4a1c228daf0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking tokio-stream v0.1.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking tokio-test v0.4.1 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/net_lookup_host.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/net_lookup_host.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/net_lookup_host.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sync::AtomicWaker` [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sync::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `AtomicWaker` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sync::batch_semaphore` [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sync::batch_semaphore::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `batch_semaphore` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let actual = assert_ok!(net::lookup_host(addr).await).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let actual = assert_ok!(net::lookup_host("127.0.0.1:8000").await).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let mut hosts = net::lookup_host("localhost:3000").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:225:64 [INFO] [stdout] | [INFO] [stdout] 225 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:234:68 [INFO] [stdout] | [INFO] [stdout] 234 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:240:68 [INFO] [stdout] | [INFO] [stdout] 240 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:247:68 [INFO] [stdout] | [INFO] [stdout] 247 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:256:72 [INFO] [stdout] | [INFO] [stdout] 256 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:272:72 [INFO] [stdout] | [INFO] [stdout] 272 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | let coop = ready!(poll_proceed(cx)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/coop.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 212 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 212 | use crate::macros::support::Poll; [INFO] [stdout] | [INFO] [stdout] 212 | use futures::task::Poll; [INFO] [stdout] | [INFO] [stdout] 212 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: run main Tokio tests with `--features full` [INFO] [stdout] --> tests/_require_full.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("run main Tokio tests with `--features full`"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stdout] --> tests/macros_try_join.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let foo = tokio::try_join!(async { ok(1) },); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let foo = tokio::try_join!(async { ok(1) }); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let foo = tokio::try_join!(async { ok(1) }, async { ok(2) },); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let foo = tokio::try_join!(async { ok(1) }, async { ok(2) }); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | task::spawn(async { tokio::try_join!(async { rx1.await }, async { rx2.await }) }); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | tokio::try_join!(async { rx1.await }, async { rx2.await }, async { [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | tokio::try_join!(ready) [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | tokio::try_join!(ready1, ready2) [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macros_try_join.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stdout] --> tests/macros_join.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let foo = tokio::join!(async { 1 },); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let foo = tokio::join!(async { 1 }); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let foo = tokio::join!(async { 1 }, async { 2 },); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let foo = tokio::join!(async { 1 }, async { 2 }); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::join!(async { rx1.await.unwrap() }, async { rx2.await.unwrap() }) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | tokio::join!(ready) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | tokio::join!(ready1, ready2) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macros_join.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `enter` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | waker.enter(|cx, waker| waker.register_by_ref(cx.waker())); [INFO] [stdout] | ^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `waker` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wake` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | waker.wake(); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `waker` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(waker.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `waker` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wake` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | waker.wake(); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `waker` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `enter` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | waker.enter(|cx, waker| waker.register_by_ref(cx.waker())); [INFO] [stdout] | ^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `waker` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(!waker.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `waker` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | assert_ready_ok!(task::spawn(s.acquire(5)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(5))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | assert_ready_ok!(task::spawn(s.acquire(5)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(5))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | assert_pending!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | assert!(acquire_2.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | assert_ready_ok!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:80:48 [INFO] [stdout] | [INFO] [stdout] 80 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | assert_pending!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | assert_pending!(acquire_3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(acquire_2.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ready_ok!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(!acquire_3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | assert!(!acquire_3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(acquire_3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | assert_ready_ok!(acquire_3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire_3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | assert_pending!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | assert!(acquire.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | assert_ready_ok!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:182:49 [INFO] [stdout] | [INFO] [stdout] 182 | assert_ready_err!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ready_err!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | assert_pending!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | assert!(acquire.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ready_err!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:208:48 [INFO] [stdout] | [INFO] [stdout] 208 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | assert_pending!(acquire3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | assert_pending!(acquire4.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire4` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 217 | assert!(acquire3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | assert!(acquire4.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire4` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | assert_ready_err!(acquire3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | assert_ready_err!(acquire4.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire4` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:229:49 [INFO] [stdout] | [INFO] [stdout] 229 | assert_ready_err!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `task::spawn(s.acquire(1))` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | assert_pending!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `acquire` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8a37261dc24444c35c2c2d2cef969fd4a15e63fc733caa32ac0ee4a1c228daf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a37261dc24444c35c2c2d2cef969fd4a15e63fc733caa32ac0ee4a1c228daf0", kill_on_drop: false }` [INFO] [stdout] 8a37261dc24444c35c2c2d2cef969fd4a15e63fc733caa32ac0ee4a1c228daf0