[INFO] fetching crate futures-preview 0.3.0-alpha.19... [INFO] checking futures-preview-0.3.0-alpha.19 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate futures-preview 0.3.0-alpha.19 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate futures-preview 0.3.0-alpha.19 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-preview 0.3.0-alpha.19 [INFO] finished tweaking crates.io crate futures-preview 0.3.0-alpha.19 [INFO] tweaked toml for crates.io crate futures-preview 0.3.0-alpha.19 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6d7bbab43820df578e850f0544696afd3beaded0599d7408e8f439ffcc7e8bb [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" "f6d7bbab43820df578e850f0544696afd3beaded0599d7408e8f439ffcc7e8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6d7bbab43820df578e850f0544696afd3beaded0599d7408e8f439ffcc7e8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d7bbab43820df578e850f0544696afd3beaded0599d7408e8f439ffcc7e8bb", kill_on_drop: false }` [INFO] [stdout] f6d7bbab43820df578e850f0544696afd3beaded0599d7408e8f439ffcc7e8bb [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] 16884d5b86b7448c009a7ccb7f84af53059adc01d633b5a3d2e7f43207cb0b21 [INFO] running `Command { std: "docker" "start" "-a" "16884d5b86b7448c009a7ccb7f84af53059adc01d633b5a3d2e7f43207cb0b21", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/inspect.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/stream.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/futures_ordered.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/sink.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/object_safety.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/io_cursor.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/io_read_line.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/join_all.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/io_read_exact.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/select_ok.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/select_all.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/future_obj.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/macro_comma_support.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/recurse.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/split.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/try_join_all.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/basic_combinators.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/stream_into_async_read.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/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/futures_ordered.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | 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/futures_ordered.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let cx = &mut noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [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] [stderr] error: could not compile `futures-preview` due to 5 previous errors [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/sink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:453:23 [INFO] [stdout] | [INFO] [stdout] 453 | 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:479:23 [INFO] [stdout] | [INFO] [stdout] 479 | let cx = &mut panic_context(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [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[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> tests/io_cursor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `std::assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> tests/io_cursor.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[1, 2]), Poll::Ready(Ok(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> tests/io_cursor.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[3, 4]), Poll::Ready(Ok(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> tests/io_cursor.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[5, 6]), Poll::Ready(Ok(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> tests/io_cursor.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[6, 7]), Poll::Ready(Ok(0))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Poll` [INFO] [stdout] --> tests/io_cursor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncWrite` [INFO] [stdout] --> tests/io_cursor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::io::AsyncWrite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> tests/io_cursor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_line.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [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:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | 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` in the current scope [INFO] [stdout] --> tests/io_read_line.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .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: cannot find macro `try_join` in this scope [INFO] [stdout] --> tests/macro_comma_support.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try_join!(future1, future2,) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `poll` in this scope [INFO] [stdout] --> tests/macro_comma_support.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let _ = poll!(async {}.boxed(),); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `join` in this scope [INFO] [stdout] --> tests/macro_comma_support.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | join!(future1, future2,); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pin_utils` [INFO] [stdout] --> tests/split.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pin_utils::unsafe_pinned; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `pin_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `unsafe_pinned` [INFO] [stdout] --> tests/split.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe_pinned!(stream: T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `unsafe_pinned` [INFO] [stdout] --> tests/split.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe_pinned!(sink: U); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `stream` found for struct `Pin<&mut Join>` in the current scope [INFO] [stdout] --> tests/split.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | self.stream().poll_next(cx) [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sink` found for struct `Pin<&mut Join>` in the current scope [INFO] [stdout] --> tests/split.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | self.sink().poll_ready(cx) [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sink` found for struct `Pin<&mut Join>` in the current scope [INFO] [stdout] --> tests/split.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | self.sink().start_send(item) [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sink` found for struct `Pin<&mut Join>` in the current scope [INFO] [stdout] --> tests/split.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | self.sink().poll_flush(cx) [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sink` found for struct `Pin<&mut Join>` in the current scope [INFO] [stdout] --> tests/split.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | self.sink().poll_close(cx) [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/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` in the current scope [INFO] [stdout] --> tests/basic_combinators.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/basic_combinators.rs:12:15: 16:10]>, [closure@tests/basic_combinators.rs:16:16: 20:10]>, [closure@tests/basic_combinators.rs:20:16: 22:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map` in the current scope [INFO] [stdout] --> tests/basic_combinators.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, futures::future::Ready>, [closure@tests/basic_combinators.rs:44:19: 48:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10]>, [closure@tests/basic_combinators.rs:54:17: 58:10]>, [closure@tests/basic_combinators.rs:59:18: 63:10]>, [closure@tests/basic_combinators.rs:64:14: 68:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10]>, [closure@tests/basic_combinators.rs:79:17: 83:10]>, [closure@tests/basic_combinators.rs:84:18: 88:10]>, [closure@tests/basic_combinators.rs:89:14: 92: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[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::{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 `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[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[E0599]: no method named `interleave_pending` found for struct `futures::stream::Iter` 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` 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: the method was found for [INFO] [stdout] - `Pin

` [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: the method was found for [INFO] [stdout] - `Pin

` [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: the method was found for [INFO] [stdout] - `Pin

` [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: the method was found for [INFO] [stdout] - `Pin

` [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: `AsyncRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::{AsyncRead, AsyncBufRead}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::{AsyncRead, AsyncBufRead}; [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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "16884d5b86b7448c009a7ccb7f84af53059adc01d633b5a3d2e7f43207cb0b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16884d5b86b7448c009a7ccb7f84af53059adc01d633b5a3d2e7f43207cb0b21", kill_on_drop: false }` [INFO] [stdout] 16884d5b86b7448c009a7ccb7f84af53059adc01d633b5a3d2e7f43207cb0b21