[INFO] fetching crate tokio 1.19.2... [INFO] checking tokio-1.19.2 against master#10f4ce324baf7cfb7ce2b2096662b82b79204944 for pr-98370-1 [INFO] extracting crate tokio 1.19.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tokio 1.19.2 on toolchain 10f4ce324baf7cfb7ce2b2096662b82b79204944 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+10f4ce324baf7cfb7ce2b2096662b82b79204944" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 1.19.2 [INFO] finished tweaking crates.io crate tokio 1.19.2 [INFO] tweaked toml for crates.io crate tokio 1.19.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+10f4ce324baf7cfb7ce2b2096662b82b79204944" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+10f4ce324baf7cfb7ce2b2096662b82b79204944" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fragile v1.2.1 [INFO] [stderr] Downloaded mio v0.8.4 [INFO] [stderr] Downloaded mockall v0.11.1 [INFO] [stderr] Downloaded mio-aio v0.6.0 [INFO] [stderr] Downloaded mockall_derive v0.11.1 [INFO] [stderr] Downloaded tokio-test v0.4.2 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+10f4ce324baf7cfb7ce2b2096662b82b79204944" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6eea6bfb8f0196aec943a1d2d652462c20f341c09d91354f6c07283a5e86777e [INFO] running `Command { std: "docker" "start" "-a" "6eea6bfb8f0196aec943a1d2d652462c20f341c09d91354f6c07283a5e86777e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eea6bfb8f0196aec943a1d2d652462c20f341c09d91354f6c07283a5e86777e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eea6bfb8f0196aec943a1d2d652462c20f341c09d91354f6c07283a5e86777e", kill_on_drop: false }` [INFO] [stdout] 6eea6bfb8f0196aec943a1d2d652462c20f341c09d91354f6c07283a5e86777e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+10f4ce324baf7cfb7ce2b2096662b82b79204944" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb438ea919274bd76227f08c812b59c15cfce25b4797a6847b1b5b976f74201a [INFO] running `Command { std: "docker" "start" "-a" "fb438ea919274bd76227f08c812b59c15cfce25b4797a6847b1b5b976f74201a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking fragile v1.2.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking tokio v1.19.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stderr] Checking mockall v0.11.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [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::Notify` [INFO] [stdout] --> src/sync/tests/notify.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sync::Notify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Notify` 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[E0433]: failed to resolve: could not find `watch` in `sync` [INFO] [stdout] --> src/sync/tests/notify.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | let (tx, mut rx) = crate::sync::watch::channel(()); [INFO] [stdout] | ^^^^^ could not find `watch` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/coop.rs:224:64 [INFO] [stdout] | [INFO] [stdout] 224 | 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:233:68 [INFO] [stdout] | [INFO] [stdout] 233 | 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:239:68 [INFO] [stdout] | [INFO] [stdout] 239 | 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:246:68 [INFO] [stdout] | [INFO] [stdout] 246 | 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:72 [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: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:276:35 [INFO] [stdout] | [INFO] [stdout] 276 | 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:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 208 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 208 | use crate::macros::support::Poll; [INFO] [stdout] | [INFO] [stdout] 208 | use futures::task::Poll; [INFO] [stdout] | [INFO] [stdout] 208 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `runtime` in the crate root [INFO] [stdout] --> src/sync/tests/notify.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let rt = crate::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^^^ not found in `crate::runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::loom::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 68 - let rt = crate::runtime::Builder::new_current_thread() [INFO] [stdout] 68 + let rt = Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in the crate root [INFO] [stdout] --> src/sync/tests/notify.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | crate::spawn(async move { [INFO] [stdout] | ^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::loom::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] help: if you import `spawn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - crate::spawn(async move { [INFO] [stdout] 75 + spawn(async move { [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:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | 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: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | waker.wake(); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [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:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(waker.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | waker.wake(); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [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:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | 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: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | assert!(!waker.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/sync/tests/notify.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let notify2 = notify.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `notified` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/sync/tests/notify.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let future = notify.notified(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/sync/tests/notify.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let _ = future.poll(&mut cx); [INFO] [stdout] | ^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `notify_one` found for struct `ManuallyDrop<_>` in the current scope [INFO] [stdout] --> src/sync/tests/notify.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | arc.notify_one(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `ManuallyDrop<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `ManuallyDrop<_>` in the current scope [INFO] [stdout] --> src/sync/tests/notify.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | let _arc_clone: ManuallyDrop<_> = arc.clone(); [INFO] [stdout] | ^^^^^ method not found in `ManuallyDrop<_>` [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/notify.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(fut1.poll().is_pending()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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/notify.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(fut2.poll().is_pending()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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/notify.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(fut1.poll().is_ready()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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/notify.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(fut2.poll().is_ready()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | assert_ready_ok!(task::spawn(s.acquire(5)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | assert_pending!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | assert!(acquire_2.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | assert_ready_ok!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | assert_pending!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | assert_pending!(acquire_3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:23 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(acquire_2.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | assert_ready_ok!(acquire_2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(!acquire_3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(!acquire_3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(acquire_3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | assert_ready_ok!(acquire_3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | assert_pending!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | assert!(acquire.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | assert_ready_ok!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | assert_ready_err!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:189:49 [INFO] [stdout] | [INFO] [stdout] 189 | assert_ready_err!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | assert_pending!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | assert!(acquire.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | assert_ready_err!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:211:48 [INFO] [stdout] | [INFO] [stdout] 211 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:48 [INFO] [stdout] | [INFO] [stdout] 212 | assert_ready_ok!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | assert_pending!(acquire3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | assert_pending!(acquire4.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | assert!(acquire3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | assert!(acquire4.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | assert_ready_err!(acquire3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | assert_ready_err!(acquire4.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:233:49 [INFO] [stdout] | [INFO] [stdout] 233 | assert_ready_err!(task::spawn(s.acquire(1)).poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [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:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | assert_pending!(acquire.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `tokio_test::task::Spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/sync/tests/notify.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors; 1 warning emitted [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: could not compile `tokio` due to 64 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fb438ea919274bd76227f08c812b59c15cfce25b4797a6847b1b5b976f74201a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb438ea919274bd76227f08c812b59c15cfce25b4797a6847b1b5b976f74201a", kill_on_drop: false }` [INFO] [stdout] fb438ea919274bd76227f08c812b59c15cfce25b4797a6847b1b5b976f74201a