[INFO] fetching crate tcpproxy-rs 0.7.5... [INFO] testing tcpproxy-rs-0.7.5 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tcpproxy-rs 0.7.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate tcpproxy-rs 0.7.5 [INFO] finished tweaking crates.io crate tcpproxy-rs 0.7.5 [INFO] tweaked toml for crates.io crate tcpproxy-rs 0.7.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tcpproxy-rs 0.7.5 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 tcpproxy-rs 0.7.5 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] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 74dbb4638ed9e79121ffb242b0792cfa72876b47fe77e64ec69dd3db0e236150 [INFO] running `Command { std: "docker" "start" "-a" "74dbb4638ed9e79121ffb242b0792cfa72876b47fe77e64ec69dd3db0e236150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74dbb4638ed9e79121ffb242b0792cfa72876b47fe77e64ec69dd3db0e236150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74dbb4638ed9e79121ffb242b0792cfa72876b47fe77e64ec69dd3db0e236150", kill_on_drop: false }` [INFO] [stdout] 74dbb4638ed9e79121ffb242b0792cfa72876b47fe77e64ec69dd3db0e236150 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 972cfd985500c8c3e9711d0176e046396328e6a37eb9b464a09028ce3160ba9e [INFO] running `Command { std: "docker" "start" "-a" "972cfd985500c8c3e9711d0176e046396328e6a37eb9b464a09028ce3160ba9e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tcpproxy-rs v0.7.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/main.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(opcode) => {} //println!("Invalid opcode {} from {}", opcode, client_addr); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | Err(e) => {} //eprintln!("failed to read from socket; err = {:?}", e); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | Err(e) => {}//eprintln!("failed to write RS2 response to socket; err = {:?}", e) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | Ok(count) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 254 | Ok(_count) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 254 - Ok(count) => { [INFO] [stdout] 254 + Ok(BUF_SIZE) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | Err(e) => {}//eprintln!("failed to write JS5 response to socket; err = {:?}", e) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | Err(e) => {}//eprintln!("failed to read from JS5 socket; err = {:?}", e) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.63s [INFO] running `Command { std: "docker" "inspect" "972cfd985500c8c3e9711d0176e046396328e6a37eb9b464a09028ce3160ba9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972cfd985500c8c3e9711d0176e046396328e6a37eb9b464a09028ce3160ba9e", kill_on_drop: false }` [INFO] [stdout] 972cfd985500c8c3e9711d0176e046396328e6a37eb9b464a09028ce3160ba9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 91924117308ba8d71671bdae6b9b72a5f2a36b80bbc46381c07f14cf9022423e [INFO] running `Command { std: "docker" "start" "-a" "91924117308ba8d71671bdae6b9b72a5f2a36b80bbc46381c07f14cf9022423e", kill_on_drop: false }` [INFO] [stderr] Compiling tcpproxy-rs v0.7.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/main.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(opcode) => {} //println!("Invalid opcode {} from {}", opcode, client_addr); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | Err(e) => {} //eprintln!("failed to read from socket; err = {:?}", e); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | Err(e) => {}//eprintln!("failed to write RS2 response to socket; err = {:?}", e) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | Ok(count) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 254 | Ok(_count) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 254 - Ok(count) => { [INFO] [stdout] 254 + Ok(BUF_SIZE) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | Err(e) => {}//eprintln!("failed to write JS5 response to socket; err = {:?}", e) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | Err(e) => {}//eprintln!("failed to read from JS5 socket; err = {:?}", e) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "91924117308ba8d71671bdae6b9b72a5f2a36b80bbc46381c07f14cf9022423e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91924117308ba8d71671bdae6b9b72a5f2a36b80bbc46381c07f14cf9022423e", kill_on_drop: false }` [INFO] [stdout] 91924117308ba8d71671bdae6b9b72a5f2a36b80bbc46381c07f14cf9022423e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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", kill_on_drop: false }` [INFO] [stdout] 8f858df11e365d14996efe60b8ece0e3f7ae7be3128c892379e22c25c9982070 [INFO] running `Command { std: "docker" "start" "-a" "8f858df11e365d14996efe60b8ece0e3f7ae7be3128c892379e22c25c9982070", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `opcode` [INFO] [stderr] --> src/main.rs:155:20 [INFO] [stderr] | [INFO] [stderr] 155 | Ok(opcode) => {} //println!("Invalid opcode {} from {}", opcode, client_addr); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:156:21 [INFO] [stderr] | [INFO] [stderr] 156 | Err(e) => {} //eprintln!("failed to read from socket; err = {:?}", e); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | Err(e) => {}//eprintln!("failed to write RS2 response to socket; err = {:?}", e) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:208:13 [INFO] [stderr] | [INFO] [stderr] 208 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/main.rs:254:12 [INFO] [stderr] | [INFO] [stderr] 254 | Ok(count) => { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 254 | Ok(_count) => { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `BUF_SIZE` [INFO] [stderr] | [INFO] [stderr] 254 - Ok(count) => { [INFO] [stderr] 254 + Ok(BUF_SIZE) => { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:192:21 [INFO] [stderr] | [INFO] [stderr] 192 | Err(e) => {}//eprintln!("failed to write JS5 response to socket; err = {:?}", e) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | Err(e) => {}//eprintln!("failed to read from JS5 socket; err = {:?}", e) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: `tcpproxy-rs` (bin "tcpproxy-rs" test) generated 8 warnings (run `cargo fix --bin "tcpproxy-rs" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tcpproxy_rs-4c1a824ad598508b) [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" "8f858df11e365d14996efe60b8ece0e3f7ae7be3128c892379e22c25c9982070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f858df11e365d14996efe60b8ece0e3f7ae7be3128c892379e22c25c9982070", kill_on_drop: false }` [INFO] [stdout] 8f858df11e365d14996efe60b8ece0e3f7ae7be3128c892379e22c25c9982070