[INFO] cloning repository https://github.com/Xiao-VoV/DNS_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xiao-VoV/DNS_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiao-VoV%2FDNS_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiao-VoV%2FDNS_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb15cf02b69d519dbc8e68055be88a50180bb3a9
[INFO] building Xiao-VoV/DNS_test against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiao-VoV%2FDNS_test" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Xiao-VoV/DNS_test
[INFO] finished tweaking git repo https://github.com/Xiao-VoV/DNS_test
[INFO] tweaked toml for git repo https://github.com/Xiao-VoV/DNS_test written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Xiao-VoV/DNS_test 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/Xiao-VoV/DNS_test 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 num v0.2.1
[INFO] [stderr]   Downloaded trust-dns-client v0.23.2
[INFO] [stderr]   Downloaded num-bigint v0.2.6
[INFO] [stderr]   Downloaded statistical v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 83849421cdd3ef7d9aadd8966b9aa9309b00ba2122f90a626a55c29d28b766f5
[INFO] running `Command { std: "docker" "start" "-a" "83849421cdd3ef7d9aadd8966b9aa9309b00ba2122f90a626a55c29d28b766f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83849421cdd3ef7d9aadd8966b9aa9309b00ba2122f90a626a55c29d28b766f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83849421cdd3ef7d9aadd8966b9aa9309b00ba2122f90a626a55c29d28b766f5", kill_on_drop: false }`
[INFO] [stdout] 83849421cdd3ef7d9aadd8966b9aa9309b00ba2122f90a626a55c29d28b766f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e46ba6e6f9b7a543a487c216f8c8841de3890b07fb4c473c06f8a4d81c053308
[INFO] running `Command { std: "docker" "start" "-a" "e46ba6e6f9b7a543a487c216f8c8841de3890b07fb4c473c06f8a4d81c053308", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.39
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling statistical v1.0.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.29
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling clap v4.5.39
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling trust-dns-proto v0.23.2
[INFO] [stderr]    Compiling trust-dns-client v0.23.2
[INFO] [stderr]    Compiling dns-test-tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, error, info};
[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: `DnsQuery` and `QueryResult`
[INFO] [stdout]  --> src/dns/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use query::{DnsQuery, QueryResult};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `domain` and `answers` are never read
[INFO] [stdout]   --> src/dns/query.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct QueryResult {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 46 |     pub domain: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub answers: usize,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_queries`, `success_rate`, `avg_latency`, `min_latency`, and `max_latency` are never read
[INFO] [stdout]   --> src/dns/analyzer.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct TestReport {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 68 |     pub total_queries: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 69 |     pub success_rate: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 70 |     pub avg_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 71 |     pub min_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 72 |     pub max_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TestReport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `samples` is never read
[INFO] [stdout]  --> src/metrics/latency.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct LatencyMetrics {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     pub samples: Vec<f64>,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `LatencyMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `calculate` are never used
[INFO] [stdout]   --> src/metrics/latency.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LatencyMetrics {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn update(&mut self, latency: f64) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn calculate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `domain_counts` is never read
[INFO] [stdout]  --> src/metrics/cache.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CacheMetrics {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     domain_counts: HashMap<String, u64>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CacheMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `record_query` is never used
[INFO] [stdout]   --> src/metrics/cache.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl CacheMetrics {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 12 |     pub fn record_query(&mut self, domain: &str, is_cached: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `failed_queries`, `avg_response_time`, `start_time`, and `response_times` are never read
[INFO] [stdout]   --> src/metrics/performance.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PerformanceMetrics {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub failed_queries: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     pub queries_per_second: f64,
[INFO] [stdout]  9 |     pub avg_response_time: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     start_time: Option<Instant>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     response_times: Vec<Duration>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PerformanceMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `start_test`, `record_query`, and `calculate` are never used
[INFO] [stdout]   --> src/metrics/performance.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl PerformanceMetrics {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn start_test(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn record_query(&mut self, success: bool, response_time: Duration) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn calculate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.71s
[INFO] running `Command { std: "docker" "inspect" "e46ba6e6f9b7a543a487c216f8c8841de3890b07fb4c473c06f8a4d81c053308", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e46ba6e6f9b7a543a487c216f8c8841de3890b07fb4c473c06f8a4d81c053308", kill_on_drop: false }`
[INFO] [stdout] e46ba6e6f9b7a543a487c216f8c8841de3890b07fb4c473c06f8a4d81c053308
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 568cb455fa195e75c130dd43d6455b3a51f6fe97896ca5545839807e2a6da5fa
[INFO] running `Command { std: "docker" "start" "-a" "568cb455fa195e75c130dd43d6455b3a51f6fe97896ca5545839807e2a6da5fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling dns-test-tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, error, info};
[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: `DnsQuery` and `QueryResult`
[INFO] [stdout]  --> src/dns/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use query::{DnsQuery, QueryResult};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `domain` and `answers` are never read
[INFO] [stdout]   --> src/dns/query.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct QueryResult {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 46 |     pub domain: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub answers: usize,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_queries`, `success_rate`, `avg_latency`, `min_latency`, and `max_latency` are never read
[INFO] [stdout]   --> src/dns/analyzer.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct TestReport {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 68 |     pub total_queries: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 69 |     pub success_rate: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 70 |     pub avg_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 71 |     pub min_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 72 |     pub max_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TestReport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `samples` is never read
[INFO] [stdout]  --> src/metrics/latency.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct LatencyMetrics {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     pub samples: Vec<f64>,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `LatencyMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `calculate` are never used
[INFO] [stdout]   --> src/metrics/latency.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LatencyMetrics {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn update(&mut self, latency: f64) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn calculate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `domain_counts` is never read
[INFO] [stdout]  --> src/metrics/cache.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CacheMetrics {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     domain_counts: HashMap<String, u64>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CacheMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `record_query` is never used
[INFO] [stdout]   --> src/metrics/cache.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl CacheMetrics {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 12 |     pub fn record_query(&mut self, domain: &str, is_cached: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `failed_queries`, `avg_response_time`, `start_time`, and `response_times` are never read
[INFO] [stdout]   --> src/metrics/performance.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PerformanceMetrics {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub failed_queries: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     pub queries_per_second: f64,
[INFO] [stdout]  9 |     pub avg_response_time: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     start_time: Option<Instant>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     response_times: Vec<Duration>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PerformanceMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `start_test`, `record_query`, and `calculate` are never used
[INFO] [stdout]   --> src/metrics/performance.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl PerformanceMetrics {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn start_test(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn record_query(&mut self, success: bool, response_time: Duration) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn calculate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> tests/metrics_tests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, error, info};
[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: `DnsQuery` and `QueryResult`
[INFO] [stdout]  --> src/dns/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use query::{DnsQuery, QueryResult};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `domain` and `answers` are never read
[INFO] [stdout]   --> src/dns/query.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct QueryResult {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 46 |     pub domain: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub answers: usize,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_queries`, `success_rate`, `avg_latency`, `min_latency`, and `max_latency` are never read
[INFO] [stdout]   --> src/dns/analyzer.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct TestReport {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 68 |     pub total_queries: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 69 |     pub success_rate: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 70 |     pub avg_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 71 |     pub min_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 72 |     pub max_latency: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TestReport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `samples` is never read
[INFO] [stdout]  --> src/metrics/latency.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct LatencyMetrics {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     pub samples: Vec<f64>,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `LatencyMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `calculate` are never used
[INFO] [stdout]   --> src/metrics/latency.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LatencyMetrics {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn update(&mut self, latency: f64) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn calculate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `domain_counts` is never read
[INFO] [stdout]  --> src/metrics/cache.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CacheMetrics {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     domain_counts: HashMap<String, u64>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CacheMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `record_query` is never used
[INFO] [stdout]   --> src/metrics/cache.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl CacheMetrics {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 12 |     pub fn record_query(&mut self, domain: &str, is_cached: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `failed_queries`, `avg_response_time`, `start_time`, and `response_times` are never read
[INFO] [stdout]   --> src/metrics/performance.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PerformanceMetrics {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub failed_queries: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     pub queries_per_second: f64,
[INFO] [stdout]  9 |     pub avg_response_time: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     start_time: Option<Instant>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     response_times: Vec<Duration>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PerformanceMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `start_test`, `record_query`, and `calculate` are never used
[INFO] [stdout]   --> src/metrics/performance.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl PerformanceMetrics {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn start_test(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn record_query(&mut self, success: bool, response_time: Duration) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn calculate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s
[INFO] running `Command { std: "docker" "inspect" "568cb455fa195e75c130dd43d6455b3a51f6fe97896ca5545839807e2a6da5fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "568cb455fa195e75c130dd43d6455b3a51f6fe97896ca5545839807e2a6da5fa", kill_on_drop: false }`
[INFO] [stdout] 568cb455fa195e75c130dd43d6455b3a51f6fe97896ca5545839807e2a6da5fa
