[INFO] cloning repository https://github.com/shricastic/dns-server-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shricastic/dns-server-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshricastic%2Fdns-server-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshricastic%2Fdns-server-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a43f7dc5e0084637cbe5fd96035fb994be447c8 [INFO] checking shricastic/dns-server-rs against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshricastic%2Fdns-server-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shricastic/dns-server-rs [INFO] finished tweaking git repo https://github.com/shricastic/dns-server-rs [INFO] tweaked toml for git repo https://github.com/shricastic/dns-server-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shricastic/dns-server-rs on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shricastic/dns-server-rs 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eda4a507a33aae7af10f0a11c6faa42aad1ec645c26e85a718964645adca8df [INFO] running `Command { std: "docker" "start" "-a" "0eda4a507a33aae7af10f0a11c6faa42aad1ec645c26e85a718964645adca8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eda4a507a33aae7af10f0a11c6faa42aad1ec645c26e85a718964645adca8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eda4a507a33aae7af10f0a11c6faa42aad1ec645c26e85a718964645adca8df", kill_on_drop: false }` [INFO] [stdout] 0eda4a507a33aae7af10f0a11c6faa42aad1ec645c26e85a718964645adca8df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20de9d74e91bd53441639f2bffe47b1e09a8dda4d23e502c28b8fc82b34ed263 [INFO] running `Command { std: "docker" "start" "-a" "20de9d74e91bd53441639f2bffe47b1e09a8dda4d23e502c28b8fc82b34ed263", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking dns-server-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `build_dns_response` and `self` [INFO] [stdout] --> src/main.rs:4:137 [INFO] [stdout] | [INFO] [stdout] 4 | ...uestion, remote_dns::forward_to_remote_dns, response::{self, build_dns_response}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `build_dns_response` and `self` [INFO] [stdout] --> src/main.rs:4:137 [INFO] [stdout] | [INFO] [stdout] 4 | ...uestion, remote_dns::forward_to_remote_dns, response::{self, build_dns_response}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `question` [INFO] [stdout] --> src/dns/response.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn build_dns_response(buf: &[u8], len: usize, question: &DnsQuestion) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `flags`, `questions`, `answers`, `authority`, and `additionals` are never read [INFO] [stdout] --> src/dns/header.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DnsPacketHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | questions: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | answers: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | authority: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | additionals: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsPacketHeader` 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: field `qclass` is never read [INFO] [stdout] --> src/dns/question.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DnsQuestion { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | pub qclass: u16 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsQuestion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_dns_response` is never used [INFO] [stdout] --> src/dns/response.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn build_dns_response(buf: &[u8], len: usize, question: &DnsQuestion) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | socket.send_to(&cached_response, client_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | socket.send_to(&response, client_addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = socket.send_to(&response, client_addr).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `question` [INFO] [stdout] --> src/dns/response.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn build_dns_response(buf: &[u8], len: usize, question: &DnsQuestion) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `flags`, `questions`, `answers`, `authority`, and `additionals` are never read [INFO] [stdout] --> src/dns/header.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DnsPacketHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | questions: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | answers: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | authority: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | additionals: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsPacketHeader` 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: field `qclass` is never read [INFO] [stdout] --> src/dns/question.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DnsQuestion { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | pub qclass: u16 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsQuestion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_dns_response` is never used [INFO] [stdout] --> src/dns/response.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn build_dns_response(buf: &[u8], len: usize, question: &DnsQuestion) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | socket.send_to(&cached_response, client_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | socket.send_to(&response, client_addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = socket.send_to(&response, client_addr).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s [INFO] running `Command { std: "docker" "inspect" "20de9d74e91bd53441639f2bffe47b1e09a8dda4d23e502c28b8fc82b34ed263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20de9d74e91bd53441639f2bffe47b1e09a8dda4d23e502c28b8fc82b34ed263", kill_on_drop: false }` [INFO] [stdout] 20de9d74e91bd53441639f2bffe47b1e09a8dda4d23e502c28b8fc82b34ed263