[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] accb6c45804ee0f366621f0be680e5765139d9e6 [INFO] checking MrGunflame/dns against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fdns" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MrGunflame/dns on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to highest Rust 1.101.0-nightly compatible versions [INFO] [stderr] Updating hashbrown v0.15.5 -> v0.17.1 [INFO] [stderr] Updating indexmap v2.11.0 -> v2.14.2 [INFO] [stderr] Updating serde v1.0.219 -> v1.0.229 [INFO] [stderr] Adding serde_core v1.0.229 [INFO] [stderr] Updating serde_derive v1.0.219 -> v1.0.229 [INFO] [stderr] Adding serde_spanned v1.1.2 [INFO] [stderr] Adding syn v3.0.9 [INFO] [stderr] Adding toml v0.9.12+spec-1.1.0 (available: v1.1.8+spec-1.1.0) [INFO] [stderr] Adding toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Adding toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Adding toml_writer v1.1.3+spec-1.1.0 [INFO] [stderr] Adding winnow v0.7.15 [INFO] [stderr] Adding winnow v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622 [INFO] running `Command { std: "docker" "start" "7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking winnow v1.0.4 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking serde_spanned v1.1.2 [INFO] [stderr] Checking toml_writer v1.1.3+spec-1.1.0 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v3.0.9 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Compiling synstructure v0.13.2 [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 clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [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_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower-http v0.6.6 [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: useless conversion to the same type: `Duration` [INFO] [stdout] --> src/frontend/tcp.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | _ = tokio::time::sleep(TIMEOUT.into()).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 73 - _ = tokio::time::sleep(TIMEOUT.into()).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] 73 + _ = tokio::time::sleep(TIMEOUT).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 73 - _ = tokio::time::sleep(TIMEOUT.into()).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] 73 + _ = tokio::time::sleep(>::into(TIMEOUT)).fuse() => return Err(StreamError::Timeout), [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 1 previous error; 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: useless conversion to the same type: `Duration` [INFO] [stdout] --> src/frontend/tcp.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | _ = tokio::time::sleep(TIMEOUT.into()).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 73 - _ = tokio::time::sleep(TIMEOUT.into()).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] 73 + _ = tokio::time::sleep(TIMEOUT).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 73 - _ = tokio::time::sleep(TIMEOUT.into()).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] 73 + _ = tokio::time::sleep(>::into(TIMEOUT)).fuse() => return Err(StreamError::Timeout), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rdns` (bin "rdns" test) due to 1 previous error; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622", kill_on_drop: false }` [INFO] [stdout] 7a40b9316ed1d656686224c698b97c8237c2002d5e7789c8be1784e59608b622