[INFO] cloning repository https://github.com/Deplee/turbogate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deplee/turbogate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeplee%2Fturbogate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeplee%2Fturbogate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54d6f3e8250e14d3198585b374aef89a74894d45 [INFO] checking Deplee/turbogate against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeplee%2Fturbogate" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Deplee/turbogate [INFO] finished tweaking git repo https://github.com/Deplee/turbogate [INFO] tweaked toml for git repo https://github.com/Deplee/turbogate written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Deplee/turbogate on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Deplee/turbogate 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-range-header v0.3.1 [INFO] [stderr] Downloaded tower-http v0.4.4 [INFO] [stderr] Downloaded rustls-pki-types v0.1.2 [INFO] [stderr] Downloaded quinn-udp v0.4.1 [INFO] [stderr] Downloaded rcgen v0.11.3 [INFO] [stderr] Downloaded quinn v0.10.2 [INFO] [stderr] Downloaded metrics-util v0.15.1 [INFO] [stderr] Downloaded quinn-proto v0.10.6 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.12.2 [INFO] [stderr] Downloaded quanta v0.11.1 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded hashbrown v0.13.1 [INFO] [stderr] Downloaded raw-cpuid v11.5.0 [INFO] [stderr] Downloaded governor v0.6.3 [INFO] [stderr] Downloaded cidr-utils v0.6.1 [INFO] [stderr] Downloaded brotli2 v0.3.2 [INFO] [stderr] Downloaded cidr v0.2.3 [INFO] [stderr] Downloaded brotli-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933 [INFO] running `Command { std: "docker" "start" "dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking cidr v0.2.3 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking rustls-pki-types v0.1.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking quanta v0.11.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking cidr-utils v0.6.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking metrics v0.21.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking metrics-util v0.15.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking governor v0.6.3 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking async-compression v0.4.25 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking metrics-exporter-prometheus v0.12.2 [INFO] [stderr] Checking turbogate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::IpAddr; [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 imports: `DeflateEncoder` and `GzEncoder` [INFO] [stdout] --> src/compression.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use flate2::write::{GzEncoder, DeflateEncoder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::Compression` [INFO] [stdout] --> src/compression.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use flate2::Compression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `brotli2::write::BrotliEncoder` [INFO] [stdout] --> src/compression.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use brotli2::write::BrotliEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/compression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/compression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::IpAddr; [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 imports: `DeflateEncoder` and `GzEncoder` [INFO] [stdout] --> src/compression.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use flate2::write::{GzEncoder, DeflateEncoder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::Compression` [INFO] [stdout] --> src/compression.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use flate2::Compression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `brotli2::write::BrotliEncoder` [INFO] [stdout] --> src/compression.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use brotli2::write::BrotliEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/compression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/compression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/health.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 55 | impl HealthChecker { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn get_server_status(&self, server_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn get_healthy_servers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn get_all_servers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub async fn set_server_maintenance(&self, server_name: &str, maintenance: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn get_all_server_statuses(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn start_with_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | async fn run_health_checks_with_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window_size` is never read [INFO] [stdout] --> src/rate_limit.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RateLimitConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub window_size: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimitConfig` 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: method `update_config` is never used [INFO] [stdout] --> src/rate_limit.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn update_config(&mut self, config: RateLimitConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suspicious_patterns` is never read [INFO] [stdout] --> src/ddos_protection.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DdosConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub suspicious_patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DdosConfig` 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: method `check_suspicious_pattern` is never used [INFO] [stdout] --> src/ddos_protection.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl DdosProtection { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn check_suspicious_pattern(&self, user_agent: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/compression.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompressionConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 11 | pub gzip_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub brotli_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub deflate_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub min_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub max_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub compression_level: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub content_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressionConfig` 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: methods `should_compress`, `compress_gzip`, `compress_brotli`, and `compress_deflate` are never used [INFO] [stdout] --> src/compression.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Compressor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn should_compress(&self, _content_type: &str, _content_length: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn compress_gzip(&self, _data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn compress_brotli(&self, _data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn compress_deflate(&self, _data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/health.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 55 | impl HealthChecker { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn get_server_status(&self, server_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn get_healthy_servers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn get_all_servers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub async fn set_server_maintenance(&self, server_name: &str, maintenance: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn get_all_server_statuses(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn start_with_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | async fn run_health_checks_with_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window_size` is never read [INFO] [stdout] --> src/rate_limit.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RateLimitConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub window_size: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimitConfig` 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: method `update_config` is never used [INFO] [stdout] --> src/rate_limit.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn update_config(&mut self, config: RateLimitConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suspicious_patterns` is never read [INFO] [stdout] --> src/ddos_protection.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DdosConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub suspicious_patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DdosConfig` 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: method `check_suspicious_pattern` is never used [INFO] [stdout] --> src/ddos_protection.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl DdosProtection { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn check_suspicious_pattern(&self, user_agent: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/compression.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompressionConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 11 | pub gzip_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub brotli_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub deflate_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub min_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub max_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub compression_level: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub content_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressionConfig` 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: methods `should_compress`, `compress_gzip`, `compress_brotli`, and `compress_deflate` are never used [INFO] [stdout] --> src/compression.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Compressor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn should_compress(&self, _content_type: &str, _content_length: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn compress_gzip(&self, _data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn compress_brotli(&self, _data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn compress_deflate(&self, _data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `cidr-utils` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | cidr-utils = "0.6" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `cidr-utils` [INFO] [stderr] warning: unused dependency `config` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | config = "0.13" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `config` [INFO] [stderr] warning: unused dependency `quinn` [INFO] [stderr] --> Cargo.toml:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | quinn = "0.10" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `quinn` [INFO] [stderr] warning: unused dependency `rcgen` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | rcgen = "0.11" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `rcgen` [INFO] [stderr] warning: unused dependency `rustls-pki-types` [INFO] [stderr] --> Cargo.toml:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | rustls-pki-types = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `rustls-pki-types` [INFO] [stderr] warning: unused dependency `tokio-rustls` [INFO] [stderr] --> Cargo.toml:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | tokio-rustls = "0.24" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio-rustls` [INFO] [stderr] warning: unused dependency `toml` [INFO] [stderr] --> Cargo.toml:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | toml = "0.8" [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `toml` [INFO] [stderr] warning: unused dependency `tower` [INFO] [stderr] --> Cargo.toml:57:15 [INFO] [stderr] | [INFO] [stderr] 57 | [dependencies.tower] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tower` [INFO] [stderr] warning: unused dependency `tower-http` [INFO] [stderr] --> Cargo.toml:61:15 [INFO] [stderr] | [INFO] [stderr] 61 | [dependencies.tower-http] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tower-http` [INFO] [stderr] warning: unused dependency `url` [INFO] [stderr] --> Cargo.toml:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | url = "2.4" [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `url` [INFO] [stderr] warning: `turbogate` (manifest) generated 10 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933", kill_on_drop: false }` [INFO] [stdout] dbfcb1d19aafabfdaff7b6d9ce3ae920b383cdad764a662bb391b46e1394c933