[INFO] fetching crate tokio-util 0.7.10... [INFO] checking tokio-util-0.7.10 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate tokio-util 0.7.10 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tokio-util 0.7.10 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-util 0.7.10 [INFO] finished tweaking crates.io crate tokio-util 0.7.10 [INFO] tweaked toml for crates.io crate tokio-util 0.7.10 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 85 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-test v0.3.30 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2327de99bf8bb0b910d5f076a19a006db5304e0c436d2f22bc52c7c8badb0c42 [INFO] running `Command { std: "docker" "start" "-a" "2327de99bf8bb0b910d5f076a19a006db5304e0c436d2f22bc52c7c8badb0c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2327de99bf8bb0b910d5f076a19a006db5304e0c436d2f22bc52c7c8badb0c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2327de99bf8bb0b910d5f076a19a006db5304e0c436d2f22bc52c7c8badb0c42", kill_on_drop: false }` [INFO] [stdout] 2327de99bf8bb0b910d5f076a19a006db5304e0c436d2f22bc52c7c8badb0c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13692749b13b99ebac2c451288736a24d67cf5561656ac5c8c0f07df058628da [INFO] running `Command { std: "docker" "start" "-a" "13692749b13b99ebac2c451288736a24d67cf5561656ac5c8c0f07df058628da", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures-test v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.10 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stdout] error[E0432]: unresolved import `tokio_util::io` [INFO] [stdout] --> tests/io_stream_reader.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::io::StreamReader; [INFO] [stdout] | ^^ could not find `io` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod io; [INFO] [stdout] | ^^ [INFO] [stdout] = note: the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: run tokio-util tests with `--features full` [INFO] [stdout] --> tests/_require_full.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("run tokio-util tests with `--features full`"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/codecs.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_util::codec::{AnyDelimiterCodec, BytesCodec, Decoder, Encoder, LinesCodec}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/framed_read.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, FramedRead}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::task` [INFO] [stdout] --> tests/task_tracker.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_util::task::TaskTracker; [INFO] [stdout] | ^^^^ could not find `task` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | pub mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rt` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "_require_full") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/udp.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, Encoder, LinesCodec}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `tokio_util::udp` [INFO] [stdout] --> tests/udp.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::udp::UdpFramed; [INFO] [stdout] | ^^^ could not find `udp` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub mod udp; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> tests/io_stream_reader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/framed_write.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_util::codec::{Encoder, FramedWrite}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "io_stream_reader") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0432]: unresolved import `tokio_util::io` [INFO] [stdout] --> tests/io_inspect.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_util::io::{InspectReader, InspectWriter}; [INFO] [stdout] | ^^ could not find `io` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod io; [INFO] [stdout] | ^^ [INFO] [stdout] = note: the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::task` [INFO] [stdout] --> tests/spawn_pinned.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | pub mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 7 | use core::task; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] 7 | use futures::task; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] 7 | use futures_core::task; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 7 | use futures_test::task; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "udp") due to 3 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/io_sink_writer.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::codec::{Encoder, FramedWrite}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::io` [INFO] [stdout] --> tests/io_sink_writer.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_util::io::{CopyToBytes, SinkWriter}; [INFO] [stdout] | ^^ could not find `io` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod io; [INFO] [stdout] | ^^ [INFO] [stdout] = note: the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> tests/io_sink_writer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::SinkExt; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "framed_write") due to 2 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "io_sink_writer") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/length_delimited.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_util::codec::*; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "framed_read") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "task_tracker") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "codecs") due to 2 previous errors [INFO] [stderr] error: could not compile `tokio-util` (test "spawn_pinned") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> tests/io_inspect.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, ReadBuf}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> tests/io_inspect.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, ReadBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "io_inspect") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: could not find `io` in `tokio_util` [INFO] [stdout] --> tests/io_reader_stream.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | let mut stream = tokio_util::io::ReaderStream::new(reader); [INFO] [stdout] | ^^ could not find `io` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod io; [INFO] [stdout] | ^^ [INFO] [stdout] = note: the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> tests/io_reader_stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "io_reader_stream") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 97 - let io = length_delimited::Builder::new() [INFO] [stdout] 97 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - let io = length_delimited::Builder::new() [INFO] [stdout] 115 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 285 - let io = length_delimited::Builder::new() [INFO] [stdout] 285 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:297:14 [INFO] [stdout] | [INFO] [stdout] 297 | let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 297 - let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] 297 + let io = Builder::new().new_read(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 310 - let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] 310 + let io = Builder::new().new_read(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 326 - let io = length_delimited::Builder::new() [INFO] [stdout] 326 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 339 - let io = length_delimited::Builder::new() [INFO] [stdout] 339 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 358 - let io = length_delimited::Builder::new() [INFO] [stdout] 358 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:379:14 [INFO] [stdout] | [INFO] [stdout] 379 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 379 - let io = length_delimited::Builder::new() [INFO] [stdout] 379 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 400 - let io = length_delimited::Builder::new() [INFO] [stdout] 400 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:416:14 [INFO] [stdout] | [INFO] [stdout] 416 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 416 - let io = length_delimited::Builder::new() [INFO] [stdout] 416 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:560:14 [INFO] [stdout] | [INFO] [stdout] 560 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 560 - let io = length_delimited::Builder::new() [INFO] [stdout] 560 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:580:14 [INFO] [stdout] | [INFO] [stdout] 580 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 580 - let io = length_delimited::Builder::new() [INFO] [stdout] 580 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 601 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 601 - let io = length_delimited::Builder::new() [INFO] [stdout] 601 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:616:14 [INFO] [stdout] | [INFO] [stdout] 616 | let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 616 - let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] 616 + let io = Builder::new().new_write(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 639 - let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] 639 + let io = Builder::new().new_write(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | let io = length_delimited::Builder::new().new_write(mock! {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 665 - let io = length_delimited::Builder::new().new_write(mock! {}); [INFO] [stdout] 665 + let io = Builder::new().new_write(mock! {}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | let mut codec = length_delimited::Builder::new().new_codec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 681 - let mut codec = length_delimited::Builder::new().new_codec(); [INFO] [stdout] 681 + let mut codec = Builder::new().new_codec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let io = Box::pin(FramedRead::new(mock!(), LengthDelimitedCodec::new())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | let io = Box::pin(FramedRead::new(mock!(), LengthDelimitedCodec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:237:14 [INFO] [stdout] | [INFO] [stdout] 237 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | let io = FramedWrite::new(mock!(), LengthDelimitedCodec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:435:40 [INFO] [stdout] | [INFO] [stdout] 435 | let io = FramedWrite::new(mock!(), LengthDelimitedCodec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 445 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:533:14 [INFO] [stdout] | [INFO] [stdout] 533 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> tests/length_delimited.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::{pin_mut, Sink, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sink` [INFO] [stdout] --> tests/length_delimited.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::{pin_mut, Sink, Stream}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "length_delimited") due to 50 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13692749b13b99ebac2c451288736a24d67cf5561656ac5c8c0f07df058628da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13692749b13b99ebac2c451288736a24d67cf5561656ac5c8c0f07df058628da", kill_on_drop: false }` [INFO] [stdout] 13692749b13b99ebac2c451288736a24d67cf5561656ac5c8c0f07df058628da