[INFO] cloning repository https://github.com/carlosmn/dns-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carlosmn/dns-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosmn%2Fdns-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosmn%2Fdns-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de8e9ec81de02258e0c881233e576a3b55643d9e [INFO] checking carlosmn/dns-server against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosmn%2Fdns-server" "/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/carlosmn/dns-server [INFO] finished tweaking git repo https://github.com/carlosmn/dns-server [INFO] tweaked toml for git repo https://github.com/carlosmn/dns-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/carlosmn/dns-server on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/carlosmn/dns-server 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f4a174535b32bd258aa8379f74ca47f3f7a1161d99c2c33885f4b0a542bbb0c [INFO] running `Command { std: "docker" "start" "-a" "9f4a174535b32bd258aa8379f74ca47f3f7a1161d99c2c33885f4b0a542bbb0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f4a174535b32bd258aa8379f74ca47f3f7a1161d99c2c33885f4b0a542bbb0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f4a174535b32bd258aa8379f74ca47f3f7a1161d99c2c33885f4b0a542bbb0c", kill_on_drop: false }` [INFO] [stdout] 9f4a174535b32bd258aa8379f74ca47f3f7a1161d99c2c33885f4b0a542bbb0c [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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 099e5bba077393180f87583115362ad3e58ac8345c4918030e793974c41b4a9d [INFO] running `Command { std: "docker" "start" "-a" "099e5bba077393180f87583115362ad3e58ac8345c4918030e793974c41b4a9d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking dns-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | ((higher << 8) | lower) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - ((higher << 8) | lower) [INFO] [stdout] 107 + (higher << 8) | lower [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | ((higher << 8) | lower) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - ((higher << 8) | lower) [INFO] [stdout] 107 + (higher << 8) | lower [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | qr: QR, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | aa: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | tc: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | rd: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | // a few missing [INFO] [stdout] 31 | qdcount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | ancount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | nscount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | arcount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: fields `qname`, `qtype`, `qclass`, and `len` are never read [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | struct Question<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 140 | qname: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 141 | qtype: QType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 142 | qclass: QClass, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 143 | // Length of the record in the buffer [INFO] [stdout] 144 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_question_part(buf: &[u8]) -> (usize, Option>) { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_question_part(buf: &[u8]) -> (usize, Option>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | fn parse_question(buf: &[u8]) -> Option { [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] 157 | fn parse_question(buf: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | qr: QR, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | aa: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | tc: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | rd: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | // a few missing [INFO] [stdout] 31 | qdcount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | ancount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | nscount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | arcount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: fields `qname`, `qtype`, `qclass`, and `len` are never read [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | struct Question<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 140 | qname: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 141 | qtype: QType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 142 | qclass: QClass, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 143 | // Length of the record in the buffer [INFO] [stdout] 144 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_question_part(buf: &[u8]) -> (usize, Option>) { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_question_part(buf: &[u8]) -> (usize, Option>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | fn parse_question(buf: &[u8]) -> Option { [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] 157 | fn parse_question(buf: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "099e5bba077393180f87583115362ad3e58ac8345c4918030e793974c41b4a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099e5bba077393180f87583115362ad3e58ac8345c4918030e793974c41b4a9d", kill_on_drop: false }` [INFO] [stdout] 099e5bba077393180f87583115362ad3e58ac8345c4918030e793974c41b4a9d