[INFO] fetching crate tokio-util 0.7.16... [INFO] testing tokio-util-0.7.16 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tokio-util 0.7.16 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-util 0.7.16 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-test v0.3.31 [INFO] [stderr] Downloaded pin-project-internal v1.1.6 [INFO] [stderr] Downloaded bytes v1.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] [stderr] Downloaded pin-project v1.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee824c375a54016831d3c3e99a550273ee339b1c51109c6e6e7af7fcf387cf5d [INFO] running `Command { std: "docker" "start" "-a" "ee824c375a54016831d3c3e99a550273ee339b1c51109c6e6e7af7fcf387cf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee824c375a54016831d3c3e99a550273ee339b1c51109c6e6e7af7fcf387cf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee824c375a54016831d3c3e99a550273ee339b1c51109c6e6e7af7fcf387cf5d", kill_on_drop: false }` [INFO] [stdout] ee824c375a54016831d3c3e99a550273ee339b1c51109c6e6e7af7fcf387cf5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7449dfa0863b8682b6bdd4b9f8d87f4cca4f0d3de2ac887782f4ed322dc96d6d [INFO] running `Command { std: "docker" "start" "-a" "7449dfa0863b8682b6bdd4b9f8d87f4cca4f0d3de2ac887782f4ed322dc96d6d", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "7449dfa0863b8682b6bdd4b9f8d87f4cca4f0d3de2ac887782f4ed322dc96d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7449dfa0863b8682b6bdd4b9f8d87f4cca4f0d3de2ac887782f4ed322dc96d6d", kill_on_drop: false }` [INFO] [stdout] 7449dfa0863b8682b6bdd4b9f8d87f4cca4f0d3de2ac887782f4ed322dc96d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b180b663dc61f1f45644e4673aecfdb688e5be6d8c99d9ccab9b4ce7b65ab90f [INFO] running `Command { std: "docker" "start" "-a" "b180b663dc61f1f45644e4673aecfdb688e5be6d8c99d9ccab9b4ce7b65ab90f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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_stream.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_util::codec::{BytesCodec, 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: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::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: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: 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] For more information about this error, try `rustc --explain E0432`. [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: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] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_util::task; [INFO] [stdout] 7 + use std::task; [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_util::task; [INFO] [stdout] 7 + use futures::task; [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_util::task; [INFO] [stdout] 7 + use futures_core::task; [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_util::task; [INFO] [stdout] 7 + use futures_test::task; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "_require_full") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-util` (test "framed_read") due to 1 previous error [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util` (test "spawn_pinned") due to 1 previous error [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/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_stream") due to 1 previous error [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] [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" "b180b663dc61f1f45644e4673aecfdb688e5be6d8c99d9ccab9b4ce7b65ab90f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b180b663dc61f1f45644e4673aecfdb688e5be6d8c99d9ccab9b4ce7b65ab90f", kill_on_drop: false }` [INFO] [stdout] b180b663dc61f1f45644e4673aecfdb688e5be6d8c99d9ccab9b4ce7b65ab90f