[INFO] cloning repository https://github.com/ikezedev/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/ikezedev/codecrafters-dns-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezedev%2Fcodecrafters-dns-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezedev%2Fcodecrafters-dns-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9f91098b3d59afd1405e31a47eb8373593eee90 [INFO] checking ikezedev/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%2Fikezedev%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/ikezedev/codecrafters-dns-server-rust [INFO] finished tweaking git repo https://github.com/ikezedev/codecrafters-dns-server-rust [INFO] tweaked toml for git repo https://github.com/ikezedev/codecrafters-dns-server-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ikezedev/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/ikezedev/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deku_derive v0.16.0 [INFO] [stderr] Downloaded deku v0.16.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf7e29e7165d79f9bd8566963ebfb394a6658c7b5715ddcaf1638a39e631c0cf [INFO] running `Command { std: "docker" "start" "-a" "cf7e29e7165d79f9bd8566963ebfb394a6658c7b5715ddcaf1638a39e631c0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf7e29e7165d79f9bd8566963ebfb394a6658c7b5715ddcaf1638a39e631c0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7e29e7165d79f9bd8566963ebfb394a6658c7b5715ddcaf1638a39e631c0cf", kill_on_drop: false }` [INFO] [stdout] cf7e29e7165d79f9bd8566963ebfb394a6658c7b5715ddcaf1638a39e631c0cf [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=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] ae67a8799ece4a94d7eed585838b97c6169c19f2df6a7899573ec4e13da19da8 [INFO] running `Command { std: "docker" "start" "-a" "ae67a8799ece4a94d7eed585838b97c6169c19f2df6a7899573ec4e13da19da8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling deku_derive v0.16.0 [INFO] [stderr] Checking deku v0.16.0 [INFO] [stderr] Checking dns-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `read_until_null` is never used [INFO] [stdout] --> src/traits.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ReadUntill<'a>: DekuRead<'a> + DekuContainerRead<'a> { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 11 | fn read_until_null(rest: &'a BitSlice) -> DekuRes [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traits.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_until_null(rest: &'a BitSlice) -> DekuRes [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 11 | fn read_until_null(rest: &'a BitSlice) -> DekuRes<'a, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traits.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 27 | rest: &'a BitSlice, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> DekuRes [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | ) -> DekuRes<'a, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/answer.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite, Derivative)] [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/udp/answer.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite, Derivative)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/answer.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite, Derivative)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/name.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/udp/name.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/name.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/udp/name.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | fn read_until_null_or_pointer(rest: &BitSlice) -> DekuRes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn read_until_null_or_pointer(rest: &BitSlice) -> DekuRes<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns-starter-rust` (bin "dns-starter-rust") due to 6 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `header_from` is never read [INFO] [stdout] --> src/udp/header.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | header_from.question_count = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_until_null` is never used [INFO] [stdout] --> src/traits.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ReadUntill<'a>: DekuRead<'a> + DekuContainerRead<'a> { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 11 | fn read_until_null(rest: &'a BitSlice) -> DekuRes [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traits.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_until_null(rest: &'a BitSlice) -> DekuRes [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 11 | fn read_until_null(rest: &'a BitSlice) -> DekuRes<'a, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traits.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 27 | rest: &'a BitSlice, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> DekuRes [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | ) -> DekuRes<'a, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/answer.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite, Derivative)] [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/udp/answer.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite, Derivative)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/answer.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite, Derivative)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/name.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/udp/name.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/udp/name.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/udp/name.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | fn read_until_null_or_pointer(rest: &BitSlice) -> DekuRes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn read_until_null_or_pointer(rest: &BitSlice) -> DekuRes<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns-starter-rust` (bin "dns-starter-rust" test) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae67a8799ece4a94d7eed585838b97c6169c19f2df6a7899573ec4e13da19da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae67a8799ece4a94d7eed585838b97c6169c19f2df6a7899573ec4e13da19da8", kill_on_drop: false }` [INFO] [stdout] ae67a8799ece4a94d7eed585838b97c6169c19f2df6a7899573ec4e13da19da8