[INFO] fetching crate tokio-tcp 0.1.4... [INFO] building tokio-tcp-0.1.4 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tokio-tcp 0.1.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tokio-tcp 0.1.4 [INFO] finished tweaking crates.io crate tokio-tcp 0.1.4 [INFO] tweaked toml for crates.io crate tokio-tcp 0.1.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-tcp 0.1.4 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.4) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6ac4c3d1f9815100f1e75f869fcc1e8c6b256fe9e0c95977274b0fcb203f4be3 [INFO] running `Command { std: "docker" "start" "-a" "6ac4c3d1f9815100f1e75f869fcc1e8c6b256fe9e0c95977274b0fcb203f4be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ac4c3d1f9815100f1e75f869fcc1e8c6b256fe9e0c95977274b0fcb203f4be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ac4c3d1f9815100f1e75f869fcc1e8c6b256fe9e0c95977274b0fcb203f4be3", kill_on_drop: false }` [INFO] [stdout] 6ac4c3d1f9815100f1e75f869fcc1e8c6b256fe9e0c95977274b0fcb203f4be3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 485875ec0c7488af73c36372d4a3dbd564b72f1a36a5bf80fc6adb891b1275fc [INFO] running `Command { std: "docker" "start" "-a" "485875ec0c7488af73c36372d4a3dbd564b72f1a36a5bf80fc6adb891b1275fc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/stream.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | <&TcpStream>::read_buf(&mut &*self, buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(read_buf)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "485875ec0c7488af73c36372d4a3dbd564b72f1a36a5bf80fc6adb891b1275fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485875ec0c7488af73c36372d4a3dbd564b72f1a36a5bf80fc6adb891b1275fc", kill_on_drop: false }` [INFO] [stdout] 485875ec0c7488af73c36372d4a3dbd564b72f1a36a5bf80fc6adb891b1275fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2d726bbaeaee908a993b354f199461cc5cdd1525b90b2c7371a6797ce0ea1ab2 [INFO] running `Command { std: "docker" "start" "-a" "2d726bbaeaee908a993b354f199461cc5cdd1525b90b2c7371a6797ce0ea1ab2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/stream.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | <&TcpStream>::read_buf(&mut &*self, buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(read_buf)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/stream.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | <&TcpStream>::read_buf(&mut &*self, buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(read_buf)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> tests/tcp.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | client.set_linger(Some(Duration::from_millis(0))).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `net2::TcpStreamExt::set_linger(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(tcp_linger)]` to the crate attributes to enable `std::net::TcpStream::set_linger` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(tcp_linger)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "2d726bbaeaee908a993b354f199461cc5cdd1525b90b2c7371a6797ce0ea1ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d726bbaeaee908a993b354f199461cc5cdd1525b90b2c7371a6797ce0ea1ab2", kill_on_drop: false }` [INFO] [stdout] 2d726bbaeaee908a993b354f199461cc5cdd1525b90b2c7371a6797ce0ea1ab2