[INFO] fetching crate futures 0.3.8... [INFO] checking futures-0.3.8 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate futures 0.3.8 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate futures 0.3.8 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures 0.3.8 [INFO] finished tweaking crates.io crate futures 0.3.8 [INFO] tweaked toml for crates.io crate futures 0.3.8 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de99ce02b2ba7a66ad5b7062dc4c7466f7a2a949df7d8458f2f105011c3b776f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de99ce02b2ba7a66ad5b7062dc4c7466f7a2a949df7d8458f2f105011c3b776f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de99ce02b2ba7a66ad5b7062dc4c7466f7a2a949df7d8458f2f105011c3b776f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de99ce02b2ba7a66ad5b7062dc4c7466f7a2a949df7d8458f2f105011c3b776f", kill_on_drop: false }` [INFO] [stdout] de99ce02b2ba7a66ad5b7062dc4c7466f7a2a949df7d8458f2f105011c3b776f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c15aabde7d859ce38e25cd55a1b6d6950df3657d8d23978d78151da75e14032 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4c15aabde7d859ce38e25cd55a1b6d6950df3657d8d23978d78151da75e14032", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.3.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/abortable.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use futures_test::task::new_count_waker; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_into_async_read.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::{task::noop_context, stream::StreamTestExt}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_into_async_read.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use futures_test::{task::noop_context, stream::StreamTestExt}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/abortable.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `futures` tests must have all stable features activated: use `--all-features` or `--features default,thread-pool,io-compat` [INFO] [stdout] --> tests/_require_features.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / compile_error!("`futures` tests must have all stable features activated: \ [INFO] [stdout] 7 | | use `--all-features` or `--features default,thread-pool,io-compat`" [INFO] [stdout] 8 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_select_next_some.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::new_count_waker; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_select_next_some.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_select_next_some.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_until.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 33 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_select_all.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 36 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 39 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_until.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 42 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::executor::ThreadPool` [INFO] [stdout] --> tests/eventual.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 48 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 51 | assert_read!(reader, &mut buf, 0); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 87 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | assert_fill_buf!(reader, &[4, 5][..]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 96 | assert_fill_buf!(reader, &[3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 99 | assert_fill_buf!(reader, &[][..]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_to_string.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_to_string.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_select_all.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_line.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_line.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/stream_select_next_some.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_until.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/compat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::timer::Delay; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/compat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::compat` [INFO] [stdout] --> tests/compat.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::compat::Future01CompatExt; [INFO] [stdout] | ^^^^^^ could not find `compat` in `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_line.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_to_string.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/oneshot.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/oneshot.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/oneshot.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/oneshot.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/oneshot.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/sink.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/sink.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/sink.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> tests/compat.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Delay::new(Instant::now()).compat().await [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> tests/compat.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | match s.poll_next_unpin(&mut panic_context()) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:599:23 [INFO] [stdout] | [INFO] [stdout] 599 | let cx = &mut panic_context(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:631:23 [INFO] [stdout] | [INFO] [stdout] 631 | let cx = &mut panic_context(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<{integer}>` in the current scope [INFO] [stdout] --> tests/stream_select_next_some.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fut = future::ready(1).pending_once(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> tests/eventual.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut async_tasks = FuturesUnordered::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut total = 0; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for reference `&'static [u8; 2]` in the current scope [INFO] [stdout] --> tests/io_read_until.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut buf = b"12".interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&'static [u8; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<{integer}>` in the current scope [INFO] [stdout] --> tests/stream_select_next_some.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | let mut fut = future::ready(1).pending_once(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for reference `&'static [u8; 2]` in the current scope [INFO] [stdout] --> tests/io_read_line.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut buf = b"12".interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&'static [u8; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_to_string.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncReadExt` [INFO] [stdout] --> tests/io_read_to_string.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use futures::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut async_tasks = FuturesUnordered::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut total = 0; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:29:48: 29:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:29:48: 29:93]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compat` found for struct `Pin + std::marker::Send>>` in the current scope [INFO] [stdout] --> tests/compat.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | runtime.block_on(f.boxed().compat()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Pin + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 33 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 36 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 39 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 42 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 45 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 48 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_read!(reader, &mut buf, 0); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_line.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::MapOk, [closure@tests/oneshot.rs:13:16: 13:36]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | rx1.map_ok(move |x| tx2.send(x)).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::MapOk, [closure@tests/oneshot.rs:13:16: 13:36]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:82:48: 82:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:82:48: 82:93]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_until.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 87 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | reader.as_mut().consume(3); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 90 | assert_fill_buf!(reader, &[4, 5][..]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | reader.as_mut().consume(2); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 93 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | reader.as_mut().consume(2); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 96 | assert_fill_buf!(reader, &[3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | reader.as_mut().consume(3); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 99 | assert_fill_buf!(reader, &[][..]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncBufReadExt` [INFO] [stdout] --> tests/io_read_line.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use futures::io::AsyncBufReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::io::AsyncRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> tests/stream_into_async_read.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncBufRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use futures::io::AsyncBufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> tests/stream_into_async_read.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncBufReadExt` [INFO] [stdout] --> tests/io_read_until.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use futures::io::AsyncBufReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::MapOk, [closure@tests/oneshot.rs:30:16: 30:45]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | rx1.map_ok(move |x| tx2.send(x).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::MapOk, [closure@tests/oneshot.rs:30:16: 30:45]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::MapOk, [closure@tests/oneshot.rs:45:16: 45:45]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | rx1.map_ok(move |x| tx2.send(x).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::MapOk, [closure@tests/oneshot.rs:45:16: 45:45]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map, [closure@tests/oneshot.rs:61:13: 61:52]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 61 | rx1.map(move |result| tx2.send(result).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, [closure@tests/oneshot.rs:61:13: 61:52]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map, [closure@tests/oneshot.rs:78:13: 78:52]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | rx1.map(move |result| tx2.send(result).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, [closure@tests/oneshot.rs:78:13: 78:52]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4c15aabde7d859ce38e25cd55a1b6d6950df3657d8d23978d78151da75e14032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c15aabde7d859ce38e25cd55a1b6d6950df3657d8d23978d78151da75e14032", kill_on_drop: false }` [INFO] [stdout] 4c15aabde7d859ce38e25cd55a1b6d6950df3657d8d23978d78151da75e14032