[INFO] cloning repository https://github.com/fietensen/tinydns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fietensen/tinydns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffietensen%2Ftinydns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffietensen%2Ftinydns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 297d8f47bafe7d645a94ed4dbc83ba89183687d9 [INFO] checking fietensen/tinydns against try#3298c2ca5e390fd0d104357fdeec514a152a9561 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffietensen%2Ftinydns" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fietensen/tinydns on toolchain 3298c2ca5e390fd0d104357fdeec514a152a9561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fietensen/tinydns [INFO] finished tweaking git repo https://github.com/fietensen/tinydns [INFO] tweaked toml for git repo https://github.com/fietensen/tinydns written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fietensen/tinydns 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" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cba37616c28e9ecc2c271dc6647f9931e1b9ce34f916b231ee2cd23331fad038 [INFO] running `Command { std: "docker" "start" "-a" "cba37616c28e9ecc2c271dc6647f9931e1b9ce34f916b231ee2cd23331fad038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cba37616c28e9ecc2c271dc6647f9931e1b9ce34f916b231ee2cd23331fad038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba37616c28e9ecc2c271dc6647f9931e1b9ce34f916b231ee2cd23331fad038", kill_on_drop: false }` [INFO] [stdout] cba37616c28e9ecc2c271dc6647f9931e1b9ce34f916b231ee2cd23331fad038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db501804a895405c73af01af7c60ec525650de541312a3ce50f9d1a39fb37744 [INFO] running `Command { std: "docker" "start" "-a" "db501804a895405c73af01af7c60ec525650de541312a3ce50f9d1a39fb37744", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking tinydns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ResponseCode` [INFO] [stdout] --> src/resolver/resolver.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | flags::{Flags, HeaderFlags, ResponseCode}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseCode` [INFO] [stdout] --> src/resolver/resolver.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | flags::{Flags, HeaderFlags, ResponseCode}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `questions` [INFO] [stdout] --> src/resolver/resolver.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn resolve(&self, questions: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_questions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `question` [INFO] [stdout] --> src/server/handle_packet.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | question: Question, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursion_desired` [INFO] [stdout] --> src/server/handle_packet.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | recursion_desired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursion_desired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/server/handle_packet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | config: &ServerConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `questions` [INFO] [stdout] --> src/resolver/resolver.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn resolve(&self, questions: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_questions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `question` [INFO] [stdout] --> src/server/handle_packet.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | question: Question, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursion_desired` [INFO] [stdout] --> src/server/handle_packet.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | recursion_desired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursion_desired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/server/handle_packet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | config: &ServerConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `question` [INFO] [stdout] --> src/nameserver/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn try_answer(question: Question, config: &ServerConfig) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/nameserver/mod.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn try_answer(question: Question, config: &ServerConfig) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `question` [INFO] [stdout] --> src/nameserver/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn try_answer(question: Question, config: &ServerConfig) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/nameserver/mod.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn try_answer(question: Question, config: &ServerConfig) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_answer` is never used [INFO] [stdout] --> src/nameserver/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn try_answer(question: Question, config: &ServerConfig) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_packet`, `with_qentry`, `with_aentry`, `with_authentry`, and `with_addentry` are never used [INFO] [stdout] --> src/protocol/packet/builder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PacketBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_packet(packet: Packet) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_qentry(mut self, qentry: Question) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_aentry(mut self, aentry: ResourceRecord) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_authentry(mut self, authentry: ResourceRecord) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn with_addentry(mut self, addentry: ResourceRecord) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `without_flag` is never used [INFO] [stdout] --> src/protocol/packet/flags.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl HeaderFlags { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn without_flag(mut self, flag: Flags) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/packet/flags.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct FlagsVec(Vec); [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FlagsVec` 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 `with_name`, `with_qtype`, `with_qclass`, `size`, `qtype`, and `qclass` are never used [INFO] [stdout] --> src/protocol/packet/question.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Question { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 23 | pub fn with_name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_qtype(mut self, qtype: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_qclass(mut self, qclass: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn qtype(&self) -> RecordType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn qclass(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size`, `name`, `rtype`, `rclass`, `ttl`, and `rdata` are never used [INFO] [stdout] --> src/protocol/packet/resource_record.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ResourceRecord { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn rtype(&self) -> RecordType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn rclass(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn ttl(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn rdata(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `query_fallback` and `resolve` are never used [INFO] [stdout] --> src/resolver/resolver.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 21 | impl Resolver { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 22 | async fn query_fallback( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn resolve(&self, questions: Vec) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_level` and `log_file` are never read [INFO] [stdout] --> src/server/server_config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | log_level: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | log_file: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/server/server_config.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ServerConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 24 | pub fn with_udp_port(mut self, port: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_listen_addr(mut self, addr: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_log_level(mut self, level: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn with_log_file(mut self, file: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn log_level(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn log_file(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn resolver(&self) -> &Resolver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn log_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn log_file_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_answer` is never used [INFO] [stdout] --> src/nameserver/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn try_answer(question: Question, config: &ServerConfig) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_packet`, `with_qentry`, `with_aentry`, `with_authentry`, and `with_addentry` are never used [INFO] [stdout] --> src/protocol/packet/builder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PacketBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_packet(packet: Packet) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_qentry(mut self, qentry: Question) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_aentry(mut self, aentry: ResourceRecord) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_authentry(mut self, authentry: ResourceRecord) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn with_addentry(mut self, addentry: ResourceRecord) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `without_flag` is never used [INFO] [stdout] --> src/protocol/packet/flags.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl HeaderFlags { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn without_flag(mut self, flag: Flags) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/packet/flags.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct FlagsVec(Vec); [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FlagsVec` 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 `size`, `qtype`, and `qclass` are never used [INFO] [stdout] --> src/protocol/packet/question.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Question { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn qtype(&self) -> RecordType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn qclass(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size`, `name`, `rtype`, `rclass`, `ttl`, and `rdata` are never used [INFO] [stdout] --> src/protocol/packet/resource_record.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ResourceRecord { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn rtype(&self) -> RecordType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn rclass(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn ttl(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn rdata(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `query_fallback` and `resolve` are never used [INFO] [stdout] --> src/resolver/resolver.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 21 | impl Resolver { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 22 | async fn query_fallback( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn resolve(&self, questions: Vec) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_level` and `log_file` are never read [INFO] [stdout] --> src/server/server_config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | log_level: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | log_file: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/server/server_config.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ServerConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 24 | pub fn with_udp_port(mut self, port: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_listen_addr(mut self, addr: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_log_level(mut self, level: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn with_log_file(mut self, file: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn log_level(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn log_file(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn resolver(&self) -> &Resolver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn log_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn log_file_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.14s [INFO] running `Command { std: "docker" "inspect" "db501804a895405c73af01af7c60ec525650de541312a3ce50f9d1a39fb37744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db501804a895405c73af01af7c60ec525650de541312a3ce50f9d1a39fb37744", kill_on_drop: false }` [INFO] [stdout] db501804a895405c73af01af7c60ec525650de541312a3ce50f9d1a39fb37744