[INFO] fetching crate tokio 0.3.4... [INFO] checking tokio-0.3.4 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate tokio 0.3.4 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tokio 0.3.4 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 0.3.4 [INFO] finished tweaking crates.io crate tokio 0.3.4 [INFO] tweaked toml for crates.io crate tokio 0.3.4 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 409e1873e3ef8bc95dc6943ee077d3603518e4e228bef1fb22e889e81dc724ce [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" "409e1873e3ef8bc95dc6943ee077d3603518e4e228bef1fb22e889e81dc724ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "409e1873e3ef8bc95dc6943ee077d3603518e4e228bef1fb22e889e81dc724ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "409e1873e3ef8bc95dc6943ee077d3603518e4e228bef1fb22e889e81dc724ce", kill_on_drop: false }` [INFO] [stdout] 409e1873e3ef8bc95dc6943ee077d3603518e4e228bef1fb22e889e81dc724ce [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e2ca6bf31c8c8ba8b2a49aefc423bfe7f352f0bcdf5ad6654615b37e3019d91 [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" "1e2ca6bf31c8c8ba8b2a49aefc423bfe7f352f0bcdf5ad6654615b37e3019d91", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [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] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v0.3.5 [INFO] [stderr] Compiling tokio v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking getrandom v0.1.15 [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_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-test v0.3.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [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[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_pending.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_pending.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] [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::stream` [INFO] [stdout] --> tests/stream_iter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream; [INFO] [stdout] | ^^^^^^^^^^^^^ no `stream` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_iter.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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[E0432]: unresolved import `tokio::stream` [INFO] [stdout] --> tests/stream_fuse.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_fuse.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:240:64 [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:249:68 [INFO] [stdout] | [INFO] [stdout] 249 | 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:255:68 [INFO] [stdout] | [INFO] [stdout] 255 | 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:262:68 [INFO] [stdout] | [INFO] [stdout] 262 | 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:271:72 [INFO] [stdout] | [INFO] [stdout] 271 | 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:287:72 [INFO] [stdout] | [INFO] [stdout] 287 | 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:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | 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:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 227 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 227 | use crate::macros::support::Poll; [INFO] [stdout] | [INFO] [stdout] 227 | use futures::task::Poll; [INFO] [stdout] | [INFO] [stdout] 227 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_next` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_iter.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | if stream.poll_next().is_pending() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `stream` 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 `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_iter.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(stream.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `stream` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [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" "1e2ca6bf31c8c8ba8b2a49aefc423bfe7f352f0bcdf5ad6654615b37e3019d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2ca6bf31c8c8ba8b2a49aefc423bfe7f352f0bcdf5ad6654615b37e3019d91", kill_on_drop: false }` [INFO] [stdout] 1e2ca6bf31c8c8ba8b2a49aefc423bfe7f352f0bcdf5ad6654615b37e3019d91