[INFO] cloning repository https://github.com/andem20/tenswarm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andem20/tenswarm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandem20%2Ftenswarm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandem20%2Ftenswarm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 371b85910d0301bbec927d9f54ce506b95f4a13c [INFO] checking andem20/tenswarm/371b85910d0301bbec927d9f54ce506b95f4a13c against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandem20%2Ftenswarm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andem20/tenswarm on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andem20/tenswarm [INFO] finished tweaking git repo https://github.com/andem20/tenswarm [INFO] tweaked toml for git repo https://github.com/andem20/tenswarm written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andem20/tenswarm 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rumqttc v0.14.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2edbc59f2dc645412185b2aa76c17e9219ab274b7d12c725211a896c8b8ffd1e [INFO] running `Command { std: "docker" "start" "-a" "2edbc59f2dc645412185b2aa76c17e9219ab274b7d12c725211a896c8b8ffd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2edbc59f2dc645412185b2aa76c17e9219ab274b7d12c725211a896c8b8ffd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2edbc59f2dc645412185b2aa76c17e9219ab274b7d12c725211a896c8b8ffd1e", kill_on_drop: false }` [INFO] [stdout] 2edbc59f2dc645412185b2aa76c17e9219ab274b7d12c725211a896c8b8ffd1e [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5622bd789a43cbebab0609f9981ad78d125dac39adc9546736264caa2aec1383 [INFO] running `Command { std: "docker" "start" "-a" "5622bd789a43cbebab0609f9981ad78d125dac39adc9546736264caa2aec1383", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking rumqttc v0.14.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking loadtester_v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/clients/hyper_http_client.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/clients/hyper_http_client.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | method: Method, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/clients/hyper_http_client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | headers: Arc, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/clients/hyper_http_client.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | body: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/clients/hyper_http_client.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/clients/hyper_http_client.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | method: Method, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/clients/hyper_http_client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | headers: Arc, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/clients/hyper_http_client.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | body: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `response_count` is assigned to, but never used [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let mut response_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_response_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [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: associated function `new` is never used [INFO] [stdout] --> src/clients/hyper_http_client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HyperHttpClient { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_conclusion` is never used [INFO] [stdout] --> src/utils/print.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_conclusion(total_start_time: Instant, total_response_count: u32, total_response_time: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errormessages` is never used [INFO] [stdout] --> src/utils/print.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn print_errormessages(error_messages: HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ramp_up_millis` is never read [INFO] [stdout] --> src/scenario/test_scenario.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scenario { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | ramp_up_millis: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/test_clients/test_client.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TestClientData { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | id: usize [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TestResult` is never used [INFO] [stdout] --> src/test_clients/test_client.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub type TestResult = (u32, u128); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `response_count` is assigned to, but never used [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let mut response_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_response_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/clients/hyper_http_client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HyperHttpClient { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_conclusion` is never used [INFO] [stdout] --> src/utils/print.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_conclusion(total_start_time: Instant, total_response_count: u32, total_response_time: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errormessages` is never used [INFO] [stdout] --> src/utils/print.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn print_errormessages(error_messages: HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ramp_up_millis` is never read [INFO] [stdout] --> src/scenario/test_scenario.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scenario { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | ramp_up_millis: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/test_clients/test_client.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TestClientData { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | id: usize [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TestResult` is never used [INFO] [stdout] --> src/test_clients/test_client.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub type TestResult = (u32, u128); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.51s [INFO] running `Command { std: "docker" "inspect" "5622bd789a43cbebab0609f9981ad78d125dac39adc9546736264caa2aec1383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5622bd789a43cbebab0609f9981ad78d125dac39adc9546736264caa2aec1383", kill_on_drop: false }` [INFO] [stdout] 5622bd789a43cbebab0609f9981ad78d125dac39adc9546736264caa2aec1383