[INFO] cloning repository https://github.com/MrGunflame/dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrGunflame/dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fdns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fdns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ea56a1b45cb81ca7df805f79a5488f827566ccb [INFO] checking MrGunflame/dns against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fdns" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MrGunflame/dns [INFO] finished tweaking git repo https://github.com/MrGunflame/dns [INFO] tweaked toml for git repo https://github.com/MrGunflame/dns written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MrGunflame/dns on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MrGunflame/dns 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 10 packages to latest Rust 1.95.0-nightly compatible versions [INFO] [stderr] Updating indexmap v2.11.0 -> v2.12.0 (available: v2.13.0) [INFO] [stderr] Updating serde v1.0.219 -> v1.0.228 [INFO] [stderr] Adding serde_core v1.0.228 [INFO] [stderr] Updating serde_derive v1.0.219 -> v1.0.228 [INFO] [stderr] Adding serde_spanned v1.0.4 [INFO] [stderr] Adding toml v0.9.12+spec-1.1.0 (available: v1.0.3+spec-1.1.0) [INFO] [stderr] Adding toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Adding toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Adding toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Adding winnow v0.7.14 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c753921fa8fb35374b48848e3d272e59a2e55fe18abba6440afd45fe9850544 [INFO] running `Command { std: "docker" "start" "-a" "3c753921fa8fb35374b48848e3d272e59a2e55fe18abba6440afd45fe9850544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c753921fa8fb35374b48848e3d272e59a2e55fe18abba6440afd45fe9850544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c753921fa8fb35374b48848e3d272e59a2e55fe18abba6440afd45fe9850544", kill_on_drop: false }` [INFO] [stdout] 3c753921fa8fb35374b48848e3d272e59a2e55fe18abba6440afd45fe9850544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 025427f6726542bcf67e8daf21cebe4b0186848cec919abfe882c837abe44993 [INFO] running `Command { std: "docker" "start" "-a" "025427f6726542bcf67e8daf21cebe4b0186848cec919abfe882c837abe44993", kill_on_drop: false }` [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking clap v4.5.50 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking rdns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ResourceRecord` [INFO] [stdout] --> src/upstream/https.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{OpCode, Packet, Qr, Question, ResourceRecord, ResponseCode}; [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: `ResourceRecord` [INFO] [stdout] --> src/upstream/https.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{OpCode, Packet, Qr, Question, ResourceRecord, ResponseCode}; [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 variable: `packet` [INFO] [stdout] --> src/proto.rs:1000:13 [INFO] [stdout] | [INFO] [stdout] 1000 | let packet = Packet::decode(&payload[..]).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/frontend/tcp.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StreamError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 164 - Io(io::Error), [INFO] [stdout] 164 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/frontend/tcp.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | Decode(DecodeError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StreamError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 165 - Decode(DecodeError), [INFO] [stdout] 165 + Decode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upstream_times` is never read [INFO] [stdout] --> src/metrics.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Metrics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub upstream_times: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Header` is never constructed [INFO] [stdout] --> src/proto.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/proto.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Header { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 30 | pub fn qr(&self) -> Qr { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn opcode(&self) -> OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn aa(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn tc(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn rd(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn ra(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn rcode(&self) -> ResponseCode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn encode(&self, mut buf: B) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn decode(mut buf: B) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proto.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | Other(Type, Bytes), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecordData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 447 - Other(Type, Bytes), [INFO] [stdout] 447 + Other((), Bytes), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TXT` is never constructed [INFO] [stdout] --> src/proto.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 438 | pub enum RecordData { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 445 | TXT(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `MD` and `TXT` are never used [INFO] [stdout] --> src/proto.rs:535:15 [INFO] [stdout] | [INFO] [stdout] 515 | impl Type { [INFO] [stdout] | --------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 535 | pub const MD: Self = Self(3); [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub const TXT: Self = Self(16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidType`, `UnsupportedType`, and `InvalidUtf8` are never constructed [INFO] [stdout] --> src/proto.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 681 | pub enum DecodeError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 685 | InvalidType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 689 | UnsupportedType(Type), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 690 | InvalidUtf8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek_u8` is never used [INFO] [stdout] --> src/proto.rs:730:8 [INFO] [stdout] | [INFO] [stdout] 699 | impl<'a> Reader<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 730 | fn peek_u8(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/upstream.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Io(io::Error), [INFO] [stdout] 19 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/upstream.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Decode(DecodeError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Decode(DecodeError), [INFO] [stdout] 22 + Decode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/upstream.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | Http(reqwest::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Http(reqwest::Error), [INFO] [stdout] 24 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NonExistantDomain` is never constructed [INFO] [stdout] --> src/upstream.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | NonExistantDomain, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` 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 `clear` is never used [INFO] [stdout] --> src/upstream.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Zones { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/frontend/tcp.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StreamError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 164 - Io(io::Error), [INFO] [stdout] 164 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/frontend/tcp.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | Decode(DecodeError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StreamError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 165 - Decode(DecodeError), [INFO] [stdout] 165 + Decode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upstream_times` is never read [INFO] [stdout] --> src/metrics.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Metrics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub upstream_times: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Header` is never constructed [INFO] [stdout] --> src/proto.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/proto.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Header { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 30 | pub fn qr(&self) -> Qr { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn opcode(&self) -> OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn aa(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn tc(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn rd(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn ra(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn rcode(&self) -> ResponseCode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn encode(&self, mut buf: B) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn decode(mut buf: B) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proto.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | Other(Type, Bytes), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecordData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 447 - Other(Type, Bytes), [INFO] [stdout] 447 + Other((), Bytes), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TXT` is never constructed [INFO] [stdout] --> src/proto.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 438 | pub enum RecordData { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 445 | TXT(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `MD` and `TXT` are never used [INFO] [stdout] --> src/proto.rs:535:15 [INFO] [stdout] | [INFO] [stdout] 515 | impl Type { [INFO] [stdout] | --------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 535 | pub const MD: Self = Self(3); [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub const TXT: Self = Self(16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidType`, `UnsupportedType`, and `InvalidUtf8` are never constructed [INFO] [stdout] --> src/proto.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 681 | pub enum DecodeError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 685 | InvalidType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 689 | UnsupportedType(Type), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 690 | InvalidUtf8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek_u8` is never used [INFO] [stdout] --> src/proto.rs:730:8 [INFO] [stdout] | [INFO] [stdout] 699 | impl<'a> Reader<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 730 | fn peek_u8(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/upstream.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Io(io::Error), [INFO] [stdout] 19 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/upstream.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Decode(DecodeError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Decode(DecodeError), [INFO] [stdout] 22 + Decode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/upstream.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | Http(reqwest::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Http(reqwest::Error), [INFO] [stdout] 24 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NonExistantDomain` is never constructed [INFO] [stdout] --> src/upstream.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | NonExistantDomain, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` 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 `clear` is never used [INFO] [stdout] --> src/upstream.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Zones { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.61s [INFO] running `Command { std: "docker" "inspect" "025427f6726542bcf67e8daf21cebe4b0186848cec919abfe882c837abe44993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025427f6726542bcf67e8daf21cebe4b0186848cec919abfe882c837abe44993", kill_on_drop: false }` [INFO] [stdout] 025427f6726542bcf67e8daf21cebe4b0186848cec919abfe882c837abe44993