[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] aa91b537d245456d24fcafc89df2498c70fe4f36 [INFO] checking manu3618/codecrafters-dns-server-rust against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanu3618%2Fcodecrafters-dns-server-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manu3618/codecrafters-dns-server-rust on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+af54b6062f33b99e418444700f3a823ef0214052" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking manu3618/codecrafters-dns-server-rust against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanu3618%2Fcodecrafters-dns-server-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manu3618/codecrafters-dns-server-rust on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+af54b6062f33b99e418444700f3a823ef0214052" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97d4f5823816c8be6ef752d89f948433c5de06101e0e8fa5a86efb16b9a7cdb1 [INFO] running `Command { std: "docker" "start" "-a" "97d4f5823816c8be6ef752d89f948433c5de06101e0e8fa5a86efb16b9a7cdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d4f5823816c8be6ef752d89f948433c5de06101e0e8fa5a86efb16b9a7cdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d4f5823816c8be6ef752d89f948433c5de06101e0e8fa5a86efb16b9a7cdb1", kill_on_drop: false }` [INFO] [stdout] 97d4f5823816c8be6ef752d89f948433c5de06101e0e8fa5a86efb16b9a7cdb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05cb6ec50e9f7103bacf295d29c2a835cf4bec27273466f4720a70fa4a82b491 [INFO] running `Command { std: "docker" "start" "-a" "05cb6ec50e9f7103bacf295d29c2a835cf4bec27273466f4720a70fa4a82b491", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking 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)]` 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)]` 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, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 356 | rddata: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceRecord` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 356 | rddata: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceRecord` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.54s [INFO] running `Command { std: "docker" "inspect" "05cb6ec50e9f7103bacf295d29c2a835cf4bec27273466f4720a70fa4a82b491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05cb6ec50e9f7103bacf295d29c2a835cf4bec27273466f4720a70fa4a82b491", kill_on_drop: false }` [INFO] [stdout] 05cb6ec50e9f7103bacf295d29c2a835cf4bec27273466f4720a70fa4a82b491