[INFO] cloning repository https://github.com/pmalmgren/dnsclient-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pmalmgren/dnsclient-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpmalmgren%2Fdnsclient-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpmalmgren%2Fdnsclient-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9fb783919bfbdefd61539e09e90a04de66fc5a2 [INFO] testing pmalmgren/dnsclient-rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpmalmgren%2Fdnsclient-rust" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pmalmgren/dnsclient-rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pmalmgren/dnsclient-rust [INFO] finished tweaking git repo https://github.com/pmalmgren/dnsclient-rust [INFO] tweaked toml for git repo https://github.com/pmalmgren/dnsclient-rust written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/pmalmgren/dnsclient-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95c093361d367d11c4b6dae5952f1e8dde2bdd667b622b59855413921b1515ec [INFO] running `Command { std: "docker" "start" "-a" "95c093361d367d11c4b6dae5952f1e8dde2bdd667b622b59855413921b1515ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95c093361d367d11c4b6dae5952f1e8dde2bdd667b622b59855413921b1515ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95c093361d367d11c4b6dae5952f1e8dde2bdd667b622b59855413921b1515ec", kill_on_drop: false }` [INFO] [stdout] 95c093361d367d11c4b6dae5952f1e8dde2bdd667b622b59855413921b1515ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9342bf3d484370b0606ca7a93377b346f8e845b72684eaeb3749a50f6112f08f [INFO] running `Command { std: "docker" "start" "-a" "9342bf3d484370b0606ca7a93377b346f8e845b72684eaeb3749a50f6112f08f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dig-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/dns.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | fn query(config: AppConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/dns.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/dns.rs:134:68 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hostname` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | hostname: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AppConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dns_server` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | dns_server: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/dns.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | A = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NS` [INFO] [stdout] --> src/dns.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NS = 2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CNAME` [INFO] [stdout] --> src/dns.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | CNAME = 5, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SOA` [INFO] [stdout] --> src/dns.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | SOA = 6, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PTR` [INFO] [stdout] --> src/dns.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | PTR = 12, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MX` [INFO] [stdout] --> src/dns.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | MX = 15, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TXT` [INFO] [stdout] --> src/dns.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | TXT = 16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AAAA` [INFO] [stdout] --> src/dns.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | AAAA = 28, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SRV` [INFO] [stdout] --> src/dns.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SRV = 33, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NAPTR` [INFO] [stdout] --> src/dns.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | NAPTR = 35, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OPT` [INFO] [stdout] --> src/dns.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | OPT = 41, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IXFR` [INFO] [stdout] --> src/dns.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IXFR = 251, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AXFR` [INFO] [stdout] --> src/dns.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | AXFR = 252, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ANY` [INFO] [stdout] --> src/dns.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ANY = 255, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/dns.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Iterative` [INFO] [stdout] --> src/dns.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Iterative = 0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Recursive` [INFO] [stdout] --> src/dns.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Recursive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/dns.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InternetClass` [INFO] [stdout] --> src/dns.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | InternetClass = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoClass` [INFO] [stdout] --> src/dns.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | NoClass = 254, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AllClass` [INFO] [stdout] --> src/dns.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | AllClass = 255, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qz_name` [INFO] [stdout] --> src/dns.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | qz_name: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qz_type` [INFO] [stdout] --> src/dns.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | qz_type: DnsRecordType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qz_class` [INFO] [stdout] --> src/dns.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | qz_class: DnsQueryClass, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rr_name` [INFO] [stdout] --> src/dns.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | rr_name: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queries` [INFO] [stdout] --> src/dns.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | queries: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `answers` [INFO] [stdout] --> src/dns.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | answers: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authority` [INFO] [stdout] --> src/dns.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | authority: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional` [INFO] [stdout] --> src/dns.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | additional: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction_id` [INFO] [stdout] --> src/dns.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | transaction_id: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> src/dns.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | flags: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_count` [INFO] [stdout] --> src/dns.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | query_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `answer_count` [INFO] [stdout] --> src/dns.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | answer_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authority_count` [INFO] [stdout] --> src/dns.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | authority_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_count` [INFO] [stdout] --> src/dns.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | additional_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `records` [INFO] [stdout] --> src/dns.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | records: DnsMessageSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(trans_id: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_query` [INFO] [stdout] --> src/dns.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `udp_sock` [INFO] [stdout] --> src/dns.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | udp_sock: UdpSocket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trans_id` [INFO] [stdout] --> src/dns.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | trans_id: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new(server: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/dns.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn query( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.82s [INFO] running `Command { std: "docker" "inspect" "9342bf3d484370b0606ca7a93377b346f8e845b72684eaeb3749a50f6112f08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9342bf3d484370b0606ca7a93377b346f8e845b72684eaeb3749a50f6112f08f", kill_on_drop: false }` [INFO] [stdout] 9342bf3d484370b0606ca7a93377b346f8e845b72684eaeb3749a50f6112f08f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d583b372211e7973116e97bd06713579882b722cdcd794991e7d8ae668022bf7 [INFO] running `Command { std: "docker" "start" "-a" "d583b372211e7973116e97bd06713579882b722cdcd794991e7d8ae668022bf7", kill_on_drop: false }` [INFO] [stderr] Compiling dig-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/dns.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | fn query(config: AppConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/dns.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/dns.rs:134:68 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/dns.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | A = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NS` [INFO] [stdout] --> src/dns.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NS = 2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CNAME` [INFO] [stdout] --> src/dns.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | CNAME = 5, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SOA` [INFO] [stdout] --> src/dns.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | SOA = 6, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PTR` [INFO] [stdout] --> src/dns.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | PTR = 12, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MX` [INFO] [stdout] --> src/dns.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | MX = 15, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TXT` [INFO] [stdout] --> src/dns.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | TXT = 16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AAAA` [INFO] [stdout] --> src/dns.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | AAAA = 28, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SRV` [INFO] [stdout] --> src/dns.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SRV = 33, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NAPTR` [INFO] [stdout] --> src/dns.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | NAPTR = 35, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OPT` [INFO] [stdout] --> src/dns.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | OPT = 41, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IXFR` [INFO] [stdout] --> src/dns.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IXFR = 251, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AXFR` [INFO] [stdout] --> src/dns.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | AXFR = 252, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ANY` [INFO] [stdout] --> src/dns.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ANY = 255, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/dns.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Iterative` [INFO] [stdout] --> src/dns.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Iterative = 0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Recursive` [INFO] [stdout] --> src/dns.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Recursive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/dns.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InternetClass` [INFO] [stdout] --> src/dns.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | InternetClass = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoClass` [INFO] [stdout] --> src/dns.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | NoClass = 254, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AllClass` [INFO] [stdout] --> src/dns.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | AllClass = 255, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qz_name` [INFO] [stdout] --> src/dns.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | qz_name: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qz_type` [INFO] [stdout] --> src/dns.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | qz_type: DnsRecordType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qz_class` [INFO] [stdout] --> src/dns.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | qz_class: DnsQueryClass, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rr_name` [INFO] [stdout] --> src/dns.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | rr_name: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queries` [INFO] [stdout] --> src/dns.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | queries: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `answers` [INFO] [stdout] --> src/dns.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | answers: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authority` [INFO] [stdout] --> src/dns.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | authority: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional` [INFO] [stdout] --> src/dns.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | additional: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction_id` [INFO] [stdout] --> src/dns.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | transaction_id: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> src/dns.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | flags: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_count` [INFO] [stdout] --> src/dns.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | query_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `answer_count` [INFO] [stdout] --> src/dns.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | answer_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authority_count` [INFO] [stdout] --> src/dns.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | authority_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_count` [INFO] [stdout] --> src/dns.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | additional_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `records` [INFO] [stdout] --> src/dns.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | records: DnsMessageSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(trans_id: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_query` [INFO] [stdout] --> src/dns.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `udp_sock` [INFO] [stdout] --> src/dns.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | udp_sock: UdpSocket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trans_id` [INFO] [stdout] --> src/dns.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | trans_id: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DnsSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dns.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new(server: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/dns.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn query( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dig_rs-c5a3b24d658fa0e0) [INFO] running `Command { std: "docker" "inspect" "d583b372211e7973116e97bd06713579882b722cdcd794991e7d8ae668022bf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d583b372211e7973116e97bd06713579882b722cdcd794991e7d8ae668022bf7", kill_on_drop: false }` [INFO] [stdout] d583b372211e7973116e97bd06713579882b722cdcd794991e7d8ae668022bf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f78f5ec1b7e3a4553e1f6fdcb9778584db0378a218cb649e15fb2a64fa104b57 [INFO] running `Command { std: "docker" "start" "-a" "f78f5ec1b7e3a4553e1f6fdcb9778584db0378a218cb649e15fb2a64fa104b57", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/dns.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/main.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | fn query(config: AppConfig) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hostname` [INFO] [stderr] --> src/dns.rs:134:29 [INFO] [stderr] | [INFO] [stderr] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `record` [INFO] [stderr] --> src/dns.rs:134:68 [INFO] [stderr] | [INFO] [stderr] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/dns.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | A = 1, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NS` [INFO] [stderr] --> src/dns.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | NS = 2, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CNAME` [INFO] [stderr] --> src/dns.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | CNAME = 5, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SOA` [INFO] [stderr] --> src/dns.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | SOA = 6, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PTR` [INFO] [stderr] --> src/dns.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | PTR = 12, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MX` [INFO] [stderr] --> src/dns.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | MX = 15, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TXT` [INFO] [stderr] --> src/dns.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | TXT = 16, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AAAA` [INFO] [stderr] --> src/dns.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | AAAA = 28, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SRV` [INFO] [stderr] --> src/dns.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | SRV = 33, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NAPTR` [INFO] [stderr] --> src/dns.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | NAPTR = 35, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OPT` [INFO] [stderr] --> src/dns.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | OPT = 41, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IXFR` [INFO] [stderr] --> src/dns.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | IXFR = 251, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AXFR` [INFO] [stderr] --> src/dns.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | AXFR = 252, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ANY` [INFO] [stderr] --> src/dns.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | ANY = 255, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsRecordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value` [INFO] [stderr] --> src/dns.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | fn value(&self) -> u8 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Iterative` [INFO] [stderr] --> src/dns.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | Iterative = 0, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsQueryType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Recursive` [INFO] [stderr] --> src/dns.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | Recursive, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsQueryType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value` [INFO] [stderr] --> src/dns.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | fn value(&self) -> u16 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InternetClass` [INFO] [stderr] --> src/dns.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | InternetClass = 1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NoClass` [INFO] [stderr] --> src/dns.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | NoClass = 254, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AllClass` [INFO] [stderr] --> src/dns.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | AllClass = 255, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsQueryClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `qz_name` [INFO] [stderr] --> src/dns.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | qz_name: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `qz_type` [INFO] [stderr] --> src/dns.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | qz_type: DnsRecordType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `qz_class` [INFO] [stderr] --> src/dns.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | qz_class: DnsQueryClass, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueryZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rr_name` [INFO] [stderr] --> src/dns.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | rr_name: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `queries` [INFO] [stderr] --> src/dns.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | queries: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `answers` [INFO] [stderr] --> src/dns.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | answers: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `authority` [INFO] [stderr] --> src/dns.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | authority: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `additional` [INFO] [stderr] --> src/dns.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | additional: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessageSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/dns.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `transaction_id` [INFO] [stderr] --> src/dns.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | transaction_id: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `flags` [INFO] [stderr] --> src/dns.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | flags: u16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `query_count` [INFO] [stderr] --> src/dns.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | query_count: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `answer_count` [INFO] [stderr] --> src/dns.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | answer_count: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `authority_count` [INFO] [stderr] --> src/dns.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | authority_count: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `additional_count` [INFO] [stderr] --> src/dns.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | additional_count: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `records` [INFO] [stderr] --> src/dns.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | records: DnsMessageSection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/dns.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn new(trans_id: u16) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_query` [INFO] [stderr] --> src/dns.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 134 | fn set_query(&mut self, hostname: String, query: DnsQueryType, record: DnsRecordType) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `udp_sock` [INFO] [stderr] --> src/dns.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | udp_sock: UdpSocket, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:143:10 [INFO] [stderr] | [INFO] [stderr] 143 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `trans_id` [INFO] [stderr] --> src/dns.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | trans_id: u16, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DnsSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dns.rs:143:10 [INFO] [stderr] | [INFO] [stderr] 143 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/dns.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | pub fn new(server: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `query` [INFO] [stderr] --> src/dns.rs:159:12 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn query( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dig-rs` (bin "dig-rs" test) generated 47 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dig_rs-c5a3b24d658fa0e0) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test config::tests::test_it_parses_matches ... ok [INFO] [stdout] test config::tests::test_it_parses_resolv_conf ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f78f5ec1b7e3a4553e1f6fdcb9778584db0378a218cb649e15fb2a64fa104b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f78f5ec1b7e3a4553e1f6fdcb9778584db0378a218cb649e15fb2a64fa104b57", kill_on_drop: false }` [INFO] [stdout] f78f5ec1b7e3a4553e1f6fdcb9778584db0378a218cb649e15fb2a64fa104b57