[INFO] fetching crate futures-test 0.3.31... [INFO] testing futures-test-0.3.31 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate futures-test 0.3.31 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate futures-test 0.3.31 [INFO] finished tweaking crates.io crate futures-test 0.3.31 [INFO] tweaked toml for crates.io crate futures-test 0.3.31 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate futures-test 0.3.31 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e362784f73dbadddcd737b155e935f14a620374a390137417104e6eaea012d3 [INFO] running `Command { std: "docker" "start" "-a" "4e362784f73dbadddcd737b155e935f14a620374a390137417104e6eaea012d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e362784f73dbadddcd737b155e935f14a620374a390137417104e6eaea012d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e362784f73dbadddcd737b155e935f14a620374a390137417104e6eaea012d3", kill_on_drop: false }` [INFO] [stdout] 4e362784f73dbadddcd737b155e935f14a620374a390137417104e6eaea012d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e893b4836a307dbef327043ec84ae78442431e0d23d5072d3e6bf47b2f6da1d [INFO] running `Command { std: "docker" "start" "-a" "9e893b4836a307dbef327043ec84ae78442431e0d23d5072d3e6bf47b2f6da1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-test v0.3.31 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.78s [INFO] running `Command { std: "docker" "inspect" "9e893b4836a307dbef327043ec84ae78442431e0d23d5072d3e6bf47b2f6da1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e893b4836a307dbef327043ec84ae78442431e0d23d5072d3e6bf47b2f6da1d", kill_on_drop: false }` [INFO] [stdout] 9e893b4836a307dbef327043ec84ae78442431e0d23d5072d3e6bf47b2f6da1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 009c93f407189b7506a757a5009c24e832bcd1817a1c78bca38b3ebf976de35f [INFO] running `Command { std: "docker" "start" "-a" "009c93f407189b7506a757a5009c24e832bcd1817a1c78bca38b3ebf976de35f", kill_on_drop: false }` [INFO] [stderr] Compiling futures-test v0.3.31 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "009c93f407189b7506a757a5009c24e832bcd1817a1c78bca38b3ebf976de35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009c93f407189b7506a757a5009c24e832bcd1817a1c78bca38b3ebf976de35f", kill_on_drop: false }` [INFO] [stdout] 009c93f407189b7506a757a5009c24e832bcd1817a1c78bca38b3ebf976de35f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c83f1c2726cd8ef507abb6fa6672c3453e10b359966d76c3255567a0c4ba284 [INFO] running `Command { std: "docker" "start" "-a" "0c83f1c2726cd8ef507abb6fa6672c3453e10b359966d76c3255567a0c4ba284", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/futures_test-043f808c892139d5) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test assert_unmoved::tests::dont_panic_when_not_polled ... ok [INFO] [stdout] test assert_unmoved::tests::assert_send_sync ... ok [INFO] [stdout] test assert_unmoved::tests::dont_double_panic - should panic ... ok [INFO] [stdout] test task::panic_waker::tests::issue_2091_cross_thread_segfault - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests futures_test [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 61) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::pending_once (line 34) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::interleave_pending (line 86) ... FAILED [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 95) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_stream_done (line 89) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_stream_next (line 45) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 105) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_stream_pending (line 11) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 72) ... FAILED [INFO] [stdout] test src/sink/mod.rs - sink::SinkTestExt::track_closed (line 39) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 32) ... FAILED [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 31) ... FAILED [INFO] [stdout] test src/task/context.rs - task::context::noop_context (line 24) ... FAILED [INFO] [stdout] test src/stream/mod.rs - stream::StreamTestExt::interleave_pending (line 30) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::run_in_background (line 60) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 121) ... FAILED [INFO] [stdout] test src/sink/mod.rs - sink::SinkTestExt::track_closed (line 61) ... FAILED [INFO] [stdout] test src/task/noop_spawner.rs - task::noop_spawner::NoopSpawner (line 8) ... FAILED [INFO] [stdout] test src/task/noop_spawner.rs - task::noop_spawner::noop_spawner_mut (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - test (line 71) ... ok [INFO] [stdout] test src/lib.rs - test (line 61) ... ok [INFO] [stdout] test src/task/context.rs - task::context::panic_context (line 9) ... ok [INFO] [stdout] test src/task/panic_spawner.rs - task::panic_spawner::PanicSpawner (line 8) ... FAILED [INFO] [stdout] test src/task/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) ... FAILED [INFO] [stdout] test src/task/panic_spawner.rs - task::panic_spawner::panic_spawner_mut (line 44) ... FAILED [INFO] [stdout] test src/task/wake_counter.rs - task::wake_counter::new_count_waker (line 44) ... ok [INFO] [stdout] test src/task/panic_waker.rs - task::panic_waker::panic_waker (line 29) ... ok [INFO] [stdout] test src/task/panic_waker.rs - task::panic_waker::panic_waker_ref (line 46) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/read/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/read/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::io::{AsyncBufRead, Cursor}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/io/read/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/mod.rs - future::FutureTestExt::pending_once (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/future/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/future/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_unpin` found for struct `PendingOnce` in the current scope [INFO] [stdout] --> src/future/mod.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(future.poll_unpin(&mut cx), Poll::Pending); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PendingOnce<{async block@src/future/mod.rs:10:15: 10:20}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/mod.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll [INFO] [stdout] | ---------- the method is available for `PendingOnce<{async block@src/future/mod.rs:10:15: 10:20}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FutureExt` which provides `poll_unpin` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures_util::future::future::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_unpin` found for struct `PendingOnce` in the current scope [INFO] [stdout] --> src/future/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(future.poll_unpin(&mut cx), Poll::Ready(5)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PendingOnce<{async block@src/future/mod.rs:10:15: 10:20}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/mod.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll [INFO] [stdout] | ---------- the method is available for `PendingOnce<{async block@src/future/mod.rs:10:15: 10:20}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FutureExt` which provides `poll_unpin` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures_util::future::future::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/mod.rs - future::FutureTestExt::interleave_pending (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/future/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/future/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, Future}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, Future}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/read/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/read/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::io::{AsyncRead, Cursor}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/io/read/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assert.rs - assert::assert_stream_done (line 89) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assert.rs - assert::assert_stream_next (line 45) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 105) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::io::{AsyncWriteExt, Cursor}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assert.rs - assert::assert_stream_pending (line 11) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::io::{AsyncWrite, Cursor}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/io/write/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sink/mod.rs - sink::SinkTestExt::track_closed (line 39) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/sink/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::sink::{SinkExt, drain}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/sink/mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::io::{AsyncWrite, Cursor}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/io/write/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/read/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/read/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::io::{AsyncRead, Cursor}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/io/read/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/context.rs - task::context::noop_context (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/task/context.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/task/context.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/task/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for `async` block `{async block@src/task/context.rs:9:14: 9:19}` in the current scope [INFO] [stdout] --> src/task/context.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(future.poll(&mut noop_context()), Poll::Ready(5)); [INFO] [stdout] | ^^^^ method not found in `{async block@src/task/context.rs:9:14: 9:19}` [INFO] [stdout] | [INFO] [stdout] help: consider pinning the expression with `std::pin::pin!()` and assigning that to a new binding [INFO] [stdout] --> src/task/context.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(future.poll(&mut noop_context()), Poll::Ready(5)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/mod.rs - stream::StreamTestExt::interleave_pending (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/stream/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/stream/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, Stream}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, Stream}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/mod.rs - future::FutureTestExt::run_in_background (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/future/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/future/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::io::{AsyncWriteExt, Cursor}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/io/write/mod.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sink/mod.rs - sink::SinkTestExt::track_closed (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/sink/mod.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{sink::{SinkExt, drain}, future::FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/sink/mod.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/noop_spawner.rs - task::noop_spawner::NoopSpawner (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/task/noop_spawner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for struct `NoopSpawner` in the current scope [INFO] [stdout] --> src/task/noop_spawner.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | spawner.spawn(async { }).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/task/spawn.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- the method is available for `NoopSpawner` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SpawnExt` which provides `spawn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures_util::task::spawn::SpawnExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_obj` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | spawner.spawn_obj(async { }).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/noop_spawner.rs - task::noop_spawner::noop_spawner_mut (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/task/noop_spawner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for mutable reference `&mut NoopSpawner` in the current scope [INFO] [stdout] --> src/task/noop_spawner.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 8 | spawner.spawn(async { }).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/task/spawn.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- the method is available for `&mut NoopSpawner` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SpawnExt` which provides `spawn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures_util::task::spawn::SpawnExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_obj` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | spawner.spawn_obj(async { }).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/panic_spawner.rs - task::panic_spawner::PanicSpawner (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/task/panic_spawner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for struct `PanicSpawner` in the current scope [INFO] [stdout] --> src/task/panic_spawner.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 8 | spawn.spawn(async { })?; // Will panic [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/task/spawn.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- the method is available for `PanicSpawner` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SpawnExt` which provides `spawn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures_util::task::spawn::SpawnExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_obj` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | spawn.spawn_obj(async { })?; // Will panic [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/task/record_spawner.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for struct `RecordSpawner` in the current scope [INFO] [stdout] --> src/task/record_spawner.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 8 | recorder.spawn(async { }).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/task/spawn.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- the method is available for `RecordSpawner` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `spawned` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/task/record_spawner.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawned(&self) -> Ref<'_, Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `SpawnExt` which provides `spawn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures_util::task::spawn::SpawnExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/panic_spawner.rs - task::panic_spawner::panic_spawner_mut (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/task/panic_spawner.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for mutable reference `&mut PanicSpawner` in the current scope [INFO] [stdout] --> src/task/panic_spawner.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 8 | spawner.spawn(async { })?; // Will panic [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/task/spawn.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- the method is available for `&mut PanicSpawner` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SpawnExt` which provides `spawn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures_util::task::spawn::SpawnExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_obj` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | spawner.spawn_obj(async { })?; // Will panic [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/assert.rs - assert::assert_stream_done (line 89) [INFO] [stdout] src/assert.rs - assert::assert_stream_next (line 45) [INFO] [stdout] src/assert.rs - assert::assert_stream_pending (line 11) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::interleave_pending (line 86) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::pending_once (line 34) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::run_in_background (line 60) [INFO] [stdout] src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 31) [INFO] [stdout] src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 61) [INFO] [stdout] src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 95) [INFO] [stdout] src/io/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 32) [INFO] [stdout] src/io/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 72) [INFO] [stdout] src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 105) [INFO] [stdout] src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 121) [INFO] [stdout] src/sink/mod.rs - sink::SinkTestExt::track_closed (line 39) [INFO] [stdout] src/sink/mod.rs - sink::SinkTestExt::track_closed (line 61) [INFO] [stdout] src/stream/mod.rs - stream::StreamTestExt::interleave_pending (line 30) [INFO] [stdout] src/task/context.rs - task::context::noop_context (line 24) [INFO] [stdout] src/task/noop_spawner.rs - task::noop_spawner::NoopSpawner (line 8) [INFO] [stdout] src/task/noop_spawner.rs - task::noop_spawner::noop_spawner_mut (line 43) [INFO] [stdout] src/task/panic_spawner.rs - task::panic_spawner::PanicSpawner (line 8) [INFO] [stdout] src/task/panic_spawner.rs - task::panic_spawner::panic_spawner_mut (line 44) [INFO] [stdout] src/task/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 22 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.81s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0c83f1c2726cd8ef507abb6fa6672c3453e10b359966d76c3255567a0c4ba284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c83f1c2726cd8ef507abb6fa6672c3453e10b359966d76c3255567a0c4ba284", kill_on_drop: false }` [INFO] [stdout] 0c83f1c2726cd8ef507abb6fa6672c3453e10b359966d76c3255567a0c4ba284