[INFO] cloning repository https://github.com/marxin/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/marxin/codecrafters-dns-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarxin%2Fcodecrafters-dns-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarxin%2Fcodecrafters-dns-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22879cb7d321a14d5d13da4da6fc49ffd8f2b6c4 [INFO] checking marxin/codecrafters-dns-server-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarxin%2Fcodecrafters-dns-server-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marxin/codecrafters-dns-server-rust [INFO] finished tweaking git repo https://github.com/marxin/codecrafters-dns-server-rust [INFO] tweaked toml for git repo https://github.com/marxin/codecrafters-dns-server-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marxin/codecrafters-dns-server-rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marxin/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d6f2b26759c7296b4082d2f8bbd697c6e97f4de9a78993f992cacbbc2150fd6 [INFO] running `Command { std: "docker" "start" "-a" "3d6f2b26759c7296b4082d2f8bbd697c6e97f4de9a78993f992cacbbc2150fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d6f2b26759c7296b4082d2f8bbd697c6e97f4de9a78993f992cacbbc2150fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d6f2b26759c7296b4082d2f8bbd697c6e97f4de9a78993f992cacbbc2150fd6", kill_on_drop: false }` [INFO] [stdout] 3d6f2b26759c7296b4082d2f8bbd697c6e97f4de9a78993f992cacbbc2150fd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 365c2af3055543de1a59031f99b4a7063f5e9a56a68c9ea2652a04f5a9c3b4ce [INFO] running `Command { std: "docker" "start" "-a" "365c2af3055543de1a59031f99b4a7063f5e9a56a68c9ea2652a04f5a9c3b4ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Checking dns-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | /// Recursion Desired (RD) Sender sets this to 1 if the server should recursively resolve this query, 0 otherwise. [INFO] [stdout] | ^ [INFO] [stdout] 46 | pub recursion_desired: RecursionDesired, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 ~ // Recursion Desired (RD) Sender sets this to 1 if the server should recursively resolve this query, 0 otherwise. [INFO] [stdout] 46 ~ pub recursion_desired: RecursionDesire , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// Truncation (TC) 1 if the message is larger than 512 bytes. Always 0 in UDP responses. [INFO] [stdout] | ^ [INFO] [stdout] 48 | pub truncation: Truncation, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 ~ // Truncation (TC) 1 if the message is larger than 512 bytes. Always 0 in UDP responses. [INFO] [stdout] 48 ~ pub truncation: Truncatio , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | /// Authoritative Answer (AA) 1 if the responding server "owns" the domain queried, i.e., it's authoritative. [INFO] [stdout] | ^ [INFO] [stdout] 50 | pub authoritative: AuthoritativeAnswer, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 ~ // Authoritative Answer (AA) 1 if the responding server "owns" the domain queried, i.e., it's authoritative. [INFO] [stdout] 50 ~ pub authoritative: AuthoritativeAnswe , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | /// Operation Code (OPCODE) Specifies the kind of query in a message. [INFO] [stdout] | ^ [INFO] [stdout] 52 | pub opcode: B4, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 ~ // Operation Code (OPCODE) Specifies the kind of query in a message. [INFO] [stdout] 52 ~ pub opcode: B , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | /// Query/Response Indicator (QR). 1 for a reply packet, 0 for a question packet. [INFO] [stdout] | ^ [INFO] [stdout] 54 | pub qr: QueryResponseIndicator, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 ~ // Query/Response Indicator (QR). 1 for a reply packet, 0 for a question packet. [INFO] [stdout] 54 ~ pub qr: QueryResponseIndicato , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | /// Response Code (RCODE) Response code indicating the status of the response. [INFO] [stdout] | ^ [INFO] [stdout] 63 | pub response: B4, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 ~ // Response Code (RCODE) Response code indicating the status of the response. [INFO] [stdout] 63 ~ pub response: B , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | /// Recursion Available (RA) Server sets this to 1 to indicate that recursion is available. [INFO] [stdout] | ^ [INFO] [stdout] 68 | pub recursion_available: RecursionAvailable, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 ~ // Recursion Available (RA) Server sets this to 1 to indicate that recursion is available. [INFO] [stdout] 68 ~ pub recursion_available: RecursionAvailabl , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | /// Recursion Desired (RD) Sender sets this to 1 if the server should recursively resolve this query, 0 otherwise. [INFO] [stdout] | ^ [INFO] [stdout] 46 | pub recursion_desired: RecursionDesired, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 ~ // Recursion Desired (RD) Sender sets this to 1 if the server should recursively resolve this query, 0 otherwise. [INFO] [stdout] 46 ~ pub recursion_desired: RecursionDesire , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// Truncation (TC) 1 if the message is larger than 512 bytes. Always 0 in UDP responses. [INFO] [stdout] | ^ [INFO] [stdout] 48 | pub truncation: Truncation, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 ~ // Truncation (TC) 1 if the message is larger than 512 bytes. Always 0 in UDP responses. [INFO] [stdout] 48 ~ pub truncation: Truncatio , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | /// Authoritative Answer (AA) 1 if the responding server "owns" the domain queried, i.e., it's authoritative. [INFO] [stdout] | ^ [INFO] [stdout] 50 | pub authoritative: AuthoritativeAnswer, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 ~ // Authoritative Answer (AA) 1 if the responding server "owns" the domain queried, i.e., it's authoritative. [INFO] [stdout] 50 ~ pub authoritative: AuthoritativeAnswe , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | /// Operation Code (OPCODE) Specifies the kind of query in a message. [INFO] [stdout] | ^ [INFO] [stdout] 52 | pub opcode: B4, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 ~ // Operation Code (OPCODE) Specifies the kind of query in a message. [INFO] [stdout] 52 ~ pub opcode: B , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | /// Query/Response Indicator (QR). 1 for a reply packet, 0 for a question packet. [INFO] [stdout] | ^ [INFO] [stdout] 54 | pub qr: QueryResponseIndicator, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 ~ // Query/Response Indicator (QR). 1 for a reply packet, 0 for a question packet. [INFO] [stdout] 54 ~ pub qr: QueryResponseIndicato , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | /// Response Code (RCODE) Response code indicating the status of the response. [INFO] [stdout] | ^ [INFO] [stdout] 63 | pub response: B4, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 ~ // Response Code (RCODE) Response code indicating the status of the response. [INFO] [stdout] 63 ~ pub response: B , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/message.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | /// Recursion Available (RA) Server sets this to 1 to indicate that recursion is available. [INFO] [stdout] | ^ [INFO] [stdout] 68 | pub recursion_available: RecursionAvailable, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 ~ // Recursion Available (RA) Server sets this to 1 to indicate that recursion is available. [INFO] [stdout] 68 ~ pub recursion_available: RecursionAvailabl , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/message.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | #[br(count = header.question_count as usize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/message.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | #[br(count = header.answer_count as usize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns-starter-rust` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/message.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | #[br(count = header.question_count as usize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/message.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | #[br(count = header.answer_count as usize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns-starter-rust` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "365c2af3055543de1a59031f99b4a7063f5e9a56a68c9ea2652a04f5a9c3b4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "365c2af3055543de1a59031f99b4a7063f5e9a56a68c9ea2652a04f5a9c3b4ce", kill_on_drop: false }` [INFO] [stdout] 365c2af3055543de1a59031f99b4a7063f5e9a56a68c9ea2652a04f5a9c3b4ce