[INFO] cloning repository https://github.com/manu3618/codecrafters-dns-server-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manu3618/codecrafters-dns-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanu3618%2Fcodecrafters-dns-server-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanu3618%2Fcodecrafters-dns-server-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1164d8767703f8437427811692da9b5b2a11cc0d
[INFO] testing manu3618/codecrafters-dns-server-rust against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanu3618%2Fcodecrafters-dns-server-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/manu3618/codecrafters-dns-server-rust
[INFO] finished tweaking git repo https://github.com/manu3618/codecrafters-dns-server-rust
[INFO] tweaked toml for git repo https://github.com/manu3618/codecrafters-dns-server-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/manu3618/codecrafters-dns-server-rust on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/manu3618/codecrafters-dns-server-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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a26a804d558cabbf5bb6ca0a7696e5d36674dd0c10bab286d96af03a2b52c1b
[INFO] running `Command { std: "docker" "start" "-a" "1a26a804d558cabbf5bb6ca0a7696e5d36674dd0c10bab286d96af03a2b52c1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a26a804d558cabbf5bb6ca0a7696e5d36674dd0c10bab286d96af03a2b52c1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a26a804d558cabbf5bb6ca0a7696e5d36674dd0c10bab286d96af03a2b52c1b", kill_on_drop: false }`
[INFO] [stdout] 1a26a804d558cabbf5bb6ca0a7696e5d36674dd0c10bab286d96af03a2b52c1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 134427bc02ab986a68fdfdb0c33b3615241a0f2322ec4ae4205593ffd0a750b8
[INFO] running `Command { std: "docker" "start" "-a" "134427bc02ab986a68fdfdb0c33b3615241a0f2322ec4ae4205593ffd0a750b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling codecrafters-dns-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             OpCode::Query => 0,
[INFO] [stdout]    |             ------------- matches some of the same values
[INFO] [stdout] 30 |             OpCode::IQuery => 1,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 31 |             OpCode::Status => 2,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 32 |             OpCode::Unassigned => unreachable!(),
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 36 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             RCode::NoError => 0,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 62 |             RCode::FormErr => 1,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 63 |             RCode::ServFail => 2,
[INFO] [stdout]    |             --------------- matches some of the same values
[INFO] [stdout] 64 |             RCode::NXDomain => 3,
[INFO] [stdout]    |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 67 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |             _ => unreachable!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             Class::IN => 1,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 269 |             Class::CS => 2,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 270 |             Class::CH => 3,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 271 |             Class::HS => 4,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 272 |             _ => unreachable!(),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `IQuery`, `Status`, `Unassigned`, `Notify`, `Update`, and `DSO` are never constructed
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum OpCode {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     IQuery,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |     /// Status [RFC1035]
[INFO] [stdout] 15 |     Status,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     /// Unassigned
[INFO] [stdout] 17 |     Unassigned,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 18 |     /// Notify [RFC1996]
[INFO] [stdout] 19 |     Notify,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     /// Update [RFC2136]
[INFO] [stdout] 21 |     Update,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 22 |     /// DNS Stateful Operations (DSO) [RFC8490]
[INFO] [stdout] 23 |     DSO,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpCode` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FormErr`, `ServFail`, `NXDomain`, `NotImp`, and `Refused` are never constructed
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | enum RCode {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |     FormErr,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 48 |     /// ServFail Server Failure [RFC1035]
[INFO] [stdout] 49 |     ServFail,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 50 |     /// NXDomain Non-Existent Domain [RFC1035]
[INFO] [stdout] 51 |     NXDomain,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 52 |     /// NotImp Not Implemented [RFC1035]
[INFO] [stdout] 53 |     NotImp,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     /// Refused Query Refused [RFC1035]
[INFO] [stdout] 55 |     Refused,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/main.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 193 | enum RRType {
[INFO] [stdout]     |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 198 |     NS,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 199 |     /// MD 3 a mail destination (Obsolete - use MX)
[INFO] [stdout] 200 |     MD,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 201 |     /// MF 4 a mail forwarder (Obsolete - use MX)
[INFO] [stdout] 202 |     MF,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 203 |     /// CNAME 5 the canonical name for an alias
[INFO] [stdout] 204 |     CName,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 205 |     /// SOA 6 marks the start of a zone of authority
[INFO] [stdout] 206 |     SOA,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 207 |     /// MB 7 a mailbox domain name (EXPERIMENTAL)
[INFO] [stdout] 208 |     MB,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 209 |     /// MG 8 a mail group member (EXPERIMENTAL)
[INFO] [stdout] 210 |     MG,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 211 |     /// MR 9 a mail rename domain name (EXPERIMENTAL)
[INFO] [stdout] 212 |     MR,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 213 |     /// NULL 10 a null RR (EXPERIMENTAL)
[INFO] [stdout] 214 |     NULL,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 215 |     /// WKS 11 a well known service description
[INFO] [stdout] 216 |     WKS,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 217 |     /// PTR 12 a domain name pointer
[INFO] [stdout] 218 |     PTR,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 219 |     /// HINFO 13 host information
[INFO] [stdout] 220 |     HInfo,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 221 |     /// MINFO 14 mailbox or mail list information
[INFO] [stdout] 222 |     MInfo,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 223 |     /// MX 15 mail exchange
[INFO] [stdout] 224 |     MX,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 225 |     /// TXT 16 text strings
[INFO] [stdout] 226 |     TXT,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RRType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CS`, `CH`, and `HS` are never constructed
[INFO] [stdout]    --> src/main.rs:259:5
[INFO] [stdout]     |
[INFO] [stdout] 254 | enum Class {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 259 |     CS,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 260 |     /// CH 3 the CHAOS class
[INFO] [stdout] 261 |     CH,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 262 |     /// HS 4 Hesiod [Dyer 87]
[INFO] [stdout] 263 |     HS,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rdlength` and `rddata` are never read
[INFO] [stdout]    --> src/main.rs:355:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | struct ResourceRecord {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 355 |     rdlength: Option<u16>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 356 |     rddata: Option<String>,
[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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.04s
[INFO] running `Command { std: "docker" "inspect" "134427bc02ab986a68fdfdb0c33b3615241a0f2322ec4ae4205593ffd0a750b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "134427bc02ab986a68fdfdb0c33b3615241a0f2322ec4ae4205593ffd0a750b8", kill_on_drop: false }`
[INFO] [stdout] 134427bc02ab986a68fdfdb0c33b3615241a0f2322ec4ae4205593ffd0a750b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ce34741a889944f7b81fdbae132c636834bf0d7ebef35f8b78cb0eccc802818
[INFO] running `Command { std: "docker" "start" "-a" "4ce34741a889944f7b81fdbae132c636834bf0d7ebef35f8b78cb0eccc802818", kill_on_drop: false }`
[INFO] [stderr]    Compiling codecrafters-dns-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             OpCode::Query => 0,
[INFO] [stdout]    |             ------------- matches some of the same values
[INFO] [stdout] 30 |             OpCode::IQuery => 1,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 31 |             OpCode::Status => 2,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 32 |             OpCode::Unassigned => unreachable!(),
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 36 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             RCode::NoError => 0,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 62 |             RCode::FormErr => 1,
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 63 |             RCode::ServFail => 2,
[INFO] [stdout]    |             --------------- matches some of the same values
[INFO] [stdout] 64 |             RCode::NXDomain => 3,
[INFO] [stdout]    |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 67 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |             _ => unreachable!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             Class::IN => 1,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 269 |             Class::CS => 2,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 270 |             Class::CH => 3,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 271 |             Class::HS => 4,
[INFO] [stdout]     |             --------- matches some of the same values
[INFO] [stdout] 272 |             _ => unreachable!(),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `IQuery`, `Status`, `Unassigned`, `Notify`, `Update`, and `DSO` are never constructed
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum OpCode {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     IQuery,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |     /// Status [RFC1035]
[INFO] [stdout] 15 |     Status,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     /// Unassigned
[INFO] [stdout] 17 |     Unassigned,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 18 |     /// Notify [RFC1996]
[INFO] [stdout] 19 |     Notify,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     /// Update [RFC2136]
[INFO] [stdout] 21 |     Update,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 22 |     /// DNS Stateful Operations (DSO) [RFC8490]
[INFO] [stdout] 23 |     DSO,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpCode` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FormErr`, `ServFail`, `NXDomain`, `NotImp`, and `Refused` are never constructed
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | enum RCode {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |     FormErr,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 48 |     /// ServFail Server Failure [RFC1035]
[INFO] [stdout] 49 |     ServFail,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 50 |     /// NXDomain Non-Existent Domain [RFC1035]
[INFO] [stdout] 51 |     NXDomain,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 52 |     /// NotImp Not Implemented [RFC1035]
[INFO] [stdout] 53 |     NotImp,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     /// Refused Query Refused [RFC1035]
[INFO] [stdout] 55 |     Refused,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/main.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 193 | enum RRType {
[INFO] [stdout]     |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 198 |     NS,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 199 |     /// MD 3 a mail destination (Obsolete - use MX)
[INFO] [stdout] 200 |     MD,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 201 |     /// MF 4 a mail forwarder (Obsolete - use MX)
[INFO] [stdout] 202 |     MF,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 203 |     /// CNAME 5 the canonical name for an alias
[INFO] [stdout] 204 |     CName,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 205 |     /// SOA 6 marks the start of a zone of authority
[INFO] [stdout] 206 |     SOA,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 207 |     /// MB 7 a mailbox domain name (EXPERIMENTAL)
[INFO] [stdout] 208 |     MB,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 209 |     /// MG 8 a mail group member (EXPERIMENTAL)
[INFO] [stdout] 210 |     MG,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 211 |     /// MR 9 a mail rename domain name (EXPERIMENTAL)
[INFO] [stdout] 212 |     MR,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 213 |     /// NULL 10 a null RR (EXPERIMENTAL)
[INFO] [stdout] 214 |     NULL,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 215 |     /// WKS 11 a well known service description
[INFO] [stdout] 216 |     WKS,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 217 |     /// PTR 12 a domain name pointer
[INFO] [stdout] 218 |     PTR,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 219 |     /// HINFO 13 host information
[INFO] [stdout] 220 |     HInfo,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 221 |     /// MINFO 14 mailbox or mail list information
[INFO] [stdout] 222 |     MInfo,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 223 |     /// MX 15 mail exchange
[INFO] [stdout] 224 |     MX,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 225 |     /// TXT 16 text strings
[INFO] [stdout] 226 |     TXT,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RRType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CS`, `CH`, and `HS` are never constructed
[INFO] [stdout]    --> src/main.rs:259:5
[INFO] [stdout]     |
[INFO] [stdout] 254 | enum Class {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 259 |     CS,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 260 |     /// CH 3 the CHAOS class
[INFO] [stdout] 261 |     CH,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 262 |     /// HS 4 Hesiod [Dyer 87]
[INFO] [stdout] 263 |     HS,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rdlength` and `rddata` are never read
[INFO] [stdout]    --> src/main.rs:355:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | struct ResourceRecord {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 355 |     rdlength: Option<u16>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 356 |     rddata: Option<String>,
[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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s
[INFO] running `Command { std: "docker" "inspect" "4ce34741a889944f7b81fdbae132c636834bf0d7ebef35f8b78cb0eccc802818", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ce34741a889944f7b81fdbae132c636834bf0d7ebef35f8b78cb0eccc802818", kill_on_drop: false }`
[INFO] [stdout] 4ce34741a889944f7b81fdbae132c636834bf0d7ebef35f8b78cb0eccc802818
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 33c786f4590c831df28961c98112cd155dfa2a9243e1f6dd46800dd504bd1c25
[INFO] running `Command { std: "docker" "start" "-a" "33c786f4590c831df28961c98112cd155dfa2a9243e1f6dd46800dd504bd1c25", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/main.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |             _ => unreachable!(),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/main.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |             OpCode::Query => 0,
[INFO] [stderr]    |             ------------- matches some of the same values
[INFO] [stderr] 30 |             OpCode::IQuery => 1,
[INFO] [stderr]    |             -------------- matches some of the same values
[INFO] [stderr] 31 |             OpCode::Status => 2,
[INFO] [stderr]    |             -------------- matches some of the same values
[INFO] [stderr] 32 |             OpCode::Unassigned => unreachable!(),
[INFO] [stderr]    |             ------------------ matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 36 |             _ => unreachable!(),
[INFO] [stderr]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/main.rs:67:13
[INFO] [stderr]    |
[INFO] [stderr] 67 |             _ => unreachable!(),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/main.rs:67:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             RCode::NoError => 0,
[INFO] [stderr]    |             -------------- matches some of the same values
[INFO] [stderr] 62 |             RCode::FormErr => 1,
[INFO] [stderr]    |             -------------- matches some of the same values
[INFO] [stderr] 63 |             RCode::ServFail => 2,
[INFO] [stderr]    |             --------------- matches some of the same values
[INFO] [stderr] 64 |             RCode::NXDomain => 3,
[INFO] [stderr]    |             --------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 67 |             _ => unreachable!(),
[INFO] [stderr]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/main.rs:272:13
[INFO] [stderr]     |
[INFO] [stderr] 272 |             _ => unreachable!(),
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/main.rs:272:13
[INFO] [stderr]     |
[INFO] [stderr] 268 |             Class::IN => 1,
[INFO] [stderr]     |             --------- matches some of the same values
[INFO] [stderr] 269 |             Class::CS => 2,
[INFO] [stderr]     |             --------- matches some of the same values
[INFO] [stderr] 270 |             Class::CH => 3,
[INFO] [stderr]     |             --------- matches some of the same values
[INFO] [stderr] 271 |             Class::HS => 4,
[INFO] [stderr]     |             --------- matches some of the same values
[INFO] [stderr] 272 |             _ => unreachable!(),
[INFO] [stderr]     |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: variants `IQuery`, `Status`, `Unassigned`, `Notify`, `Update`, and `DSO` are never constructed
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | enum OpCode {
[INFO] [stderr]    |      ------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 13 |     IQuery,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 14 |     /// Status [RFC1035]
[INFO] [stderr] 15 |     Status,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 16 |     /// Unassigned
[INFO] [stderr] 17 |     Unassigned,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 18 |     /// Notify [RFC1996]
[INFO] [stderr] 19 |     Notify,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 20 |     /// Update [RFC2136]
[INFO] [stderr] 21 |     Update,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 22 |     /// DNS Stateful Operations (DSO) [RFC8490]
[INFO] [stderr] 23 |     DSO,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `FormErr`, `ServFail`, `NXDomain`, `NotImp`, and `Refused` are never constructed
[INFO] [stderr]   --> src/main.rs:47:5
[INFO] [stderr]    |
[INFO] [stderr] 42 | enum RCode {
[INFO] [stderr]    |      ----- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 47 |     FormErr,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 48 |     /// ServFail Server Failure [RFC1035]
[INFO] [stderr] 49 |     ServFail,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 50 |     /// NXDomain Non-Existent Domain [RFC1035]
[INFO] [stderr] 51 |     NXDomain,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 52 |     /// NotImp Not Implemented [RFC1035]
[INFO] [stderr] 53 |     NotImp,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 54 |     /// Refused Query Refused [RFC1035]
[INFO] [stderr] 55 |     Refused,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple variants are never constructed
[INFO] [stderr]    --> src/main.rs:198:5
[INFO] [stderr]     |
[INFO] [stderr] 193 | enum RRType {
[INFO] [stderr]     |      ------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 198 |     NS,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 199 |     /// MD 3 a mail destination (Obsolete - use MX)
[INFO] [stderr] 200 |     MD,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 201 |     /// MF 4 a mail forwarder (Obsolete - use MX)
[INFO] [stderr] 202 |     MF,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 203 |     /// CNAME 5 the canonical name for an alias
[INFO] [stderr] 204 |     CName,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 205 |     /// SOA 6 marks the start of a zone of authority
[INFO] [stderr] 206 |     SOA,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 207 |     /// MB 7 a mailbox domain name (EXPERIMENTAL)
[INFO] [stderr] 208 |     MB,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 209 |     /// MG 8 a mail group member (EXPERIMENTAL)
[INFO] [stderr] 210 |     MG,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 211 |     /// MR 9 a mail rename domain name (EXPERIMENTAL)
[INFO] [stderr] 212 |     MR,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 213 |     /// NULL 10 a null RR (EXPERIMENTAL)
[INFO] [stderr] 214 |     NULL,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 215 |     /// WKS 11 a well known service description
[INFO] [stderr] 216 |     WKS,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 217 |     /// PTR 12 a domain name pointer
[INFO] [stderr] 218 |     PTR,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 219 |     /// HINFO 13 host information
[INFO] [stderr] 220 |     HInfo,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 221 |     /// MINFO 14 mailbox or mail list information
[INFO] [stderr] 222 |     MInfo,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 223 |     /// MX 15 mail exchange
[INFO] [stderr] 224 |     MX,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 225 |     /// TXT 16 text strings
[INFO] [stderr] 226 |     TXT,
[INFO] [stderr]     |     ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `RRType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `CS`, `CH`, and `HS` are never constructed
[INFO] [stderr]    --> src/main.rs:259:5
[INFO] [stderr]     |
[INFO] [stderr] 254 | enum Class {
[INFO] [stderr]     |      ----- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 259 |     CS,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 260 |     /// CH 3 the CHAOS class
[INFO] [stderr] 261 |     CH,
[INFO] [stderr]     |     ^^
[INFO] [stderr] 262 |     /// HS 4 Hesiod [Dyer 87]
[INFO] [stderr] 263 |     HS,
[INFO] [stderr]     |     ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `rdlength` and `rddata` are never read
[INFO] [stderr]    --> src/main.rs:355:5
[INFO] [stderr]     |
[INFO] [stderr] 350 | struct ResourceRecord {
[INFO] [stderr]     |        -------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 355 |     rdlength: Option<u16>,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 356 |     rddata: Option<String>,
[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] 
[INFO] [stderr] warning: `codecrafters-dns-server` (bin "codecrafters-dns-server" test) generated 8 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_dns_server-5dbcbaca6b2befe2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "33c786f4590c831df28961c98112cd155dfa2a9243e1f6dd46800dd504bd1c25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33c786f4590c831df28961c98112cd155dfa2a9243e1f6dd46800dd504bd1c25", kill_on_drop: false }`
[INFO] [stdout] 33c786f4590c831df28961c98112cd155dfa2a9243e1f6dd46800dd504bd1c25
