[INFO] cloning repository https://github.com/MercMayhem/Merc-s-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/MercMayhem/Merc-s-DNS-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMercMayhem%2FMerc-s-DNS-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMercMayhem%2FMerc-s-DNS-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da0771b12e6468edf2bdff8f5c2e5a043165f6be [INFO] building MercMayhem/Merc-s-DNS-Server against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMercMayhem%2FMerc-s-DNS-Server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MercMayhem/Merc-s-DNS-Server on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MercMayhem/Merc-s-DNS-Server [INFO] finished tweaking git repo https://github.com/MercMayhem/Merc-s-DNS-Server [INFO] tweaked toml for git repo https://github.com/MercMayhem/Merc-s-DNS-Server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MercMayhem/Merc-s-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d15f879eda4ac27a8360fae38f995ded2a9e14973ed69bd955bdf0ff98ed431b [INFO] running `Command { std: "docker" "start" "-a" "d15f879eda4ac27a8360fae38f995ded2a9e14973ed69bd955bdf0ff98ed431b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d15f879eda4ac27a8360fae38f995ded2a9e14973ed69bd955bdf0ff98ed431b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15f879eda4ac27a8360fae38f995ded2a9e14973ed69bd955bdf0ff98ed431b", kill_on_drop: false }` [INFO] [stdout] d15f879eda4ac27a8360fae38f995ded2a9e14973ed69bd955bdf0ff98ed431b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d1b28bf52c2288ed2590d5b9754d096b0fd26a7567f438e912259f25b7f9cc7 [INFO] running `Command { std: "docker" "start" "-a" "7d1b28bf52c2288ed2590d5b9754d096b0fd26a7567f438e912259f25b7f9cc7", kill_on_drop: false }` [INFO] [stderr] Compiling mdns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `listener` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let listener = UdpSocket::bind("127.0.0.1:53")?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dns/utils/bytebuffer.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BytePacketBuffer{ [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new(bytes: &Vec) -> Result{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BufParse` is never used [INFO] [stdout] --> src/dns/utils/bufparse.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait BufParse: Sized{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DnsPacket` is never constructed [INFO] [stdout] --> src/dns/structures/dns_packet.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct DnsPacket{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_questions_or_records` and `from_buffer` are never used [INFO] [stdout] --> src/dns/structures/dns_packet.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl DnsPacket{ [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn parse_questions_or_records(buffer: &mut BytePacketBuffer, count: u16) -> Result, Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `r_type` are never read [INFO] [stdout] --> src/dns/structures/question.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Question{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub r_type: u16, [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: fields `preamble` and `ipaddr` are never read [INFO] [stdout] --> src/dns/structures/record.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | A { [INFO] [stdout] | - fields in this variant [INFO] [stdout] 9 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | ipaddr: Ipv4Addr [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble` and `host` are never read [INFO] [stdout] --> src/dns/structures/record.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | NS { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 14 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | host: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble` and `host` are never read [INFO] [stdout] --> src/dns/structures/record.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | CNAME { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 19 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | host: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble`, `priority`, and `host` are never read [INFO] [stdout] --> src/dns/structures/record.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | MX { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 24 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | priority: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | host: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble` and `ipv6addr` are never read [INFO] [stdout] --> src/dns/structures/record.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | AAAA{ [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 30 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | ipv6addr: Ipv6Addr [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Header` is never constructed [INFO] [stdout] --> src/dns/structures/header.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Header{ [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] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_header` and `from_buffer` are never used [INFO] [stdout] --> src/dns/structures/header.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Header { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 25 | fn parse_header(bytes: &[u8]) -> Header{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseCode` is never used [INFO] [stdout] --> src/dns/structures/components/response_code.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ResponseCode{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_num` is never used [INFO] [stdout] --> src/dns/structures/components/response_code.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ResponseCode { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | pub fn from_num(num: u8) -> ResponseCode{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ttl`, and `len` are never read [INFO] [stdout] --> src/dns/structures/components/record_preamble.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RecordPreamble{ [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub r_type: u16, [INFO] [stdout] 8 | pub ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | pub len: u16 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordPreamble` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "7d1b28bf52c2288ed2590d5b9754d096b0fd26a7567f438e912259f25b7f9cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1b28bf52c2288ed2590d5b9754d096b0fd26a7567f438e912259f25b7f9cc7", kill_on_drop: false }` [INFO] [stdout] 7d1b28bf52c2288ed2590d5b9754d096b0fd26a7567f438e912259f25b7f9cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37666c0e865dee494ecc9ed0c3b8d689331618c0cc8cf31363d571d735cfa25b [INFO] running `Command { std: "docker" "start" "-a" "37666c0e865dee494ecc9ed0c3b8d689331618c0cc8cf31363d571d735cfa25b", kill_on_drop: false }` [INFO] [stderr] Compiling mdns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/dns/structures/header.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let header = Header::from_buffer(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/dns/structures/header.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let header = Header::from_buffer(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let listener = UdpSocket::bind("127.0.0.1:53")?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `question`, `answer`, `authority`, and `additional` are never read [INFO] [stdout] --> src/dns/structures/dns_packet.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct DnsPacket{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | question: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | answer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | authority: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | additional: Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsPacket` 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 `name` and `r_type` are never read [INFO] [stdout] --> src/dns/structures/question.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Question{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub r_type: u16, [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: fields `preamble` and `ipaddr` are never read [INFO] [stdout] --> src/dns/structures/record.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | A { [INFO] [stdout] | - fields in this variant [INFO] [stdout] 9 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | ipaddr: Ipv4Addr [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble` and `host` are never read [INFO] [stdout] --> src/dns/structures/record.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | NS { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 14 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | host: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble` and `host` are never read [INFO] [stdout] --> src/dns/structures/record.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | CNAME { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 19 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | host: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble`, `priority`, and `host` are never read [INFO] [stdout] --> src/dns/structures/record.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | MX { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 24 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | priority: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | host: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `preamble` and `ipv6addr` are never read [INFO] [stdout] --> src/dns/structures/record.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | AAAA{ [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 30 | preamble: RecordPreamble, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | ipv6addr: Ipv6Addr [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 fields are never read [INFO] [stdout] --> src/dns/structures/header.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Header{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub id: u16, // 16 bits [INFO] [stdout] | ^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub query: bool, // 1 bit [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub response: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub authoritative_answer: bool, // 1 bit [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub truncated_message: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub recursion_desired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub recursion_available: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub response_code: ResponseCode, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ttl`, and `len` are never read [INFO] [stdout] --> src/dns/structures/components/record_preamble.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RecordPreamble{ [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub r_type: u16, [INFO] [stdout] 8 | pub ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | pub len: u16 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordPreamble` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "37666c0e865dee494ecc9ed0c3b8d689331618c0cc8cf31363d571d735cfa25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37666c0e865dee494ecc9ed0c3b8d689331618c0cc8cf31363d571d735cfa25b", kill_on_drop: false }` [INFO] [stdout] 37666c0e865dee494ecc9ed0c3b8d689331618c0cc8cf31363d571d735cfa25b