[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [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 ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19f44dc297d6cb2be349a976c42758aa782fa3c3f4df8f33647d3556916e6716 [INFO] running `Command { std: "docker" "start" "-a" "19f44dc297d6cb2be349a976c42758aa782fa3c3f4df8f33647d3556916e6716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19f44dc297d6cb2be349a976c42758aa782fa3c3f4df8f33647d3556916e6716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19f44dc297d6cb2be349a976c42758aa782fa3c3f4df8f33647d3556916e6716", kill_on_drop: false }` [INFO] [stdout] 19f44dc297d6cb2be349a976c42758aa782fa3c3f4df8f33647d3556916e6716 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a47b392a56f9f2f887b42b565186b0e229151a4a3d3d39dcfd0688acfb6ae183 [INFO] running `Command { std: "docker" "start" "-a" "a47b392a56f9f2f887b42b565186b0e229151a4a3d3d39dcfd0688acfb6ae183", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling base64ct v1.8.0 [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 serde v1.0.219 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 darling_core v0.20.11 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling nuid v0.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling nkeys v0.4.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_nanos v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tryhard v0.5.1 [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 receiver v0.1.0 (/opt/rustwide/workdir/receiver) [INFO] [stderr] Compiling sender v0.1.0 (/opt/rustwide/workdir/sender) [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 1m 28s [INFO] running `Command { std: "docker" "inspect" "a47b392a56f9f2f887b42b565186b0e229151a4a3d3d39dcfd0688acfb6ae183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a47b392a56f9f2f887b42b565186b0e229151a4a3d3d39dcfd0688acfb6ae183", kill_on_drop: false }` [INFO] [stdout] a47b392a56f9f2f887b42b565186b0e229151a4a3d3d39dcfd0688acfb6ae183 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df5d9fd7309e3cdde84ceb993d743a685bc961f9e3d48f5360cda5faf21be5d [INFO] running `Command { std: "docker" "start" "-a" "0df5d9fd7309e3cdde84ceb993d743a685bc961f9e3d48f5360cda5faf21be5d", kill_on_drop: false }` [INFO] [stderr] Compiling receiver v0.1.0 (/opt/rustwide/workdir/receiver) [INFO] [stderr] Compiling sender v0.1.0 (/opt/rustwide/workdir/sender) [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 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 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 2.78s [INFO] running `Command { std: "docker" "inspect" "0df5d9fd7309e3cdde84ceb993d743a685bc961f9e3d48f5360cda5faf21be5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df5d9fd7309e3cdde84ceb993d743a685bc961f9e3d48f5360cda5faf21be5d", kill_on_drop: false }` [INFO] [stdout] 0df5d9fd7309e3cdde84ceb993d743a685bc961f9e3d48f5360cda5faf21be5d