[INFO] cloning repository https://github.com/easybill/easysocketexhaustion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/easybill/easysocketexhaustion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feasybill%2Feasysocketexhaustion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feasybill%2Feasysocketexhaustion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed9d5bad2596086ff09a40eac451eb4c5524add2 [INFO] building easybill/easysocketexhaustion against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feasybill%2Feasysocketexhaustion" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/easybill/easysocketexhaustion on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/easybill/easysocketexhaustion [INFO] finished tweaking git repo https://github.com/easybill/easysocketexhaustion [INFO] tweaked toml for git repo https://github.com/easybill/easysocketexhaustion written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/easybill/easysocketexhaustion 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99c785791710f5519949a2f78d5be490f26916bab86fe7851cf354d99ef86fa3 [INFO] running `Command { std: "docker" "start" "-a" "99c785791710f5519949a2f78d5be490f26916bab86fe7851cf354d99ef86fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99c785791710f5519949a2f78d5be490f26916bab86fe7851cf354d99ef86fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c785791710f5519949a2f78d5be490f26916bab86fe7851cf354d99ef86fa3", kill_on_drop: false }` [INFO] [stdout] 99c785791710f5519949a2f78d5be490f26916bab86fe7851cf354d99ef86fa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 486dca48842942dbf58372233797fc9cd4beaf63e6edfd58b1475fdb938f3a56 [INFO] running `Command { std: "docker" "start" "-a" "486dca48842942dbf58372233797fc9cd4beaf63e6edfd58b1475fdb938f3a56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling easysocketexhaustion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `copy_bidirectional` [INFO] [stdout] --> src/main.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt, AsyncWriteExt, copy_bidirectional}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 121 | ... if (k == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (k == 0) { [INFO] [stdout] 121 + if k == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/main.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | async fn spawn_bench(instance: u64, ip: String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wjh` [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let wjh = ::tokio::spawn(async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wjh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rjh` [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let rjh = ::tokio::spawn(async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rjh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut outbound = match TcpStream::connect(ip.clone()).await { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let v = match listener.accept().await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:169:53 [INFO] [stdout] | [INFO] [stdout] 169 | async fn spawn_listen_client(mut stream: TcpStream, socket: SocketAddr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | 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:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | async fn spawn_listen_client(mut stream: TcpStream, socket: SocketAddr) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / ::tokio::spawn(async move { [INFO] [stdout] 55 | | loop { [INFO] [stdout] 56 | | ::tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 57 | | println!(""); [INFO] [stdout] ... | [INFO] [stdout] 62 | | }).await; [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = ::tokio::spawn(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.37s [INFO] running `Command { std: "docker" "inspect" "486dca48842942dbf58372233797fc9cd4beaf63e6edfd58b1475fdb938f3a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "486dca48842942dbf58372233797fc9cd4beaf63e6edfd58b1475fdb938f3a56", kill_on_drop: false }` [INFO] [stdout] 486dca48842942dbf58372233797fc9cd4beaf63e6edfd58b1475fdb938f3a56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a569e68e45109e6345200cb06981ea8bc7b63d1f045b47a31d654c52d212bf41 [INFO] running `Command { std: "docker" "start" "-a" "a569e68e45109e6345200cb06981ea8bc7b63d1f045b47a31d654c52d212bf41", kill_on_drop: false }` [INFO] [stderr] Compiling easysocketexhaustion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `copy_bidirectional` [INFO] [stdout] --> src/main.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt, AsyncWriteExt, copy_bidirectional}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 121 | ... if (k == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (k == 0) { [INFO] [stdout] 121 + if k == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/main.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | async fn spawn_bench(instance: u64, ip: String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wjh` [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let wjh = ::tokio::spawn(async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wjh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rjh` [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let rjh = ::tokio::spawn(async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rjh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut outbound = match TcpStream::connect(ip.clone()).await { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let v = match listener.accept().await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:169:53 [INFO] [stdout] | [INFO] [stdout] 169 | async fn spawn_listen_client(mut stream: TcpStream, socket: SocketAddr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | 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:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | async fn spawn_listen_client(mut stream: TcpStream, socket: SocketAddr) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / ::tokio::spawn(async move { [INFO] [stdout] 55 | | loop { [INFO] [stdout] 56 | | ::tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 57 | | println!(""); [INFO] [stdout] ... | [INFO] [stdout] 62 | | }).await; [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = ::tokio::spawn(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "a569e68e45109e6345200cb06981ea8bc7b63d1f045b47a31d654c52d212bf41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a569e68e45109e6345200cb06981ea8bc7b63d1f045b47a31d654c52d212bf41", kill_on_drop: false }` [INFO] [stdout] a569e68e45109e6345200cb06981ea8bc7b63d1f045b47a31d654c52d212bf41