[INFO] crate futures-test 0.3.5 is already in cache [INFO] testing futures-test-0.3.5 against 1.44.0 for beta-1.45-1 [INFO] extracting crate futures-test 0.3.5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate futures-test 0.3.5 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate futures-test 0.3.5 [INFO] finished tweaking crates.io crate futures-test 0.3.5 [INFO] tweaked toml for crates.io crate futures-test 0.3.5 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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.44.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] 0f1f2f6a8460e63e8c81a49ac7a2cd954f502eb3fd16d8f035a8cbfc224197ce [INFO] running `"docker" "start" "-a" "0f1f2f6a8460e63e8c81a49ac7a2cd954f502eb3fd16d8f035a8cbfc224197ce"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures-test v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.03s [INFO] running `"docker" "inspect" "0f1f2f6a8460e63e8c81a49ac7a2cd954f502eb3fd16d8f035a8cbfc224197ce"` [INFO] running `"docker" "rm" "-f" "0f1f2f6a8460e63e8c81a49ac7a2cd954f502eb3fd16d8f035a8cbfc224197ce"` [INFO] [stdout] 0f1f2f6a8460e63e8c81a49ac7a2cd954f502eb3fd16d8f035a8cbfc224197ce [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.44.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] 48de6a00bc89c73837bbcc0ad258308e4595db1296ea59c9540bf0534866d3b6 [INFO] running `"docker" "start" "-a" "48de6a00bc89c73837bbcc0ad258308e4595db1296ea59c9540bf0534866d3b6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling futures-test v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `"docker" "inspect" "48de6a00bc89c73837bbcc0ad258308e4595db1296ea59c9540bf0534866d3b6"` [INFO] running `"docker" "rm" "-f" "48de6a00bc89c73837bbcc0ad258308e4595db1296ea59c9540bf0534866d3b6"` [INFO] [stdout] 48de6a00bc89c73837bbcc0ad258308e4595db1296ea59c9540bf0534866d3b6 [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.44.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] bece1bba4fd35f599e1f8538502009e34e8dacebcf0b5eb5fb50b4e218a717dc [INFO] running `"docker" "start" "-a" "bece1bba4fd35f599e1f8538502009e34e8dacebcf0b5eb5fb50b4e218a717dc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/futures_test-e3c59940ddd90e4b [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test future::assert_unmoved::tests::assert_send_sync ... ok [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] test task::panic_waker::tests::issue_2091_cross_thread_segfault ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 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/assert.rs - assert_stream_next (line 47) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::run_in_background (line 62) ... FAILED [INFO] [stdout] test src/assert.rs - assert_stream_pending (line 11) ... FAILED [INFO] [stdout] test src/assert.rs - assert_stream_done (line 89) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::interleave_pending (line 87) ... FAILED [INFO] [stdout] test src/future/mod.rs - future::FutureTestExt::pending_once (line 36) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::limited_write (line 55) ... FAILED [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::limited (line 79) ... FAILED [INFO] [stdout] test src/task/context.rs - task::context::noop_context (line 24) ... FAILED [INFO] [stdout] test src/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 15) ... 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::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/io/read/mod.rs - io::read::AsyncReadTestExt::interleave_pending (line 45) ... FAILED [INFO] [stdout] test src/task/noop_spawner.rs - task::noop_spawner::NoopSpawner (line 8) ... FAILED [INFO] [stdout] test src/io/write/mod.rs - io::write::AsyncWriteTestExt::interleave_pending_write (line 15) ... FAILED [INFO] [stdout] test src/task/record_spawner.rs - task::record_spawner::RecordSpawner (line 9) ... FAILED [INFO] [stdout] test src/task/panic_spawner.rs - task::panic_spawner::panic_spawner_mut (line 44) ... FAILED [INFO] [stdout] test src/task/context.rs - task::context::panic_context (line 9) ... ok [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/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/future/mod.rs - future::FutureTestExt::run_in_background (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/mod.rs:64: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:63: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:67:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = oneshot::channel::(); [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/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::interleave_pending (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/mod.rs:88: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:89: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:89: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:92: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:95: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:99: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:100: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:91:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/future/mod.rs:84: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/future/mod.rs - future::FutureTestExt::pending_once (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/mod.rs:37: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:38: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:41: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:44: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:48: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:49: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 struct `futures_test::future::PendingOnce` in the current scope [INFO] [stdout] --> src/future/mod.rs:48: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` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/future/future/mod.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box>` here [INFO] [stdout] | the method is available for `std::sync::Arc>` here [INFO] [stdout] | the method is available for `std::rc::Rc>` here [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 struct `futures_test::future::PendingOnce` in the current scope [INFO] [stdout] --> src/future/mod.rs:49: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` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/future/future/mod.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box>` here [INFO] [stdout] | the method is available for `std::sync::Arc>` here [INFO] [stdout] | the method is available for `std::rc::Rc>` here [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/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: the lint level is 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/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: the lint level is 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/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 opaque type `impl std::future::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 std::future::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/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: the lint level is 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/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: the lint level is 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::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 mutable reference `&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::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 struct `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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/task/spawn.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box` here [INFO] [stdout] | the method is available for `std::sync::Arc` here [INFO] [stdout] | the method is available for `std::rc::Rc` here [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/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: the lint level is 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/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 struct `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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/task/spawn.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box` here [INFO] [stdout] | the method is available for `std::sync::Arc` here [INFO] [stdout] | the method is available for `std::rc::Rc` here [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/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: the lint level is 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/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 struct `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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/task/spawn.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn spawn(&self, future: Fut) -> Result<(), SpawnError> [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box` here [INFO] [stdout] | the method is available for `std::sync::Arc` here [INFO] [stdout] | the method is available for `std::rc::Rc` here [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 mutable reference `&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] [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 87) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::pending_once (line 36) [INFO] [stdout] src/future/mod.rs - future::FutureTestExt::run_in_background (line 62) [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" "bece1bba4fd35f599e1f8538502009e34e8dacebcf0b5eb5fb50b4e218a717dc"` [INFO] running `"docker" "rm" "-f" "bece1bba4fd35f599e1f8538502009e34e8dacebcf0b5eb5fb50b4e218a717dc"` [INFO] [stdout] bece1bba4fd35f599e1f8538502009e34e8dacebcf0b5eb5fb50b4e218a717dc