[INFO] fetching crate tokio-util 0.7.16... [INFO] building tokio-util-0.7.16 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tokio-util 0.7.16 into /workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-util 0.7.16 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 861622c8c51a8a74eaeec19d7d6b2b8400233bb5068a68cb429954732e9696f3 [INFO] running `Command { std: "docker" "start" "-a" "861622c8c51a8a74eaeec19d7d6b2b8400233bb5068a68cb429954732e9696f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "861622c8c51a8a74eaeec19d7d6b2b8400233bb5068a68cb429954732e9696f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861622c8c51a8a74eaeec19d7d6b2b8400233bb5068a68cb429954732e9696f3", kill_on_drop: false }` [INFO] [stdout] 861622c8c51a8a74eaeec19d7d6b2b8400233bb5068a68cb429954732e9696f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0760bc23a2e5c7d99b6b6733483fce6106ed928499029d0b6bb83d0cdcd279cc [INFO] running `Command { std: "docker" "start" "-a" "0760bc23a2e5c7d99b6b6733483fce6106ed928499029d0b6bb83d0cdcd279cc", 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 2.38s [INFO] running `Command { std: "docker" "inspect" "0760bc23a2e5c7d99b6b6733483fce6106ed928499029d0b6bb83d0cdcd279cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0760bc23a2e5c7d99b6b6733483fce6106ed928499029d0b6bb83d0cdcd279cc", kill_on_drop: false }` [INFO] [stdout] 0760bc23a2e5c7d99b6b6733483fce6106ed928499029d0b6bb83d0cdcd279cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ed3376affe1d9345dbadab911db4534da10fce3990ce97464eb35380a501a52 [INFO] running `Command { std: "docker" "start" "-a" "9ed3376affe1d9345dbadab911db4534da10fce3990ce97464eb35380a501a52", 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 fastrand v2.1.1 [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 async-stream-impl v0.3.6 [INFO] [stderr] Compiling pin-project-internal v1.1.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/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: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::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: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 `futures_util` [INFO] [stdout] --> tests/io_sink_writer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use futures_util::SinkExt; [INFO] [stdout] 4 + use futures_core::SinkExt; [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 "io_sink_writer") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: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/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/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.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[E0282]: type annotations needed [INFO] [stdout] --> tests/framed_stream.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(val.unwrap().unwrap(), $n); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 33 | assert_read!(pin!(io).poll_next(cx), b"abcdef".to_vec()); [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[E0282]: type annotations needed [INFO] [stdout] --> tests/framed_stream.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(assert_ready!(pin!(io).poll_next(cx)).unwrap().is_err()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/framed_stream.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(assert_ready!(pin!(io).poll_next(cx)).is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/framed_stream.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(val.unwrap().unwrap(), $n); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 36 | assert_read!(pin!(io).poll_next(cx), b"more data".to_vec()); [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] For more information about this error, try `rustc --explain E0432`. [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 "framed") due to 1 previous error [INFO] [stderr] error: could not compile `tokio-util` (test "framed_stream") due to 5 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] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `tokio-util` (test "io_stream_reader") due to 1 previous error [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] [stdout] For more information about an error, try `rustc --explain E0282`. [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 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" "9ed3376affe1d9345dbadab911db4534da10fce3990ce97464eb35380a501a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed3376affe1d9345dbadab911db4534da10fce3990ce97464eb35380a501a52", kill_on_drop: false }` [INFO] [stdout] 9ed3376affe1d9345dbadab911db4534da10fce3990ce97464eb35380a501a52