[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#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fdns" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MrGunflame/dns on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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.93.0-nightly compatible versions [INFO] [stderr] Updating indexmap v2.11.0 -> v2.12.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.3 [INFO] [stderr] Adding toml v0.9.8 [INFO] [stderr] Adding toml_datetime v0.7.3 [INFO] [stderr] Adding toml_parser v1.0.4 [INFO] [stderr] Adding toml_writer v1.0.4 [INFO] [stderr] Adding winnow v0.7.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eaa91e7b959090b395385fbb3e41d28246c5dfeaa6f37abdd5773110c42dd6a [INFO] running `Command { std: "docker" "start" "-a" "4eaa91e7b959090b395385fbb3e41d28246c5dfeaa6f37abdd5773110c42dd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eaa91e7b959090b395385fbb3e41d28246c5dfeaa6f37abdd5773110c42dd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eaa91e7b959090b395385fbb3e41d28246c5dfeaa6f37abdd5773110c42dd6a", kill_on_drop: false }` [INFO] [stdout] 4eaa91e7b959090b395385fbb3e41d28246c5dfeaa6f37abdd5773110c42dd6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9abff40ae164089456dd4905dd91654e02b06bc37e5991f621f7a20ed63c2776 [INFO] running `Command { std: "docker" "start" "-a" "9abff40ae164089456dd4905dd91654e02b06bc37e5991f621f7a20ed63c2776", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking clap v4.5.50 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [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 idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower-http v0.6.6 [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: 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] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/http/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 40 | | let resp = match req.uri().path() { [INFO] [stdout] 41 | | "/metrics" => metrics(state).await, [INFO] [stdout] 42 | | _ => Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(resp) [INFO] [stdout] 49 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/http/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [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] [stderr] error: could not compile `rdns` (bin "rdns") due to 2 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/http/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 40 | | let resp = match req.uri().path() { [INFO] [stdout] 41 | | "/metrics" => metrics(state).await, [INFO] [stdout] 42 | | _ => Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(resp) [INFO] [stdout] 49 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/http/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rdns` (bin "rdns" test) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9abff40ae164089456dd4905dd91654e02b06bc37e5991f621f7a20ed63c2776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abff40ae164089456dd4905dd91654e02b06bc37e5991f621f7a20ed63c2776", kill_on_drop: false }` [INFO] [stdout] 9abff40ae164089456dd4905dd91654e02b06bc37e5991f621f7a20ed63c2776