[INFO] cloning repository https://github.com/garmxw/Dns-in-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garmxw/Dns-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarmxw%2FDns-in-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarmxw%2FDns-in-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f42345f8ade7a4bce256981062939f0a89e509c6
[INFO] checking garmxw/Dns-in-rust against be3da1e8c043bb6f1f335463d3b1335cdf50b03c for pr-162597
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarmxw%2FDns-in-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/garmxw/Dns-in-rust
[INFO] finished tweaking git repo https://github.com/garmxw/Dns-in-rust
[INFO] tweaked toml for git repo https://github.com/garmxw/Dns-in-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/garmxw/Dns-in-rust on toolchain be3da1e8c043bb6f1f335463d3b1335cdf50b03c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/garmxw/Dns-in-rust 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" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043
[INFO] running `Command { std: "docker" "start" "3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043" "/opt/rustwide/cargo-home/bin/cargo" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043" "/opt/rustwide/cargo-home/bin/cargo" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-dns v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/dns_header.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Io(io::Error),
[INFO] [stdout]   |     -- ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -     Io(io::Error),
[INFO] [stdout] 6 +     Io(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/dns_header.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Io(io::Error),
[INFO] [stdout]   |     -- ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -     Io(io::Error),
[INFO] [stdout] 6 +     Io(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/dns_header.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     DnsHeader(String),
[INFO] [stdout]   |     --------- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProgError` 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] 7 -     DnsHeader(String),
[INFO] [stdout] 7 +     DnsHeader(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/dns_header.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     DnsHeader(String),
[INFO] [stdout]   |     --------- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProgError` 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] 7 -     DnsHeader(String),
[INFO] [stdout] 7 +     DnsHeader(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ad` and `cd` are never read
[INFO] [stdout]   --> src/dns_header.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct DnsFlags {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub ad: bool,   // Authenticated Data
[INFO] [stdout]    |         ^^
[INFO] [stdout] 43 |     pub cd: bool,   // Checking Disabled
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DnsFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ad` and `cd` are never read
[INFO] [stdout]   --> src/dns_header.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct DnsFlags {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub ad: bool,   // Authenticated Data
[INFO] [stdout]    |         ^^
[INFO] [stdout] 43 |     pub cd: bool,   // Checking Disabled
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DnsFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/dns_header.rs:88:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl DnsHeader {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn is_response(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn authoritative_answer(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn truncated(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn recursion_desired(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn recursion_available(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn z(&self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn rcode(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/dns_header.rs:88:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl DnsHeader {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn is_response(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn authoritative_answer(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn truncated(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn recursion_desired(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn recursion_available(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn z(&self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn rcode(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Rcode` is never used
[INFO] [stdout]    --> src/dns_header.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub enum Rcode {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Opcode` is never used
[INFO] [stdout]    --> src/dns_header.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub enum Opcode {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Rcode` is never used
[INFO] [stdout]    --> src/dns_header.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub enum Rcode {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Opcode` is never used
[INFO] [stdout]    --> src/dns_header.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub enum Opcode {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] running `Command { std: "docker" "inspect" "3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043", kill_on_drop: false }`
[INFO] [stdout] 3f2eaf03ed4603a5c9024ca78c9f86ea407878abcd296b7f4ea697ff71fcf043
