[INFO] cloning repository https://github.com/jawline/rust_dns_client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jawline/rust_dns_client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Frust_dns_client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Frust_dns_client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d86f63660711439907dc9c38516c33da0cb2d283 [INFO] checking jawline/rust_dns_client against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Frust_dns_client" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jawline/rust_dns_client on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jawline/rust_dns_client [INFO] finished tweaking git repo https://github.com/jawline/rust_dns_client [INFO] tweaked toml for git repo https://github.com/jawline/rust_dns_client written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jawline/rust_dns_client already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9908ae0611478e00a4ee8be7d8bb86c7b52a59d20180302f5b36be28deb923e [INFO] running `Command { std: "docker" "start" "-a" "e9908ae0611478e00a4ee8be7d8bb86c7b52a59d20180302f5b36be28deb923e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9908ae0611478e00a4ee8be7d8bb86c7b52a59d20180302f5b36be28deb923e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9908ae0611478e00a4ee8be7d8bb86c7b52a59d20180302f5b36be28deb923e", kill_on_drop: false }` [INFO] [stdout] e9908ae0611478e00a4ee8be7d8bb86c7b52a59d20180302f5b36be28deb923e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3dd16f1b006943f8944c1a976ceac57985e60f7773f36293f6ed6e4edc7c09f [INFO] running `Command { std: "docker" "start" "-a" "c3dd16f1b006943f8944c1a976ceac57985e60f7773f36293f6ed6e4edc7c09f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking dns_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/record.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | "NS" => Some(NS_CODE), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 20 | "CNAME" => Some(CNAME_CODE), [INFO] [stdout] 21 | "NS" => Some(NS_CODE), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/record.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | "NS" => Some(NS_CODE), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 20 | "CNAME" => Some(CNAME_CODE), [INFO] [stdout] 21 | "NS" => Some(NS_CODE), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/record.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | "NS" => Some(NS_CODE), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 20 | "CNAME" => Some(CNAME_CODE), [INFO] [stdout] 21 | "NS" => Some(NS_CODE), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_code`, `class_code`, `ttl`, `rdlength`, and `rdata` are never read [INFO] [stdout] --> src/answer.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Answer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub name: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub type_code: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub class_code: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub rdata: Record [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOA_CODE` is never used [INFO] [stdout] --> src/record.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SOA_CODE: u16 = 0x6; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WKS_CODE` is never used [INFO] [stdout] --> src/record.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const WKS_CODE: u16 = 0xB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PTR_CODE` is never used [INFO] [stdout] --> src/record.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PTR_CODE: u16 = 0xC; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SRV_CODE` is never used [INFO] [stdout] --> src/record.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const SRV_CODE: u16 = 0x21; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AAAA_CODE` is never used [INFO] [stdout] --> src/record.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const AAAA_CODE: u16 = 0x1C; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | A(Ipv4Addr), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | CNAME(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | CNAME(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | NS(Vec), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | NS(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/record.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | MX(u16, Vec), [INFO] [stdout] | -- ^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 34 | MX((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | TXT(String) [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 | TXT(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/record.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | "NS" => Some(NS_CODE), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 20 | "CNAME" => Some(CNAME_CODE), [INFO] [stdout] 21 | "NS" => Some(NS_CODE), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_code`, `class_code`, `ttl`, `rdlength`, and `rdata` are never read [INFO] [stdout] --> src/answer.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Answer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub name: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub type_code: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub class_code: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub rdata: Record [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOA_CODE` is never used [INFO] [stdout] --> src/record.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SOA_CODE: u16 = 0x6; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WKS_CODE` is never used [INFO] [stdout] --> src/record.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const WKS_CODE: u16 = 0xB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PTR_CODE` is never used [INFO] [stdout] --> src/record.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PTR_CODE: u16 = 0xC; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SRV_CODE` is never used [INFO] [stdout] --> src/record.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const SRV_CODE: u16 = 0x21; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AAAA_CODE` is never used [INFO] [stdout] --> src/record.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const AAAA_CODE: u16 = 0x1C; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | A(Ipv4Addr), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | CNAME(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | CNAME(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | NS(Vec), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | NS(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/record.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | MX(u16, Vec), [INFO] [stdout] | -- ^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 34 | MX((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/record.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | TXT(String) [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 | TXT(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "c3dd16f1b006943f8944c1a976ceac57985e60f7773f36293f6ed6e4edc7c09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3dd16f1b006943f8944c1a976ceac57985e60f7773f36293f6ed6e4edc7c09f", kill_on_drop: false }` [INFO] [stdout] c3dd16f1b006943f8944c1a976ceac57985e60f7773f36293f6ed6e4edc7c09f