[INFO] cloning repository https://github.com/epg1213/load_balancer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epg1213/load_balancer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepg1213%2Fload_balancer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepg1213%2Fload_balancer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5b3971f920ea27a3660c7e07bc5093cbab1c3af [INFO] checking epg1213/load_balancer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepg1213%2Fload_balancer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epg1213/load_balancer on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/epg1213/load_balancer [INFO] finished tweaking git repo https://github.com/epg1213/load_balancer [INFO] tweaked toml for git repo https://github.com/epg1213/load_balancer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/epg1213/load_balancer 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-proxy v0.2.0 [INFO] [stderr] Downloaded similar v2.4.0 [INFO] [stderr] Downloaded mockito v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7697a8b7a8aeae634d533f0b572aa93870437fbbf859e1d3f0a85e78a6885dd1 [INFO] running `Command { std: "docker" "start" "-a" "7697a8b7a8aeae634d533f0b572aa93870437fbbf859e1d3f0a85e78a6885dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7697a8b7a8aeae634d533f0b572aa93870437fbbf859e1d3f0a85e78a6885dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7697a8b7a8aeae634d533f0b572aa93870437fbbf859e1d3f0a85e78a6885dd1", kill_on_drop: false }` [INFO] [stdout] 7697a8b7a8aeae634d533f0b572aa93870437fbbf859e1d3f0a85e78a6885dd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32dbef6512704e051538575ab2c7548100d3acf8708ec85be8f6792ceee3a09f [INFO] running `Command { std: "docker" "start" "-a" "32dbef6512704e051538575ab2c7548100d3acf8708ec85be8f6792ceee3a09f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-tls v3.3.0 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking awc v3.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking mockito v1.4.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking actix-proxy v0.2.0 [INFO] [stderr] Checking load_balancer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/balancer.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/balancer.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `config` is imported redundantly [INFO] [stdout] --> src/balancer.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `config` is already imported here [INFO] [stdout] ... [INFO] [stdout] 157 | use crate::config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mockito::Matcher` [INFO] [stdout] --> src/balancer.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | use mockito::Matcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/balancer.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 159 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/balancer.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let m = s.mock("GET", "/healthcheck") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clean_clients` is never used [INFO] [stdout] --> src/balancer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Balancer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | async fn clean_clients( client_map: Arc>>, interval: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rate_limit_window_size` is never read [INFO] [stdout] --> src/config.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub rate_limit_window_size: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clean_clients` is never used [INFO] [stdout] --> src/balancer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Balancer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | async fn clean_clients( client_map: Arc>>, interval: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rate_limit_window_size` is never read [INFO] [stdout] --> src/config.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub rate_limit_window_size: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "32dbef6512704e051538575ab2c7548100d3acf8708ec85be8f6792ceee3a09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32dbef6512704e051538575ab2c7548100d3acf8708ec85be8f6792ceee3a09f", kill_on_drop: false }` [INFO] [stdout] 32dbef6512704e051538575ab2c7548100d3acf8708ec85be8f6792ceee3a09f [INFO] checking epg1213/load_balancer against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepg1213%2Fload_balancer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epg1213/load_balancer on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/epg1213/load_balancer [INFO] finished tweaking git repo https://github.com/epg1213/load_balancer [INFO] tweaked toml for git repo https://github.com/epg1213/load_balancer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/epg1213/load_balancer 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0504ccdbc92982d82f5e597cba596fc3b6da7e18422c6b4366c24c9f66b8358a [INFO] running `Command { std: "docker" "start" "-a" "0504ccdbc92982d82f5e597cba596fc3b6da7e18422c6b4366c24c9f66b8358a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0504ccdbc92982d82f5e597cba596fc3b6da7e18422c6b4366c24c9f66b8358a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0504ccdbc92982d82f5e597cba596fc3b6da7e18422c6b4366c24c9f66b8358a", kill_on_drop: false }` [INFO] [stdout] 0504ccdbc92982d82f5e597cba596fc3b6da7e18422c6b4366c24c9f66b8358a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f775535aaa4d70db19e8b39124cb8cb28e655876dfeec02f4e233c12b69dd88 [INFO] running `Command { std: "docker" "start" "-a" "9f775535aaa4d70db19e8b39124cb8cb28e655876dfeec02f4e233c12b69dd88", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-tls v3.3.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking awc v3.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking mockito v1.4.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking actix-proxy v0.2.0 [INFO] [stderr] Checking load_balancer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/balancer.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/balancer.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `config` is imported redundantly [INFO] [stdout] --> src/balancer.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `config` is already imported here [INFO] [stdout] ... [INFO] [stdout] 157 | use crate::config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mockito::Matcher` [INFO] [stdout] --> src/balancer.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | use mockito::Matcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/balancer.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 159 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clean_clients` is never used [INFO] [stdout] --> src/balancer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Balancer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | async fn clean_clients( client_map: Arc>>, interval: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rate_limit_window_size` is never read [INFO] [stdout] --> src/config.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub rate_limit_window_size: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/balancer.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let m = s.mock("GET", "/healthcheck") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clean_clients` is never used [INFO] [stdout] --> src/balancer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Balancer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | async fn clean_clients( client_map: Arc>>, interval: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rate_limit_window_size` is never read [INFO] [stdout] --> src/config.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub rate_limit_window_size: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "9f775535aaa4d70db19e8b39124cb8cb28e655876dfeec02f4e233c12b69dd88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f775535aaa4d70db19e8b39124cb8cb28e655876dfeec02f4e233c12b69dd88", kill_on_drop: false }` [INFO] [stdout] 9f775535aaa4d70db19e8b39124cb8cb28e655876dfeec02f4e233c12b69dd88