[INFO] crate futures-test 0.3.1 is already in cache
[INFO] testing futures-test-0.3.1 against 1.40.0 for beta-1.41-1
[INFO] extracting crate futures-test 0.3.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate futures-test 0.3.1 on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate futures-test 0.3.1
[INFO] finished tweaking crates.io crate futures-test 0.3.1
[INFO] tweaked toml for crates.io crate futures-test 0.3.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4b38af4de0a8a3087e525a124b95c0867a9fedf911356f5b71790dfdd1aa9a83
[INFO] running `"docker" "start" "-a" "4b38af4de0a8a3087e525a124b95c0867a9fedf911356f5b71790dfdd1aa9a83"`
[INFO] [stderr]    Compiling futures-core v0.3.1
[INFO] [stderr]    Compiling futures-io v0.3.1
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.1
[INFO] [stderr]    Compiling futures-test v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.39s
[INFO] running `"docker" "inspect" "4b38af4de0a8a3087e525a124b95c0867a9fedf911356f5b71790dfdd1aa9a83"`
[INFO] running `"docker" "rm" "-f" "4b38af4de0a8a3087e525a124b95c0867a9fedf911356f5b71790dfdd1aa9a83"`
[INFO] [stdout] 4b38af4de0a8a3087e525a124b95c0867a9fedf911356f5b71790dfdd1aa9a83
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "test" "--frozen" "--no-run"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 289d4c3f0ad37ee3c4e3e390c5384e991049aa1fdd2bec010f37f2bb1098732e
[INFO] running `"docker" "start" "-a" "289d4c3f0ad37ee3c4e3e390c5384e991049aa1fdd2bec010f37f2bb1098732e"`
[INFO] [stderr]    Compiling futures-test v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.99s
[INFO] running `"docker" "inspect" "289d4c3f0ad37ee3c4e3e390c5384e991049aa1fdd2bec010f37f2bb1098732e"`
[INFO] running `"docker" "rm" "-f" "289d4c3f0ad37ee3c4e3e390c5384e991049aa1fdd2bec010f37f2bb1098732e"`
[INFO] [stdout] 289d4c3f0ad37ee3c4e3e390c5384e991049aa1fdd2bec010f37f2bb1098732e
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "test" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 79043f66cb58bae94cf31023477ed1bc715bf2045e80658d8861193122ea06ae
[INFO] running `"docker" "start" "-a" "79043f66cb58bae94cf31023477ed1bc715bf2045e80658d8861193122ea06ae"`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/futures_test-c2b71725be03ce6a
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test future::assert_unmoved::tests::dont_panic_when_not_polled ... ok
[INFO] [stdout] test future::assert_unmoved::tests::dont_double_panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests futures_test
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 45) ... FAILED
[INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::run_in_background (line 63) ... FAILED
[INFO] [stdout] test src/assert.rs - assert_stream_pending (line 11) ... FAILED
[INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::interleave_pending (line 88) ... FAILED
[INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 15) ... FAILED
[INFO] [stdout] test src/assert.rs - assert_stream_next (line 47) ... FAILED
[INFO] [stdout] test src/assert.rs - assert_stream_done (line 89) ... FAILED
[INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::pending_once (line 37) ... FAILED
[INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 79) ... FAILED
[INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 55) ... FAILED
[INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 15) ... 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 14) ... FAILED
[INFO] [stdout] test src/task/noop_spawner.rs - task::noop_spawner::NoopSpawner (line 8) ... FAILED
[INFO] [stdout] test src/task/panic_spawner.rs - task::panic_spawner::PanicSpawner (line 8) ... 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::panic_spawner_mut (line 44) ... FAILED
[INFO] [stdout] test src/task/context.rs - task::context::panic_context (line 9) ... ok
[INFO] [stdout] test src/task/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) ... FAILED
[INFO] [stdout] test src/task/panic_waker.rs - task::panic_waker::panic_waker (line 32) ... ok
[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_ref (line 48) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:45:67
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {use futures::task::Poll;
[INFO] [stdout]   |                                                                   ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:46:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::io::{AsyncBufRead, Cursor};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:49:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/io/read/mod.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pin_mut!(reader);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor`
[INFO] [stdout]   --> src/io/read/mod.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let reader = Cursor::new(&[1, 2, 3]).interleave_pending();
[INFO] [stdout]    |              ^^^^^^ use of undeclared type or module `Cursor`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:56:53
[INFO] [stdout]    |
[INFO] [stdout] 15 | assert_eq!(reader.as_mut().poll_fill_buf(&mut cx)?, Poll::Pending);
[INFO] [stdout]    |                                                     ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:57:53
[INFO] [stdout]    |
[INFO] [stdout] 16 | assert_eq!(reader.as_mut().poll_fill_buf(&mut cx)?, Poll::Ready(&[1, 2, 3][..]));
[INFO] [stdout]    |                                                     ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:59:53
[INFO] [stdout]    |
[INFO] [stdout] 18 | assert_eq!(reader.as_mut().poll_fill_buf(&mut cx)?, Poll::Pending);
[INFO] [stdout]    |                                                     ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:60:53
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(reader.as_mut().poll_fill_buf(&mut cx)?, Poll::Ready(&[3][..]));
[INFO] [stdout]    |                                                     ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:62:53
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(reader.as_mut().poll_fill_buf(&mut cx)?, Poll::Pending);
[INFO] [stdout]    |                                                     ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:63:53
[INFO] [stdout]    |
[INFO] [stdout] 22 | assert_eq!(reader.as_mut().poll_fill_buf(&mut cx)?, Poll::Ready(&[][..]));
[INFO] [stdout]    |                                                     ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `futures_test::io::AsyncReadTestExt`
[INFO] [stdout]  --> src/io/read/mod.rs:48:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_test::io::AsyncReadTestExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: lint level defined here
[INFO] [stdout]  --> src/io/read/mod.rs:42:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 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 63) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/future/mod.rs:65:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::channel::oneshot;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/future/mod.rs:64:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | futures::executor::block_on(async {
[INFO] [stdout]   | ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot`
[INFO] [stdout]  --> src/future/mod.rs:68:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | let (tx, rx) = oneshot::channel::<i32>();
[INFO] [stdout]   |                ^^^^^^^ use of undeclared type or module `oneshot`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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_stream_pending (line 11) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/assert.rs:12:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::stream;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]   --> src/assert.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::pin_mut;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/assert.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pin_mut!(stream);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/future/mod.rs - future::FutureTestExt::interleave_pending (line 88) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/future/mod.rs:89:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::task::Poll;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/future/mod.rs:90:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::future::{self, Future};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/future/mod.rs:90:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::future::{self, Future};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/future/mod.rs:93:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/future/mod.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | pin_mut!(future);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/future/mod.rs:100:43
[INFO] [stdout]    |
[INFO] [stdout] 16 | assert_eq!(future.as_mut().poll(&mut cx), Poll::Pending);
[INFO] [stdout]    |                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/future/mod.rs:101:43
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(future.as_mut().poll(&mut cx), Poll::Ready(1));
[INFO] [stdout]    |                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `futures_test::future::FutureTestExt`
[INFO] [stdout]  --> src/future/mod.rs:92:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures_test::future::FutureTestExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: lint level defined here
[INFO] [stdout]  --> src/future/mod.rs:85:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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 15) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:15:67
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {use futures::task::Poll;
[INFO] [stdout]   |                                                                   ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:16:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::io::{AsyncRead, Cursor};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/io/read/mod.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pin_mut!(reader);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor`
[INFO] [stdout]   --> src/io/read/mod.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let reader = Cursor::new(&[1, 2, 3]).interleave_pending();
[INFO] [stdout]    |              ^^^^^^ use of undeclared type or module `Cursor`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:28:63
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf[..])?, Poll::Pending);
[INFO] [stdout]    |                                                               ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:29:63
[INFO] [stdout]    |
[INFO] [stdout] 18 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf[..])?, Poll::Ready(2));
[INFO] [stdout]    |                                                               ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:31:63
[INFO] [stdout]    |
[INFO] [stdout] 20 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf[..])?, Poll::Pending);
[INFO] [stdout]    |                                                               ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf[..])?, Poll::Ready(1));
[INFO] [stdout]    |                                                               ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:34:63
[INFO] [stdout]    |
[INFO] [stdout] 23 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf[..])?, Poll::Pending);
[INFO] [stdout]    |                                                               ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:35:63
[INFO] [stdout]    |
[INFO] [stdout] 24 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf[..])?, Poll::Ready(0));
[INFO] [stdout]    |                                                               ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `futures_test::io::AsyncReadTestExt`
[INFO] [stdout]  --> src/io/read/mod.rs:18:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_test::io::AsyncReadTestExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: lint level defined here
[INFO] [stdout]  --> src/io/read/mod.rs:12:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 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_stream_next (line 47) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/assert.rs:48:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::stream;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]   --> src/assert.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::pin_mut;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/assert.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pin_mut!(stream);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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_stream_done (line 89) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/assert.rs:90:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::stream;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]   --> src/assert.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::pin_mut;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/assert.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pin_mut!(stream);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/future/mod.rs - future::FutureTestExt::pending_once (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/future/mod.rs:38:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::task::Poll;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/future/mod.rs:39:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::future::FutureExt;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/future/mod.rs:42:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/future/mod.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | pin_mut!(future);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/future/mod.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 16 | assert_eq!(future.poll_unpin(&mut cx), Poll::Pending);
[INFO] [stdout]    |                                        ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/future/mod.rs:50:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(future.poll_unpin(&mut cx), Poll::Ready(5));
[INFO] [stdout]    |                                        ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll_unpin` found for type `futures_test::future::PendingOnce<impl futures_test::futures_core::Future>` in the current scope
[INFO] [stdout]   --> src/future/mod.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | assert_eq!(future.poll_unpin(&mut cx), Poll::Pending);
[INFO] [stdout]    |                   ^^^^^^^^^^ method not found in `futures_test::future::PendingOnce<impl futures_test::futures_core::Future>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 4  | use futures_util::future::future::FutureExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll_unpin` found for type `futures_test::future::PendingOnce<impl futures_test::futures_core::Future>` in the current scope
[INFO] [stdout]   --> src/future/mod.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(future.poll_unpin(&mut cx), Poll::Ready(5));
[INFO] [stdout]    |                   ^^^^^^^^^^ method not found in `futures_test::future::PendingOnce<impl futures_test::futures_core::Future>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 4  | use futures_util::future::future::FutureExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 79) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:79:67
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {use futures::task::Poll;
[INFO] [stdout]   |                                                                   ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:80:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::io::{AsyncRead, Cursor};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/io/read/mod.rs:83:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/io/read/mod.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pin_mut!(reader);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor`
[INFO] [stdout]   --> src/io/read/mod.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let reader = Cursor::new(&[1, 2, 3, 4, 5]).limited(2);
[INFO] [stdout]    |              ^^^^^^ use of undeclared type or module `Cursor`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:92:59
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf)?, Poll::Ready(2));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:94:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf)?, Poll::Ready(2));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/read/mod.rs:96:59
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(reader.as_mut().poll_read(&mut cx, &mut buf)?, Poll::Ready(1));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `futures_test::io::AsyncReadTestExt`
[INFO] [stdout]  --> src/io/read/mod.rs:82:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_test::io::AsyncReadTestExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: lint level defined here
[INFO] [stdout]  --> src/io/read/mod.rs:76:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 55) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/write/mod.rs:55:67
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {use futures::task::Poll;
[INFO] [stdout]   |                                                                   ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/write/mod.rs:56:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::io::{AsyncWrite, Cursor};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/io/write/mod.rs:59:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/io/write/mod.rs:62:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pin_mut!(writer);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor`
[INFO] [stdout]   --> src/io/write/mod.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let writer = Cursor::new(vec![0u8; 4].into_boxed_slice()).limited_write(2);
[INFO] [stdout]    |              ^^^^^^ use of undeclared type or module `Cursor`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:66:59
[INFO] [stdout]    |
[INFO] [stdout] 15 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[1, 2])?, Poll::Ready(2));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:68:56
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[3])?, Poll::Ready(1));
[INFO] [stdout]    |                                                        ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:70:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[4, 5])?, Poll::Ready(1));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:72:56
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[5])?, Poll::Ready(0));
[INFO] [stdout]    |                                                        ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `futures_test::io::AsyncWriteTestExt`
[INFO] [stdout]  --> src/io/write/mod.rs:58:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_test::io::AsyncWriteTestExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: lint level defined here
[INFO] [stdout]  --> src/io/write/mod.rs:52:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 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/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 15) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/write/mod.rs:15:67
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {use futures::task::Poll;
[INFO] [stdout]   |                                                                   ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/io/write/mod.rs:16:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::io::{AsyncWrite, Cursor};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/io/write/mod.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/io/write/mod.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pin_mut!(writer);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor`
[INFO] [stdout]   --> src/io/write/mod.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let writer = Cursor::new(vec![0u8; 4].into_boxed_slice()).interleave_pending_write();
[INFO] [stdout]    |              ^^^^^^ use of undeclared type or module `Cursor`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 15 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[1, 2])?, Poll::Pending);
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:27:59
[INFO] [stdout]    |
[INFO] [stdout] 16 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[1, 2])?, Poll::Ready(2));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:29:59
[INFO] [stdout]    |
[INFO] [stdout] 18 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[3, 4])?, Poll::Pending);
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:30:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[3, 4])?, Poll::Ready(2));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:32:59
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[5, 6])?, Poll::Pending);
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:33:59
[INFO] [stdout]    |
[INFO] [stdout] 22 | assert_eq!(writer.as_mut().poll_write(&mut cx, &[5, 6])?, Poll::Ready(0));
[INFO] [stdout]    |                                                           ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:35:50
[INFO] [stdout]    |
[INFO] [stdout] 24 | assert_eq!(writer.as_mut().poll_flush(&mut cx)?, Poll::Pending);
[INFO] [stdout]    |                                                  ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 25 | assert_eq!(writer.as_mut().poll_flush(&mut cx)?, Poll::Ready(()));
[INFO] [stdout]    |                                                  ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:38:50
[INFO] [stdout]    |
[INFO] [stdout] 27 | assert_eq!(writer.as_mut().poll_close(&mut cx)?, Poll::Pending);
[INFO] [stdout]    |                                                  ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/io/write/mod.rs:39:50
[INFO] [stdout]    |
[INFO] [stdout] 28 | assert_eq!(writer.as_mut().poll_close(&mut cx)?, Poll::Ready(()));
[INFO] [stdout]    |                                                  ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `futures_test::io::AsyncWriteTestExt`
[INFO] [stdout]  --> src/io/write/mod.rs:18:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_test::io::AsyncWriteTestExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: lint level defined here
[INFO] [stdout]  --> src/io/write/mod.rs:12:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 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 undeclared type or module `futures`
[INFO] [stdout]  --> src/task/context.rs:25:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::future::Future;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/task/context.rs:26:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::task::Poll;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/task/context.rs:28:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/task/context.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pin_mut!(future);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/task/context.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | assert_eq!(future.poll(&mut noop_context()), Poll::Ready(5));
[INFO] [stdout]    |                                              ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll` found for type `impl futures_test::futures_core::Future` in the current scope
[INFO] [stdout]   --> src/task/context.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | assert_eq!(future.poll(&mut noop_context()), Poll::Ready(5));
[INFO] [stdout]    |                   ^^^^ method not found in `impl futures_test::futures_core::Future`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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 14) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/stream/mod.rs:15:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::task::Poll;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/stream/mod.rs:16:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::stream::{self, Stream};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/stream/mod.rs:16:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::stream::{self, Stream};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> src/stream/mod.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::pin_mut;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pin_mut`
[INFO] [stdout]   --> src/stream/mod.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | pin_mut!(stream);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/stream/mod.rs:26:48
[INFO] [stdout]    |
[INFO] [stdout] 16 | assert_eq!(stream.as_mut().poll_next(&mut cx), Poll::Pending);
[INFO] [stdout]    |                                                ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/stream/mod.rs:27:48
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(stream.as_mut().poll_next(&mut cx), Poll::Ready(Some(1)));
[INFO] [stdout]    |                                                ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/stream/mod.rs:28:48
[INFO] [stdout]    |
[INFO] [stdout] 18 | assert_eq!(stream.as_mut().poll_next(&mut cx), Poll::Pending);
[INFO] [stdout]    |                                                ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/stream/mod.rs:29:48
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(stream.as_mut().poll_next(&mut cx), Poll::Ready(Some(2)));
[INFO] [stdout]    |                                                ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/stream/mod.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 20 | assert_eq!(stream.as_mut().poll_next(&mut cx), Poll::Pending);
[INFO] [stdout]    |                                                ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll`
[INFO] [stdout]   --> src/stream/mod.rs:31:48
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(stream.as_mut().poll_next(&mut cx), Poll::Ready(None));
[INFO] [stdout]    |                                                ^^^^ use of undeclared type or module `Poll`
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `futures_test::stream::StreamTestExt`
[INFO] [stdout]  --> src/stream/mod.rs:18:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures_test::stream::StreamTestExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: lint level defined here
[INFO] [stdout]  --> src/stream/mod.rs:11:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 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]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/task/noop_spawner.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::task::SpawnExt;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `spawn` found for type `futures_test::task::NoopSpawner` in the current scope
[INFO] [stdout]  --> src/task/noop_spawner.rs:13:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | spawner.spawn(async { }).unwrap();
[INFO] [stdout]   |         ^^^^^ method not found in `futures_test::task::NoopSpawner`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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::PanicSpawner (line 8) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/task/panic_spawner.rs:8:67
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {use futures::task::SpawnExt;
[INFO] [stdout]   |                                                                   ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `spawn` found for type `futures_test::task::PanicSpawner` in the current scope
[INFO] [stdout]  --> src/task/panic_spawner.rs:12:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | spawn.spawn(async { })?; // Will panic
[INFO] [stdout]   |       ^^^^^ method not found in `futures_test::task::PanicSpawner`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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/noop_spawner.rs - task::noop_spawner::noop_spawner_mut (line 43) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/task/noop_spawner.rs:44:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::task::SpawnExt;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `spawn` found for type `&mut futures_test::task::NoopSpawner` in the current scope
[INFO] [stdout]  --> src/task/noop_spawner.rs:48:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | spawner.spawn(async { }).unwrap();
[INFO] [stdout]   |         ^^^^^ method not found in `&mut futures_test::task::NoopSpawner`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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 undeclared type or module `futures`
[INFO] [stdout]  --> src/task/panic_spawner.rs:44:67
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {use futures::task::SpawnExt;
[INFO] [stdout]   |                                                                   ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `spawn` found for type `&mut futures_test::task::PanicSpawner` in the current scope
[INFO] [stdout]  --> src/task/panic_spawner.rs:48:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | spawner.spawn(async { })?; // Will panic
[INFO] [stdout]   |         ^^^^^ method not found in `&mut futures_test::task::PanicSpawner`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stdout]  --> src/task/record_spawner.rs:10:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::task::SpawnExt;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `spawn` found for type `futures_test::task::RecordSpawner` in the current scope
[INFO] [stdout]  --> src/task/record_spawner.rs:14:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | recorder.spawn(async { }).unwrap();
[INFO] [stdout]   |          ^^^^^ method not found in `futures_test::task::RecordSpawner`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/assert.rs - assert_stream_done (line 89)
[INFO] [stdout]     src/assert.rs - assert_stream_next (line 47)
[INFO] [stdout]     src/assert.rs - assert_stream_pending (line 11)
[INFO] [stdout]     src/future/mod.rs - future::FutureTestExt::interleave_pending (line 88)
[INFO] [stdout]     src/future/mod.rs - future::FutureTestExt::pending_once (line 37)
[INFO] [stdout]     src/future/mod.rs - future::FutureTestExt::run_in_background (line 63)
[INFO] [stdout]     src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 15)
[INFO] [stdout]     src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 45)
[INFO] [stdout]     src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 79)
[INFO] [stdout]     src/io/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 15)
[INFO] [stdout]     src/io/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 55)
[INFO] [stdout]     src/stream/mod.rs - stream::StreamTestExt::interleave_pending (line 14)
[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. 4 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `"docker" "inspect" "79043f66cb58bae94cf31023477ed1bc715bf2045e80658d8861193122ea06ae"`
[INFO] running `"docker" "rm" "-f" "79043f66cb58bae94cf31023477ed1bc715bf2045e80658d8861193122ea06ae"`
[INFO] [stdout] 79043f66cb58bae94cf31023477ed1bc715bf2045e80658d8861193122ea06ae
