[INFO] fetching crate futures 0.3.15... [INFO] checking futures-0.3.15 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate futures 0.3.15 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate futures 0.3.15 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures 0.3.15 [INFO] finished tweaking crates.io crate futures 0.3.15 [INFO] tweaked toml for crates.io crate futures 0.3.15 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0241d946eebf11610a5c3ee6f046e3e2f8144262d1fd4909e5ca1cdb7223f045 [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" "0241d946eebf11610a5c3ee6f046e3e2f8144262d1fd4909e5ca1cdb7223f045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0241d946eebf11610a5c3ee6f046e3e2f8144262d1fd4909e5ca1cdb7223f045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0241d946eebf11610a5c3ee6f046e3e2f8144262d1fd4909e5ca1cdb7223f045", kill_on_drop: false }` [INFO] [stdout] 0241d946eebf11610a5c3ee6f046e3e2f8144262d1fd4909e5ca1cdb7223f045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4063795b1870a490dcbf7b287a95ea1581de50d32d3a9e20c3b04d9c3c36509b [INFO] running `Command { std: "docker" "start" "-a" "4063795b1870a490dcbf7b287a95ea1581de50d32d3a9e20c3b04d9c3c36509b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_into_async_read.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::{stream::StreamTestExt, 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/eager_drop.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/future_fuse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::panic_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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:5 [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/io_read_line.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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_line.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/future_abortable.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/future_basic_combinators.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, [closure@tests/eager_drop.rs:17:17: 20:10]>, [closure@tests/eager_drop.rs:21:14: 24:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, [closure@tests/eager_drop.rs:17:17: 20:10]>, [closure@tests/eager_drop.rs:21:14: 24:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, [closure@tests/eager_drop.rs:38:18: 41:10]>, [closure@tests/eager_drop.rs:42:14: 45:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, [closure@tests/eager_drop.rs:38:18: 41:10]>, [closure@tests/eager_drop.rs:42:14: 45:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Then, [closure@tests/eager_drop.rs:72:57: 72:69]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:73:15: 77:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Then, [closure@tests/eager_drop.rs:72:57: 72:69]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:73:15: 77:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_waker` in this scope [INFO] [stdout] --> tests/future_fuse.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let waker = panic_waker(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::AndThen>, [closure@tests/eager_drop.rs:91:57: 91:69]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:92:19: 96:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::AndThen>, [closure@tests/eager_drop.rs:91:57: 91:69]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:92:19: 96:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_line.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | 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/stream_futures_ordered.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::OrElse>, [closure@tests/eager_drop.rs:110:57: 110:69]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:111:18: 115:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::OrElse>, [closure@tests/eager_drop.rs:110:57: 110:69]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:111:18: 115:10]>` [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: aborting due to 6 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [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[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/stream_select_next_some.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/future_abortable.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/future_basic_combinators.rs:12:15: 16:10]>, [closure@tests/future_basic_combinators.rs:17:14: 21:10]>, [closure@tests/future_basic_combinators.rs:22:14: 24:10]>` in the current scope [INFO] [stdout] --> tests/future_basic_combinators.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/future_basic_combinators.rs:12:15: 16:10]>, [closure@tests/future_basic_combinators.rs:17:14: 21:10]>, [closure@tests/future_basic_combinators.rs:22:14: 24:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | 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_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 124 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 167 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1, 2, 3, 4][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 169 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 173 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 321 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 323 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 325 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_fill_buf` (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_line.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | 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]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_line.rs:45:80 [INFO] [stdout] | [INFO] [stdout] 45 | stream::iter(vec![&b"12"[..], &b"\n\n"[..]]).map(Ok).into_async_read().interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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 11 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[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:48:19: 52:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:53:18: 57:10]>, [closure@tests/future_basic_combinators.rs:58:17: 62:10]>, [closure@tests/future_basic_combinators.rs:63:18: 67:10]>, [closure@tests/future_basic_combinators.rs:68:14: 72:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:73:19: 77:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:78:18: 82:10]>, [closure@tests/future_basic_combinators.rs:83:17: 87:10]>, [closure@tests/future_basic_combinators.rs:88:18: 92:10]>, [closure@tests/future_basic_combinators.rs:93:14: 96:10]>` in the current scope [INFO] [stdout] --> tests/future_basic_combinators.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:48:19: 52:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:53:18: 57:10]>, [closure@tests/future_basic_combinators.rs:58:17: 62:10]>, [closure@tests/future_basic_combinators.rs:63:18: 67:10]>, [closure@tests/future_basic_combinators.rs:68:14: 72:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:73:19: 77:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:78:18: 82:10]>, [closure@tests/future_basic_combinators.rs:83:17: 87:10]>, [closure@tests/future_basic_combinators.rs:88:18: 92:10]>, [closure@tests/future_basic_combinators.rs:93:14: 96:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 53 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_read` (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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 56 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_read` (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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 59 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_read` (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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 62 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_read` (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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 65 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_read` (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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 68 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_read` (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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 71 | assert_read!(reader, &mut buf, 0); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_read` (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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 81 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_fill_buf` (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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 84 | assert_fill_buf!(reader, &[4, 5][..]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_fill_buf` (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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | 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 the macro `assert_fill_buf` (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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | assert_fill_buf!(reader, &[3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_fill_buf` (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:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | 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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_into_async_read.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | assert_fill_buf!(reader, &[][..]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_fill_buf` (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:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | 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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `select` (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:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | 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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `select` (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 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `$crate::select_internal` (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 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `select` (in Nightly builds, run with -Z macro-backtrace for more info) [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[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:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | 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:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `select` (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:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | 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:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `select` (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:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [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:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `$crate::select_internal` (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:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [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:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: this error originates in the macro `select` (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_futures_ordered.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(stream.poll_next_unpin(&mut noop_context()).is_pending()); [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/stream_futures_ordered.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | 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/stream_futures_ordered.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let cx = &mut noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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: aborting due to 4 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[E0599]: no method named `interleave_pending` found for struct `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:49:48: 49:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | 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:49:48: 49:93]>>` [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:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 53 | 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 the macro `assert_read` (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:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 56 | 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 the macro `assert_read` (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:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 59 | 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 the macro `assert_read` (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:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 62 | 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 the macro `assert_read` (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:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 65 | 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 the macro `assert_read` (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:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 68 | 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 the macro `assert_read` (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:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 71 | 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 the macro `assert_read` (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 `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:76:48: 76:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | 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:76:48: 76:93]>>` [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:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 81 | 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 the macro `assert_fill_buf` (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:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | 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:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 84 | 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 the macro `assert_fill_buf` (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:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | 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:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | 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 the macro `assert_fill_buf` (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(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:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | 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, &[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 the macro `assert_fill_buf` (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(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:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | 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, &[][..]); [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 the macro `assert_fill_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::{AsyncBufRead, AsyncRead}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::{AsyncBufRead, AsyncRead}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> tests/stream_into_async_read.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 3 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4063795b1870a490dcbf7b287a95ea1581de50d32d3a9e20c3b04d9c3c36509b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4063795b1870a490dcbf7b287a95ea1581de50d32d3a9e20c3b04d9c3c36509b", kill_on_drop: false }` [INFO] [stdout] 4063795b1870a490dcbf7b287a95ea1581de50d32d3a9e20c3b04d9c3c36509b