[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] building Deplee/turbogate against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[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 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/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded metrics v0.21.1
[INFO] [stderr]   Downloaded metrics-macros v0.7.1
[INFO] [stderr]   Downloaded rust-ini v0.18.0
[INFO] [stderr]   Downloaded rustls-pki-types v0.1.2
[INFO] [stderr]   Downloaded cidr-utils v0.6.1
[INFO] [stderr]   Downloaded dlv-list v0.3.0
[INFO] [stderr]   Downloaded cidr v0.2.3
[INFO] [stderr]   Downloaded metrics-util v0.15.1
[INFO] [stderr]   Downloaded ron v0.7.1
[INFO] [stderr]   Downloaded tower-http v0.4.4
[INFO] [stderr]   Downloaded rcgen v0.11.3
[INFO] [stderr]   Downloaded config v0.13.4
[INFO] [stderr]   Downloaded quanta v0.11.1
[INFO] [stderr]   Downloaded metrics-exporter-prometheus v0.12.2
[INFO] [stderr]   Downloaded hashbrown v0.13.1
[INFO] [stderr]   Downloaded hdrhistogram v7.5.4
[INFO] [stderr]   Downloaded ordered-multimap v0.4.3
[INFO] [stderr]   Downloaded async-compression v0.4.25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 66ff4c7ad73dc25a5a7ac3576f79888a3426eec27391874eb2e7978d2e091c47
[INFO] running `Command { std: "docker" "start" "-a" "66ff4c7ad73dc25a5a7ac3576f79888a3426eec27391874eb2e7978d2e091c47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66ff4c7ad73dc25a5a7ac3576f79888a3426eec27391874eb2e7978d2e091c47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66ff4c7ad73dc25a5a7ac3576f79888a3426eec27391874eb2e7978d2e091c47", kill_on_drop: false }`
[INFO] [stdout] 66ff4c7ad73dc25a5a7ac3576f79888a3426eec27391874eb2e7978d2e091c47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2c32be10ff22a5fef0d3b5f1db16b3621957c7279e8a4d09525b67e7f777730f
[INFO] running `Command { std: "docker" "start" "-a" "2c32be10ff22a5fef0d3b5f1db16b3621957c7279e8a4d09525b67e7f777730f", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling metrics-macros v0.7.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling raw-cpuid v10.7.0
[INFO] [stderr]    Compiling dlv-list v0.3.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling metrics v0.21.1
[INFO] [stderr]    Compiling ordered-multimap v0.4.3
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling quanta v0.11.1
[INFO] [stderr]    Compiling raw-cpuid v11.5.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling hashbrown v0.13.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling winnow v0.7.11
[INFO] [stderr]    Compiling sketches-ddsketch v0.2.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling metrics-util v0.15.1
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling quinn-udp v0.4.1
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling quanta v0.12.6
[INFO] [stderr]    Compiling rust-ini v0.18.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling spinning_top v0.3.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling http-range-header v0.3.1
[INFO] [stderr]    Compiling cidr v0.2.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cidr-utils v0.6.1
[INFO] [stderr]    Compiling rustls-pki-types v0.1.2
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling governor v0.6.3
[INFO] [stderr]    Compiling clap v4.5.40
[INFO] [stderr]    Compiling rcgen v0.11.3
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling async-compression v0.4.25
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tower-http v0.4.4
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling ron v0.7.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling ipnetwork v0.20.0
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling quinn-proto v0.10.6
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling config v0.13.4
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling quinn v0.10.2
[INFO] [stderr]    Compiling metrics-exporter-prometheus v0.12.2
[INFO] [stderr]    Compiling 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: 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<ServerStatus> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub async fn get_healthy_servers(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn get_all_servers(&self) -> Vec<String> {
[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<String, ServerStatus> {
[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<String>,
[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<String>,
[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<Bytes> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn compress_brotli(&self, _data: &[u8]) -> Result<Bytes> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn compress_deflate(&self, _data: &[u8]) -> Result<Bytes> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s
[INFO] running `Command { std: "docker" "inspect" "2c32be10ff22a5fef0d3b5f1db16b3621957c7279e8a4d09525b67e7f777730f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c32be10ff22a5fef0d3b5f1db16b3621957c7279e8a4d09525b67e7f777730f", kill_on_drop: false }`
[INFO] [stdout] 2c32be10ff22a5fef0d3b5f1db16b3621957c7279e8a4d09525b67e7f777730f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c1d76f640f552f59da6d5b2508c3c5ff984f5432d2964114cc6d5feb22974614
[INFO] running `Command { std: "docker" "start" "-a" "c1d76f640f552f59da6d5b2508c3c5ff984f5432d2964114cc6d5feb22974614", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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<ServerStatus> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub async fn get_healthy_servers(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn get_all_servers(&self) -> Vec<String> {
[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<String, ServerStatus> {
[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<String>,
[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<String>,
[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<Bytes> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn compress_brotli(&self, _data: &[u8]) -> Result<Bytes> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn compress_deflate(&self, _data: &[u8]) -> Result<Bytes> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.18s
[INFO] running `Command { std: "docker" "inspect" "c1d76f640f552f59da6d5b2508c3c5ff984f5432d2964114cc6d5feb22974614", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1d76f640f552f59da6d5b2508c3c5ff984f5432d2964114cc6d5feb22974614", kill_on_drop: false }`
[INFO] [stdout] c1d76f640f552f59da6d5b2508c3c5ff984f5432d2964114cc6d5feb22974614
