[INFO] fetching crate tokio-util 0.7.16... [INFO] building tokio-util-0.7.16 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate tokio-util 0.7.16 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tokio-util 0.7.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tokio-util 0.7.16 [INFO] tweaked toml for crates.io crate tokio-util 0.7.16 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-util 0.7.16 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-util 0.7.16 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-test v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a60adf1545d471d74b904657928ecaa960128bc045bfa01e31c64ce016886261 [INFO] running `Command { std: "docker" "start" "-a" "a60adf1545d471d74b904657928ecaa960128bc045bfa01e31c64ce016886261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a60adf1545d471d74b904657928ecaa960128bc045bfa01e31c64ce016886261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a60adf1545d471d74b904657928ecaa960128bc045bfa01e31c64ce016886261", kill_on_drop: false }` [INFO] [stdout] a60adf1545d471d74b904657928ecaa960128bc045bfa01e31c64ce016886261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6368d2fd5f50a4183f1649aedfd39d60ca1a00b144aefcdf5687947efa2eb00 [INFO] running `Command { std: "docker" "start" "-a" "d6368d2fd5f50a4183f1649aedfd39d60ca1a00b144aefcdf5687947efa2eb00", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling tokio-util v0.7.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "d6368d2fd5f50a4183f1649aedfd39d60ca1a00b144aefcdf5687947efa2eb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6368d2fd5f50a4183f1649aedfd39d60ca1a00b144aefcdf5687947efa2eb00", kill_on_drop: false }` [INFO] [stdout] d6368d2fd5f50a4183f1649aedfd39d60ca1a00b144aefcdf5687947efa2eb00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 582435f623c8c391fb9dc1a24b9580abaa9c50e3605443545f4538089657ad92 [INFO] running `Command { std: "docker" "start" "-a" "582435f623c8c391fb9dc1a24b9580abaa9c50e3605443545f4538089657ad92", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures-test v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.16 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/framed.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_util::codec::{Decoder, Encoder, Framed, FramedParts}; [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:29:13 [INFO] [stdout] | [INFO] [stdout] 25 | / cfg_codec! { [INFO] [stdout] 26 | | #[macro_use] [INFO] [stdout] 27 | | mod tracing; [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | pub mod codec; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- 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:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(feature = "rt")] [INFO] [stdout] | -------------- the item is gated behind the `rt` feature [INFO] [stdout] 51 | pub mod task; [INFO] [stdout] | ^^^^ [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 "framed") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:43:13 [INFO] [stdout] | [INFO] [stdout] 42 | / cfg_io! { [INFO] [stdout] 43 | | pub mod io; [INFO] [stdout] | | ^^ [INFO] [stdout] 44 | | } [INFO] [stdout] | |_- the item is gated behind the `io` feature [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:29:13 [INFO] [stdout] | [INFO] [stdout] 25 | / cfg_codec! { [INFO] [stdout] 26 | | #[macro_use] [INFO] [stdout] 27 | | mod tracing; [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | pub mod codec; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_inspect.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | tee.read_to_end(&mut teeout).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/task_tracker.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | assert_pending!(wait.poll()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_inspect.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/task_tracker.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | assert_ready!(wait.poll()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_inspect.rs:188:53 [INFO] [stdout] | [INFO] [stdout] 188 | write_all_vectored(tee, bufs.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "io_inspect") due to 4 previous errors [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 1 previous error [INFO] [stderr] error: could not compile `tokio-util` (test "task_tracker") due to 3 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] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/udp.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 25 | / cfg_codec! { [INFO] [stdout] 26 | | #[macro_use] [INFO] [stdout] 27 | | mod tracing; [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | pub mod codec; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::udp` [INFO] [stdout] --> tests/udp.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | 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:34:13 [INFO] [stdout] | [INFO] [stdout] 32 | / cfg_net! { [INFO] [stdout] 33 | | #[cfg(not(target_arch = "wasm32"))] [INFO] [stdout] 34 | | pub mod udp; [INFO] [stdout] | | ^^^ [INFO] [stdout] 35 | | pub mod net; [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [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 2 previous errors [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:43:13 [INFO] [stdout] | [INFO] [stdout] 42 | / cfg_io! { [INFO] [stdout] 43 | | pub mod io; [INFO] [stdout] | | ^^ [INFO] [stdout] 44 | | } [INFO] [stdout] | |_- the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_reader_stream.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | let item = stream.next().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_reader_stream.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(stream.next().await.is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "io_reader_stream") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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 "length_delimited") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "582435f623c8c391fb9dc1a24b9580abaa9c50e3605443545f4538089657ad92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582435f623c8c391fb9dc1a24b9580abaa9c50e3605443545f4538089657ad92", kill_on_drop: false }` [INFO] [stdout] 582435f623c8c391fb9dc1a24b9580abaa9c50e3605443545f4538089657ad92