[INFO] fetching crate futures-test 0.3.32... [INFO] testing futures-test-0.3.32 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate futures-test 0.3.32 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate futures-test 0.3.32 [INFO] finished tweaking crates.io crate futures-test 0.3.32 [INFO] tweaked toml for crates.io crate futures-test 0.3.32 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate futures-test 0.3.32 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate futures-test 0.3.32 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23613e441a46b55b968669961d95273653c49e826c9cc2a43352ee936ba457d9 [INFO] running `Command { std: "docker" "start" "-a" "23613e441a46b55b968669961d95273653c49e826c9cc2a43352ee936ba457d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23613e441a46b55b968669961d95273653c49e826c9cc2a43352ee936ba457d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23613e441a46b55b968669961d95273653c49e826c9cc2a43352ee936ba457d9", kill_on_drop: false }` [INFO] [stdout] 23613e441a46b55b968669961d95273653c49e826c9cc2a43352ee936ba457d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1dc7d2b93e4a8d205a2a1ead561cfc2b1fdf03676c80f0f1c8965ccebd10420 [INFO] running `Command { std: "docker" "start" "-a" "d1dc7d2b93e4a8d205a2a1ead561cfc2b1fdf03676c80f0f1c8965ccebd10420", kill_on_drop: false }` [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-test v0.3.32 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.63s [INFO] running `Command { std: "docker" "inspect" "d1dc7d2b93e4a8d205a2a1ead561cfc2b1fdf03676c80f0f1c8965ccebd10420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1dc7d2b93e4a8d205a2a1ead561cfc2b1fdf03676c80f0f1c8965ccebd10420", kill_on_drop: false }` [INFO] [stdout] d1dc7d2b93e4a8d205a2a1ead561cfc2b1fdf03676c80f0f1c8965ccebd10420 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8883ed12f871f8612b069611638e52c153022fc8c3a0acb69d98aa9d374a112 [INFO] running `Command { std: "docker" "start" "-a" "a8883ed12f871f8612b069611638e52c153022fc8c3a0acb69d98aa9d374a112", kill_on_drop: false }` [INFO] [stderr] Compiling futures-test v0.3.32 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "a8883ed12f871f8612b069611638e52c153022fc8c3a0acb69d98aa9d374a112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8883ed12f871f8612b069611638e52c153022fc8c3a0acb69d98aa9d374a112", kill_on_drop: false }` [INFO] [stdout] a8883ed12f871f8612b069611638e52c153022fc8c3a0acb69d98aa9d374a112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c0ad8e7d0deb93308a5398271ffae25ca9639afb8b579ce6e8d0f317f6f5156 [INFO] running `Command { std: "docker" "start" "-a" "3c0ad8e7d0deb93308a5398271ffae25ca9639afb8b579ce6e8d0f317f6f5156", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/futures_test-8fee4695cc18b3aa) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test assert_unmoved::tests::assert_send_sync ... ok [INFO] [stdout] test assert_unmoved::tests::dont_panic_when_not_polled ... ok [INFO] [stderr] Doc-tests futures_test [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.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/assert.rs - assert::assert_stream_done (line 91) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_stream_next (line 46) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::interleave_pending (line 87) ... FAILED [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 62) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_stream_pending (line 11) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::pending_once (line 34) ... FAILED [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 97) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 107) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 73) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 32) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 123) ... FAILED [INFO] [stdout] test src/sink/mod.rs - sink::SinkTestExt::track_closed (line 61) ... FAILED [INFO] [stdout] test src/stream/mod.rs - stream::StreamTestExt::interleave_pending (line 30) ... FAILED [INFO] [stdout] test src/task/noop_spawner.rs - task::noop_spawner::NoopSpawner (line 8) ... FAILED [INFO] [stdout] test src/sink/mod.rs - sink::SinkTestExt::track_closed (line 39) ... FAILED [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 31) ... FAILED [INFO] [stdout] test src/task/noop_spawner.rs - task::noop_spawner::noop_spawner_mut (line 43) ... FAILED [INFO] [stdout] test src/task/panic_spawner.rs - task::panic_spawner::PanicSpawner (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - test (line 61) ... ok [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::run_in_background (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - test (line 71) ... ok [INFO] [stdout] test src/task/context.rs - task::context::panic_context (line 9) ... ok [INFO] [stdout] test src/task/panic_waker.rs - task::panic_waker::panic_waker (line 29) ... ok [INFO] [stdout] test src/task/panic_spawner.rs - task::panic_spawner::panic_spawner_mut (line 44) ... FAILED [INFO] [stdout] test src/task/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) ... FAILED [INFO] [stdout] test src/task/context.rs - task::context::noop_context (line 24) ... FAILED [INFO] [stdout] test src/task/panic_waker.rs - task::panic_waker::panic_waker_ref (line 46) ... ok [INFO] [stdout] test src/task/wake_counter.rs - task::wake_counter::new_count_waker (line 44) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/assert.rs - assert::assert_stream_done (line 91) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | 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: aborting due to 1 previous error [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 46) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/assert.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/mod.rs - future::FutureTestExt::interleave_pending (line 87) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/future/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/future/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | 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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | 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: 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 62) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/read/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/read/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | 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: 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/future/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/future/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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[E0599]: no method named `poll_unpin` found for struct `Pin<&mut PendingOnce<{async block@src/future/mod.rs:13:15: 13:20}>>` in the current scope [INFO] [stdout] --> src/future/mod.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(future.poll_unpin(&mut cx), Poll::Pending); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut PendingOnce<{async block@src/future/mod.rs:13:15: 13:20}>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/future/mod.rs:552:8 [INFO] [stdout] | [INFO] [stdout] 552 | fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll [INFO] [stdout] | ---------- the method is available for `Pin<&mut PendingOnce<{async block@src/future/mod.rs:13:15: 13: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] 33 + use futures_util::future::future::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_unpin` found for struct `Pin<&mut PendingOnce<{async block@src/future/mod.rs:13:15: 13:20}>>` in the current scope [INFO] [stdout] --> src/future/mod.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(future.poll_unpin(&mut cx), Poll::Ready(5)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut PendingOnce<{async block@src/future/mod.rs:13:15: 13:20}>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/future/mod.rs:552:8 [INFO] [stdout] | [INFO] [stdout] 552 | fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll [INFO] [stdout] | ---------- the method is available for `Pin<&mut PendingOnce<{async block@src/future/mod.rs:13:15: 13: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] 33 + use futures_util::future::future::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 97) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/read/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/read/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | 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: 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 107) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | 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::limited_write (line 73) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | 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: 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 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: 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 123) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/write/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/sink/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/sink/mod.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | 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/stream/mod.rs - stream::StreamTestExt::interleave_pending (line 30) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/stream/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/stream/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | 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: 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/noop_spawner.rs - task::noop_spawner::NoopSpawner (line 8) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/task/noop_spawner.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | spawner.spawn(async { }).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/task/spawn.rs:49:8 [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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] 7 + 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] 14 | 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/sink/mod.rs - sink::SinkTestExt::track_closed (line 39) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/sink/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/sink/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | 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/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 31) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/read/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/io/read/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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: 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::noop_spawner_mut (line 43) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/task/noop_spawner.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | spawner.spawn(async { }).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/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] 42 + 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] 49 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/task/panic_spawner.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | 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.32/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] 7 + 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] 14 | 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/future/mod.rs - future::FutureTestExt::run_in_background (line 61) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/future/mod.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/future/mod.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | 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/panic_spawner.rs - task::panic_spawner::panic_spawner_mut (line 44) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/task/panic_spawner.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | 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.32/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] 43 + 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] 50 | 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] ---- src/task/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/task/record_spawner.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | recorder.spawn(async { }).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/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] --> 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] 8 + 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/context.rs - task::context::noop_context (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/task/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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]: cannot find module or crate `futures` in this scope [INFO] [stdout] --> src/task/context.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | 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[E0599]: no method named `poll` found for struct `Pin<&mut {async block@src/task/context.rs:12:14: 12:19}>` in the current scope [INFO] [stdout] --> src/task/context.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(future.poll(&mut noop_context()), Poll::Ready(5)); [INFO] [stdout] | ^^^^ method not found in `Pin<&mut {async block@src/task/context.rs:12:14: 12:19}>` [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/future/future.rs:113:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Pin<&mut {async block@src/task/context.rs:12:14: 12:19}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Future` which provides `poll` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 23 + use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 91) [INFO] [stdout] src/assert.rs - assert::assert_stream_next (line 46) [INFO] [stdout] src/assert.rs - assert::assert_stream_pending (line 11) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::interleave_pending (line 87) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::pending_once (line 34) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::run_in_background (line 61) [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 62) [INFO] [stdout] src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 97) [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 73) [INFO] [stdout] src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 107) [INFO] [stdout] src/io/write/mod.rs - io::write::AsyncWriteTestExt::track_closed (line 123) [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.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c0ad8e7d0deb93308a5398271ffae25ca9639afb8b579ce6e8d0f317f6f5156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c0ad8e7d0deb93308a5398271ffae25ca9639afb8b579ce6e8d0f317f6f5156", kill_on_drop: false }` [INFO] [stdout] 3c0ad8e7d0deb93308a5398271ffae25ca9639afb8b579ce6e8d0f317f6f5156