[INFO] cloning repository https://github.com/WumaCoder/cat-pty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WumaCoder/cat-pty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWumaCoder%2Fcat-pty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWumaCoder%2Fcat-pty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60a95dac461b98467bfcd5658e38c5ce71749c9c [INFO] testing WumaCoder/cat-pty against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWumaCoder%2Fcat-pty" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WumaCoder/cat-pty [INFO] finished tweaking git repo https://github.com/WumaCoder/cat-pty [INFO] tweaked toml for git repo https://github.com/WumaCoder/cat-pty written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WumaCoder/cat-pty on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WumaCoder/cat-pty 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded comma v1.0.0 [INFO] [stderr] Downloaded ws v0.9.2 [INFO] [stderr] Downloaded axum-core v0.4.2 [INFO] [stderr] Downloaded async-trait v0.1.76 [INFO] [stderr] Downloaded hyper-util v0.1.2 [INFO] [stderr] Downloaded h2 v0.4.0 [INFO] [stderr] Downloaded axum v0.7.3 [INFO] [stderr] Downloaded serde_json v1.0.109 [INFO] [stderr] Downloaded rustix v0.38.27 [INFO] [stderr] Downloaded rexpect v0.5.0 [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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1208f2882cdf2e34cd05553c282db48d1f89d0c6ed92379221eebbacac94e19 [INFO] running `Command { std: "docker" "start" "-a" "c1208f2882cdf2e34cd05553c282db48d1f89d0c6ed92379221eebbacac94e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1208f2882cdf2e34cd05553c282db48d1f89d0c6ed92379221eebbacac94e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1208f2882cdf2e34cd05553c282db48d1f89d0c6ed92379221eebbacac94e19", kill_on_drop: false }` [INFO] [stdout] c1208f2882cdf2e34cd05553c282db48d1f89d0c6ed92379221eebbacac94e19 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3180fed16afffccfde92069a2fd7b64719b1d18d2fca7a1fcd247e7f06696b1c [INFO] running `Command { std: "docker" "start" "-a" "3180fed16afffccfde92069a2fd7b64719b1d18d2fca7a1fcd247e7f06696b1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling async-trait v0.1.76 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.27 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling axum-core v0.4.2 [INFO] [stderr] Compiling axum v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling comma v1.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling ws v0.9.2 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling rexpect v0.5.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.2 [INFO] [stderr] Compiling cat-pty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dup` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use nix::unistd::{close, dup, dup2, setsid, write}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `fmt::format` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{borrow::BorrowMut, ffi::CString, fmt::format, os::fd::AsRawFd, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{sync::mpsc, time::sleep}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pty` is never used [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn create_pty() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 16s [INFO] running `Command { std: "docker" "inspect" "3180fed16afffccfde92069a2fd7b64719b1d18d2fca7a1fcd247e7f06696b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3180fed16afffccfde92069a2fd7b64719b1d18d2fca7a1fcd247e7f06696b1c", kill_on_drop: false }` [INFO] [stdout] 3180fed16afffccfde92069a2fd7b64719b1d18d2fca7a1fcd247e7f06696b1c [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56d0da39f89cafb1f778f8cc83eb0a4608bc3354989245bf4d358cc98011c48b [INFO] running `Command { std: "docker" "start" "-a" "56d0da39f89cafb1f778f8cc83eb0a4608bc3354989245bf4d358cc98011c48b", kill_on_drop: false }` [INFO] [stderr] Compiling cat-pty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dup` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use nix::unistd::{close, dup, dup2, setsid, write}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `fmt::format` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{borrow::BorrowMut, ffi::CString, fmt::format, os::fd::AsRawFd, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{sync::mpsc, time::sleep}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pty` is never used [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn create_pty() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "56d0da39f89cafb1f778f8cc83eb0a4608bc3354989245bf4d358cc98011c48b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d0da39f89cafb1f778f8cc83eb0a4608bc3354989245bf4d358cc98011c48b", kill_on_drop: false }` [INFO] [stdout] 56d0da39f89cafb1f778f8cc83eb0a4608bc3354989245bf4d358cc98011c48b [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bffa461859dc793d1fa8402c30a3046f86fa4d6da0d66e98b8686aea5bde80eb [INFO] running `Command { std: "docker" "start" "-a" "bffa461859dc793d1fa8402c30a3046f86fa4d6da0d66e98b8686aea5bde80eb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `dup` [INFO] [stderr] --> src/main.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use nix::unistd::{close, dup, dup2, setsid, write}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `borrow::BorrowMut` and `fmt::format` [INFO] [stderr] --> src/main.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{borrow::BorrowMut, ffi::CString, fmt::format, os::fd::AsRawFd, thread, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `time::sleep` [INFO] [stderr] --> src/main.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::{sync::mpsc, time::sleep}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_pty` is never used [INFO] [stderr] --> src/main.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn create_pty() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cat-pty` (bin "cat-pty" test) generated 4 warnings (run `cargo fix --bin "cat-pty" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cat_pty-7fc7ce63068c6acf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bffa461859dc793d1fa8402c30a3046f86fa4d6da0d66e98b8686aea5bde80eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffa461859dc793d1fa8402c30a3046f86fa4d6da0d66e98b8686aea5bde80eb", kill_on_drop: false }` [INFO] [stdout] bffa461859dc793d1fa8402c30a3046f86fa4d6da0d66e98b8686aea5bde80eb