[INFO] cloning repository https://github.com/kobutri/nats_benchmark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kobutri/nats_benchmark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkobutri%2Fnats_benchmark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkobutri%2Fnats_benchmark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb9297064c86b1d5669a9115f4cc9ff1e65208e4 [INFO] building kobutri/nats_benchmark against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkobutri%2Fnats_benchmark" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kobutri/nats_benchmark [INFO] finished tweaking git repo https://github.com/kobutri/nats_benchmark [INFO] tweaked toml for git repo https://github.com/kobutri/nats_benchmark written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kobutri/nats_benchmark on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kobutri/nats_benchmark 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded nuid v0.5.0 [INFO] [stderr] Downloaded nkeys v0.4.4 [INFO] [stderr] Downloaded serde_nanos v0.1.4 [INFO] [stderr] Downloaded signatory v0.27.1 [INFO] [stderr] Downloaded tryhard v0.5.1 [INFO] [stderr] Downloaded tokio-websockets v0.10.1 [INFO] [stderr] Downloaded async-nats v0.41.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38483bca0d95896cb045d41e14a58d2e178fc0fc28e4c04540737ae8b73a1701 [INFO] running `Command { std: "docker" "start" "-a" "38483bca0d95896cb045d41e14a58d2e178fc0fc28e4c04540737ae8b73a1701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38483bca0d95896cb045d41e14a58d2e178fc0fc28e4c04540737ae8b73a1701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38483bca0d95896cb045d41e14a58d2e178fc0fc28e4c04540737ae8b73a1701", kill_on_drop: false }` [INFO] [stdout] 38483bca0d95896cb045d41e14a58d2e178fc0fc28e4c04540737ae8b73a1701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16fb5222d979b3e661521e391039f8a5bc273013255183e4ef6c0935eb25f814 [INFO] running `Command { std: "docker" "start" "-a" "16fb5222d979b3e661521e391039f8a5bc273013255183e4ef6c0935eb25f814", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling nuid v0.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling serde_nanos v0.1.4 [INFO] [stderr] Compiling nkeys v0.4.4 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tryhard v0.5.1 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-websockets v0.10.1 [INFO] [stderr] Compiling async-nats v0.41.0 [INFO] [stderr] Compiling sender v0.1.0 (/opt/rustwide/workdir/sender) [INFO] [stderr] Compiling receiver v0.1.0 (/opt/rustwide/workdir/receiver) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> sender/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> receiver/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> sender/src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | for i in 0..args.pool_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> receiver/src/main.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | for i in 0..args.pool_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> receiver/src/main.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | let elapsed = last_report.elapsed().as_secs_f64(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> receiver/src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct StreamStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 76 | messages: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> receiver/src/main.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl ThroughputData { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn update(&mut self, current_throughput: f64, total_messages: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.32s [INFO] running `Command { std: "docker" "inspect" "16fb5222d979b3e661521e391039f8a5bc273013255183e4ef6c0935eb25f814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16fb5222d979b3e661521e391039f8a5bc273013255183e4ef6c0935eb25f814", kill_on_drop: false }` [INFO] [stdout] 16fb5222d979b3e661521e391039f8a5bc273013255183e4ef6c0935eb25f814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea6cddfb4228e3e9491023976f0b083d313ee35aaa1da4dff0166a90d8711db4 [INFO] running `Command { std: "docker" "start" "-a" "ea6cddfb4228e3e9491023976f0b083d313ee35aaa1da4dff0166a90d8711db4", kill_on_drop: false }` [INFO] [stderr] Compiling sender v0.1.0 (/opt/rustwide/workdir/sender) [INFO] [stderr] Compiling receiver v0.1.0 (/opt/rustwide/workdir/receiver) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> sender/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> receiver/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> sender/src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | for i in 0..args.pool_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> receiver/src/main.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | for i in 0..args.pool_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> receiver/src/main.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | let elapsed = last_report.elapsed().as_secs_f64(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> receiver/src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct StreamStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 76 | messages: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> receiver/src/main.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl ThroughputData { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn update(&mut self, current_throughput: f64, total_messages: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "ea6cddfb4228e3e9491023976f0b083d313ee35aaa1da4dff0166a90d8711db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6cddfb4228e3e9491023976f0b083d313ee35aaa1da4dff0166a90d8711db4", kill_on_drop: false }` [INFO] [stdout] ea6cddfb4228e3e9491023976f0b083d313ee35aaa1da4dff0166a90d8711db4