[INFO] fetching crate tokio 1.4.0... [INFO] checking tokio-1.4.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate tokio 1.4.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tokio 1.4.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 1.4.0 [INFO] finished tweaking crates.io crate tokio 1.4.0 [INFO] tweaked toml for crates.io crate tokio 1.4.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6360036f84de36d9208aa3f173414afc2edbf2c579ca56efeef2d7cd32970225 [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" "6360036f84de36d9208aa3f173414afc2edbf2c579ca56efeef2d7cd32970225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6360036f84de36d9208aa3f173414afc2edbf2c579ca56efeef2d7cd32970225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6360036f84de36d9208aa3f173414afc2edbf2c579ca56efeef2d7cd32970225", kill_on_drop: false }` [INFO] [stdout] 6360036f84de36d9208aa3f173414afc2edbf2c579ca56efeef2d7cd32970225 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbcdfde5ded261ce14796f38d7561ecdbaef6f7b84e7768a31c1095559fb68d8 [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" "cbcdfde5ded261ce14796f38d7561ecdbaef6f7b84e7768a31c1095559fb68d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [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.7.3 [INFO] [stderr] Checking rand v0.8.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.14 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking tokio-test v0.4.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [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[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 imports `tokio::sync::mpsc`, `tokio::sync::oneshot` [INFO] [stdout] --> tests/macros_select.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::{mpsc, oneshot}; [INFO] [stdout] | ^^^^ ^^^^^^^ no `oneshot` in `sync` [INFO] [stdout] | | [INFO] [stdout] | no `mpsc` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::time` [INFO] [stdout] --> tests/macros_select.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | use tokio::time::Duration; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::time`, `tokio::time` [INFO] [stdout] --> tests/macros_select.rs:360:16 [INFO] [stdout] | [INFO] [stdout] 360 | use tokio::time::{self, Duration}; [INFO] [stdout] | ^^^^ ^^^^ no `time` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::task::yield_now` [INFO] [stdout] --> tests/macros_select.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | use tokio::task::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `yield_now` in `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let res = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let res = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let v = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let res = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 230 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 286 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [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[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:358:10 [INFO] [stdout] | [INFO] [stdout] 358 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | let num = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:445:10 [INFO] [stdout] | [INFO] [stdout] 445 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:447:20 [INFO] [stdout] | [INFO] [stdout] 447 | let t = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:485:10 [INFO] [stdout] | [INFO] [stdout] 485 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:494:20 [INFO] [stdout] | [INFO] [stdout] 494 | let v = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:509:10 [INFO] [stdout] | [INFO] [stdout] 509 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:522:16 [INFO] [stdout] | [INFO] [stdout] 522 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [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[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | tokio::time::sleep(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/macros_select.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_now` in module `task` [INFO] [stdout] --> tests/macros_select.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ not found in `task` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::yield_now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_now` in module `task` [INFO] [stdout] --> tests/macros_select.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ not found in `task` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::yield_now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_now` in module `task` [INFO] [stdout] --> tests/macros_select.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ not found in `task` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::yield_now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macros_select.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::{mpsc, 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[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/macros_select.rs:464:50 [INFO] [stdout] | [INFO] [stdout] 464 | tokio::time::sleep(Duration::from_millis(10)).await; [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/macros_select.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | tokio::time::sleep(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_pin.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> tests/macros_select.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 521 | / loop { [INFO] [stdout] 522 | | tokio::select! { [INFO] [stdout] 523 | | biased; [INFO] [stdout] 524 | | [INFO] [stdout] ... | [INFO] [stdout] 538 | | } [INFO] [stdout] 539 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 540 | [INFO] [stdout] 541 | assert_eq!(count, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0603, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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 `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[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" "cbcdfde5ded261ce14796f38d7561ecdbaef6f7b84e7768a31c1095559fb68d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbcdfde5ded261ce14796f38d7561ecdbaef6f7b84e7768a31c1095559fb68d8", kill_on_drop: false }` [INFO] [stdout] cbcdfde5ded261ce14796f38d7561ecdbaef6f7b84e7768a31c1095559fb68d8