[INFO] cloning repository https://github.com/slogemann1/dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slogemann1/dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslogemann1%2Fdns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslogemann1%2Fdns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40050d361f1953a9f8212dcf0fb5858e1c07846b [INFO] testing slogemann1/dns against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslogemann1%2Fdns" "/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/slogemann1/dns on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/slogemann1/dns [INFO] finished tweaking git repo https://github.com/slogemann1/dns [INFO] tweaked toml for git repo https://github.com/slogemann1/dns written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/slogemann1/dns already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0224f1e38e202fc54afdd51c6b99c0dc0f9f74da3d2b72d61ae0a13190d9161d [INFO] running `Command { std: "docker" "start" "-a" "0224f1e38e202fc54afdd51c6b99c0dc0f9f74da3d2b72d61ae0a13190d9161d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0224f1e38e202fc54afdd51c6b99c0dc0f9f74da3d2b72d61ae0a13190d9161d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0224f1e38e202fc54afdd51c6b99c0dc0f9f74da3d2b72d61ae0a13190d9161d", kill_on_drop: false }` [INFO] [stdout] 0224f1e38e202fc54afdd51c6b99c0dc0f9f74da3d2b72d61ae0a13190d9161d [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0736a5e5830c1e5631bbd81b684cceabfba0a343cbcfc1d9bcb0477d8352e275 [INFO] running `Command { std: "docker" "start" "-a" "0736a5e5830c1e5631bbd81b684cceabfba0a343cbcfc1d9bcb0477d8352e275", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling rusqlite v0.24.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.9 [INFO] [stderr] Compiling dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/database.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if let Err(err) = results { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/database.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(val) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/database.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | if let Err(err) = results { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cname` [INFO] [stdout] --> src/dns_request/structs.rs:575:22 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn new_cname(cname: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:160:62 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_ans_from_val(value: &str, record_type: DnsRecordType, mut ans: DnsAnswer) -> DnsAnswer { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode` [INFO] [stdout] --> src/dns_request/structs.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn opcode(mut self, opcode: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ar_count` [INFO] [stdout] --> src/dns_request/structs.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn ar_count(mut self, ar_count: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_auth_record` [INFO] [stdout] --> src/dns_request/structs.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn add_auth_record(mut self, auth_record: DnsAnswer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns_request/structs.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | pub(super) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `class` [INFO] [stdout] --> src/dns_request/structs.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn class(mut self, class: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mname` [INFO] [stdout] --> src/dns_request/structs.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn mname(mut self, mname: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rname` [INFO] [stdout] --> src/dns_request/structs.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn rname(mut self, rname: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serial` [INFO] [stdout] --> src/dns_request/structs.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn serial(mut self, serial: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refresh` [INFO] [stdout] --> src/dns_request/structs.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn refresh(mut self, refresh: u32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `retry` [INFO] [stdout] --> src/dns_request/structs.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn retry(mut self, retry: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expire` [INFO] [stdout] --> src/dns_request/structs.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn expire(mut self, expire: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum` [INFO] [stdout] --> src/dns_request/structs.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn minimum(mut self, minimum: u32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `TC` [INFO] [stdout] --> src/google_dns/structs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | TC: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `RD` [INFO] [stdout] --> src/google_dns/structs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RD: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `RA` [INFO] [stdout] --> src/google_dns/structs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | RA: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `AD` [INFO] [stdout] --> src/google_dns/structs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | AD: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `CD` [INFO] [stdout] --> src/google_dns/structs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | CD: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `Question` [INFO] [stdout] --> src/google_dns/structs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Question: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `Comment` [INFO] [stdout] --> src/google_dns/structs.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Comment: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `name` [INFO] [stdout] --> src/google_dns/structs.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsQuestion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Clone)] [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: `type` [INFO] [stdout] --> src/google_dns/structs.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | r#type: u8 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsQuestion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Clone)] [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.60s [INFO] running `Command { std: "docker" "inspect" "0736a5e5830c1e5631bbd81b684cceabfba0a343cbcfc1d9bcb0477d8352e275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0736a5e5830c1e5631bbd81b684cceabfba0a343cbcfc1d9bcb0477d8352e275", kill_on_drop: false }` [INFO] [stdout] 0736a5e5830c1e5631bbd81b684cceabfba0a343cbcfc1d9bcb0477d8352e275 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a17eac5a1b3255adff18260c85fb931c5e31d0dcb3ed6def690bd9efd115802 [INFO] running `Command { std: "docker" "start" "-a" "4a17eac5a1b3255adff18260c85fb931c5e31d0dcb3ed6def690bd9efd115802", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/database.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if let Err(err) = results { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/database.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(val) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/database.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | if let Err(err) = results { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cname` [INFO] [stdout] --> src/dns_request/structs.rs:575:22 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn new_cname(cname: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:160:62 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_ans_from_val(value: &str, record_type: DnsRecordType, mut ans: DnsAnswer) -> DnsAnswer { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ar_count` [INFO] [stdout] --> src/dns_request/structs.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn ar_count(mut self, ar_count: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_auth_record` [INFO] [stdout] --> src/dns_request/structs.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn add_auth_record(mut self, auth_record: DnsAnswer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `class` [INFO] [stdout] --> src/dns_request/structs.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn class(mut self, class: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mname` [INFO] [stdout] --> src/dns_request/structs.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn mname(mut self, mname: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rname` [INFO] [stdout] --> src/dns_request/structs.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn rname(mut self, rname: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serial` [INFO] [stdout] --> src/dns_request/structs.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn serial(mut self, serial: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refresh` [INFO] [stdout] --> src/dns_request/structs.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn refresh(mut self, refresh: u32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `retry` [INFO] [stdout] --> src/dns_request/structs.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn retry(mut self, retry: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expire` [INFO] [stdout] --> src/dns_request/structs.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn expire(mut self, expire: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum` [INFO] [stdout] --> src/dns_request/structs.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn minimum(mut self, minimum: u32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `TC` [INFO] [stdout] --> src/google_dns/structs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | TC: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `RD` [INFO] [stdout] --> src/google_dns/structs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RD: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `RA` [INFO] [stdout] --> src/google_dns/structs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | RA: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `AD` [INFO] [stdout] --> src/google_dns/structs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | AD: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `CD` [INFO] [stdout] --> src/google_dns/structs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | CD: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `Question` [INFO] [stdout] --> src/google_dns/structs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Question: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `Comment` [INFO] [stdout] --> src/google_dns/structs.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Comment: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize, Clone)] [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: `name` [INFO] [stdout] --> src/google_dns/structs.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsQuestion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Clone)] [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: `type` [INFO] [stdout] --> src/google_dns/structs.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | r#type: u8 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GoogleDnsQuestion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/google_dns/structs.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Clone)] [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.21s [INFO] running `Command { std: "docker" "inspect" "4a17eac5a1b3255adff18260c85fb931c5e31d0dcb3ed6def690bd9efd115802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a17eac5a1b3255adff18260c85fb931c5e31d0dcb3ed6def690bd9efd115802", kill_on_drop: false }` [INFO] [stdout] 4a17eac5a1b3255adff18260c85fb931c5e31d0dcb3ed6def690bd9efd115802 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 345dbaae451069ef2e1e98c20bcc560be288080b91abbebfdb16d307186a9bcb [INFO] running `Command { std: "docker" "start" "-a" "345dbaae451069ef2e1e98c20bcc560be288080b91abbebfdb16d307186a9bcb", 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] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/database.rs:103:16 [INFO] [stderr] | [INFO] [stderr] 103 | if let Err(err) = results { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/database.rs:120:16 [INFO] [stderr] | [INFO] [stderr] 120 | Ok(val) => (), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/database.rs:127:16 [INFO] [stderr] | [INFO] [stderr] 127 | if let Err(err) = results { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cname` [INFO] [stderr] --> src/dns_request/structs.rs:575:22 [INFO] [stderr] | [INFO] [stderr] 575 | pub fn new_cname(cname: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/database.rs:160:62 [INFO] [stderr] | [INFO] [stderr] 160 | fn get_ans_from_val(value: &str, record_type: DnsRecordType, mut ans: DnsAnswer) -> DnsAnswer { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `ar_count` [INFO] [stderr] --> src/dns_request/structs.rs:208:12 [INFO] [stderr] | [INFO] [stderr] 208 | pub fn ar_count(mut self, ar_count: u16) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_auth_record` [INFO] [stderr] --> src/dns_request/structs.rs:228:12 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn add_auth_record(mut self, auth_record: DnsAnswer) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `class` [INFO] [stderr] --> src/dns_request/structs.rs:334:12 [INFO] [stderr] | [INFO] [stderr] 334 | pub fn class(mut self, class: u16) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mname` [INFO] [stderr] --> src/dns_request/structs.rs:404:12 [INFO] [stderr] | [INFO] [stderr] 404 | pub fn mname(mut self, mname: Vec) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rname` [INFO] [stderr] --> src/dns_request/structs.rs:410:12 [INFO] [stderr] | [INFO] [stderr] 410 | pub fn rname(mut self, rname: Vec) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `serial` [INFO] [stderr] --> src/dns_request/structs.rs:416:12 [INFO] [stderr] | [INFO] [stderr] 416 | pub fn serial(mut self, serial: u32) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `refresh` [INFO] [stderr] --> src/dns_request/structs.rs:422:12 [INFO] [stderr] | [INFO] [stderr] 422 | pub fn refresh(mut self, refresh: u32) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `retry` [INFO] [stderr] --> src/dns_request/structs.rs:428:12 [INFO] [stderr] | [INFO] [stderr] 428 | pub fn retry(mut self, retry: u32) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `expire` [INFO] [stderr] --> src/dns_request/structs.rs:434:12 [INFO] [stderr] | [INFO] [stderr] 434 | pub fn expire(mut self, expire: u32) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `minimum` [INFO] [stderr] --> src/dns_request/structs.rs:440:12 [INFO] [stderr] | [INFO] [stderr] 440 | pub fn minimum(mut self, minimum: u32) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `TC` [INFO] [stderr] --> src/google_dns/structs.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | TC: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Deserialize, Clone)] [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: `RD` [INFO] [stderr] --> src/google_dns/structs.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | RD: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Deserialize, Clone)] [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: `RA` [INFO] [stderr] --> src/google_dns/structs.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | RA: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Deserialize, Clone)] [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: `AD` [INFO] [stderr] --> src/google_dns/structs.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | AD: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Deserialize, Clone)] [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: `CD` [INFO] [stderr] --> src/google_dns/structs.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | CD: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Deserialize, Clone)] [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: `Question` [INFO] [stderr] --> src/google_dns/structs.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Question: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Deserialize, Clone)] [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: `Comment` [INFO] [stderr] --> src/google_dns/structs.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Comment: Option [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Deserialize, Clone)] [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: `name` [INFO] [stderr] --> src/google_dns/structs.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsQuestion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug, Deserialize, Clone)] [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: `type` [INFO] [stderr] --> src/google_dns/structs.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | r#type: u8 [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GoogleDnsQuestion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/google_dns/structs.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug, Deserialize, Clone)] [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: `dns` (bin "dns" test) generated 24 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.92s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dns-fd3a0022ec9023a8) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test dns_request::structs::tests::domain_list_to_bytes_test ... ok [INFO] [stdout] test dns_request::structs::tests::response_test ... ok [INFO] [stdout] test dns_request::structs::tests::header_test ... ok [INFO] [stdout] test dns_request::tests::parse_query_test ... ok [INFO] [stdout] test dns_request::tests::parse_question_test ... ok [INFO] [stdout] test dns_request::tests::parse_query_test_fail ... ok [INFO] [stdout] test dns_request::tests::parse_header_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "345dbaae451069ef2e1e98c20bcc560be288080b91abbebfdb16d307186a9bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "345dbaae451069ef2e1e98c20bcc560be288080b91abbebfdb16d307186a9bcb", kill_on_drop: false }` [INFO] [stdout] 345dbaae451069ef2e1e98c20bcc560be288080b91abbebfdb16d307186a9bcb