[INFO] fetching crate rlibdns 0.1.2... [INFO] testing rlibdns-0.1.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate rlibdns 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rlibdns 0.1.2 [INFO] finished tweaking crates.io crate rlibdns 0.1.2 [INFO] tweaked toml for crates.io crate rlibdns 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rlibdns 0.1.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rlibdns 0.1.2 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 813060cbb4a0045cde4a14d2dbfd7bb1d38a06bf032f639794d8502b25fabeb0 [INFO] running `Command { std: "docker" "start" "-a" "813060cbb4a0045cde4a14d2dbfd7bb1d38a06bf032f639794d8502b25fabeb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "813060cbb4a0045cde4a14d2dbfd7bb1d38a06bf032f639794d8502b25fabeb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813060cbb4a0045cde4a14d2dbfd7bb1d38a06bf032f639794d8502b25fabeb0", kill_on_drop: false }` [INFO] [stdout] 813060cbb4a0045cde4a14d2dbfd7bb1d38a06bf032f639794d8502b25fabeb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7de5fb3da5dcebb0b7488146ff969cefa4b42c9ae9120470167149c6bfb9741 [INFO] running `Command { std: "docker" "start" "-a" "a7de5fb3da5dcebb0b7488146ff969cefa4b42c9ae9120470167149c6bfb9741", kill_on_drop: false }` [INFO] [stderr] Compiling rlibdns v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::messages::inter::rr_classes::RRClasses` [INFO] [stdout] --> src/messages/rr_name.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::messages::inter::rr_classes::RRClasses; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::inter::rr_types::RRTypes` [INFO] [stdout] --> src/messages/rr_name.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::messages::inter::rr_types::RRTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dnskey_record::DnsKeyRecord` and `nsec_record::NSecRecord` [INFO] [stdout] --> src/zone/zone_reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | dnskey_record::DnsKeyRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | nsec_record::NSecRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/messages/message.rs:526:21 [INFO] [stdout] | [INFO] [stdout] 526 | let record = ::from_wire(_type, buf, *off+2).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_flush` [INFO] [stdout] --> src/messages/message.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | let cache_flush = (class & 0x8000) != 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_flush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/a_record.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/a_record.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/aaaa_record.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/aaaa_record.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/dnskey_record.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/dnskey_record.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 68 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 68 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/opt_record.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/opt_record.rs:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 63 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 63 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/hinfo_record.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/hinfo_record.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 52 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 52 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/naptr_record.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/naptr_record.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 83 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 83 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/txt_record.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/txt_record.rs:59:64 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 59 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 59 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/uri_record.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/uri_record.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 43 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 43 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/loc_record.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/loc_record.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 69 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 69 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/sshfp_record.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/sshfp_record.rs:54:64 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 54 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 54 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/smimea_record.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/smimea_record.rs:58:64 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 58 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 58 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone` [INFO] [stdout] --> src/zone/zone_store.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/zone/zone_store.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fqdn` [INFO] [stdout] --> src/zone/zone_store.rs:53:69 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fqdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zone/zone_store.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `magic` [INFO] [stdout] --> src/journal/journal_reader.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let magic = true;//&buf[0..16]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v9` [INFO] [stdout] --> src/journal/journal_reader.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let v9 = b";BIND LOG V9\n"; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v92` [INFO] [stdout] --> src/journal/journal_reader.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let v92 = b";BIND LOG V9.2\n"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_v92` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_count` [INFO] [stdout] --> src/journal/journal_reader.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let (size, rr_count, serial_0, serial_1) = match magic { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `option` is never read [INFO] [stdout] --> src/messages/message.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | option: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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 elided elsewhere is confusing [INFO] [stdout] --> src/messages/message.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/index_map.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn entry(&mut self, key: K) -> Entry { [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] 71 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zone/zone_reader.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn iter(&mut self) -> ZoneReaderIter { [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] 243 | pub fn iter(&mut self) -> ZoneReaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/journal/journal_reader.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&mut self) -> JournalReaderIter { [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] 70 | pub fn iter(&mut self) -> JournalReaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.35s [INFO] running `Command { std: "docker" "inspect" "a7de5fb3da5dcebb0b7488146ff969cefa4b42c9ae9120470167149c6bfb9741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7de5fb3da5dcebb0b7488146ff969cefa4b42c9ae9120470167149c6bfb9741", kill_on_drop: false }` [INFO] [stdout] a7de5fb3da5dcebb0b7488146ff969cefa4b42c9ae9120470167149c6bfb9741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0f0238bae7a99463d28388fb4595bb5264ff903d11aee07c1239c7d6c7ff49 [INFO] running `Command { std: "docker" "start" "-a" "6d0f0238bae7a99463d28388fb4595bb5264ff903d11aee07c1239c7d6c7ff49", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::messages::inter::rr_classes::RRClasses` [INFO] [stdout] --> src/messages/rr_name.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::messages::inter::rr_classes::RRClasses; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::inter::rr_types::RRTypes` [INFO] [stdout] --> src/messages/rr_name.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::messages::inter::rr_types::RRTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dnskey_record::DnsKeyRecord` and `nsec_record::NSecRecord` [INFO] [stdout] --> src/zone/zone_reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | dnskey_record::DnsKeyRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | nsec_record::NSecRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/messages/message.rs:526:21 [INFO] [stdout] | [INFO] [stdout] 526 | let record = ::from_wire(_type, buf, *off+2).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_flush` [INFO] [stdout] --> src/messages/message.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | let cache_flush = (class & 0x8000) != 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_flush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/a_record.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/a_record.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/aaaa_record.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/aaaa_record.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/dnskey_record.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/dnskey_record.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 68 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 68 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/opt_record.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/opt_record.rs:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 63 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 63 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/hinfo_record.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/hinfo_record.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 52 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 52 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/naptr_record.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/naptr_record.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 83 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 83 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/txt_record.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/txt_record.rs:59:64 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 59 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 59 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/uri_record.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/uri_record.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 43 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 43 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/loc_record.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/loc_record.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 69 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 69 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/sshfp_record.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/sshfp_record.rs:54:64 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 54 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 54 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/smimea_record.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/smimea_record.rs:58:64 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 58 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 58 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone` [INFO] [stdout] --> src/zone/zone_store.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/zone/zone_store.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fqdn` [INFO] [stdout] --> src/zone/zone_store.rs:53:69 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fqdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zone/zone_store.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `magic` [INFO] [stdout] --> src/journal/journal_reader.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let magic = true;//&buf[0..16]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v9` [INFO] [stdout] --> src/journal/journal_reader.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let v9 = b";BIND LOG V9\n"; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v9` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rlibdns v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `v92` [INFO] [stdout] --> src/journal/journal_reader.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let v92 = b";BIND LOG V9.2\n"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_v92` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_count` [INFO] [stdout] --> src/journal/journal_reader.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let (size, rr_count, serial_0, serial_1) = match magic { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `option` is never read [INFO] [stdout] --> src/messages/message.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | option: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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 elided elsewhere is confusing [INFO] [stdout] --> src/messages/message.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/index_map.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn entry(&mut self, key: K) -> Entry { [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] 71 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zone/zone_reader.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn iter(&mut self) -> ZoneReaderIter { [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] 243 | pub fn iter(&mut self) -> ZoneReaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/journal/journal_reader.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&mut self) -> JournalReaderIter { [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] 70 | pub fn iter(&mut self) -> JournalReaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::inter::rr_classes::RRClasses` [INFO] [stdout] --> src/messages/rr_name.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::messages::inter::rr_classes::RRClasses; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::inter::rr_types::RRTypes` [INFO] [stdout] --> src/messages/rr_name.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::messages::inter::rr_types::RRTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dnskey_record::DnsKeyRecord` and `nsec_record::NSecRecord` [INFO] [stdout] --> src/zone/zone_reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | dnskey_record::DnsKeyRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | nsec_record::NSecRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::journal::journal_reader::JournalReader` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::journal::journal_reader::JournalReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zone::inter::zone_types::ZoneTypes` [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::zone::inter::zone_types::ZoneTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zone::zone::Zone` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::zone::zone::Zone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::records::inter::record_base::RecordBase` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::records::inter::record_base::RecordBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/messages/message.rs:526:21 [INFO] [stdout] | [INFO] [stdout] 526 | let record = ::from_wire(_type, buf, *off+2).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_flush` [INFO] [stdout] --> src/messages/message.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | let cache_flush = (class & 0x8000) != 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_flush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/a_record.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/a_record.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/aaaa_record.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/aaaa_record.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/dnskey_record.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/dnskey_record.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 68 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 68 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 68 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/opt_record.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/opt_record.rs:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 63 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 63 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/hinfo_record.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/hinfo_record.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 52 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 52 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/naptr_record.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/naptr_record.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 83 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 83 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 83 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/txt_record.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/txt_record.rs:59:64 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 59 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 59 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/uri_record.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/uri_record.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 43 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 43 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/loc_record.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/loc_record.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 69 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 69 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/sshfp_record.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/sshfp_record.rs:54:64 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 54 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 54 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/smimea_record.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> src/records/smimea_record.rs:58:64 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stdout] | [INFO] [stdout] 58 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 58 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone` [INFO] [stdout] --> src/zone/zone_store.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/zone/zone_store.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fqdn` [INFO] [stdout] --> src/zone/zone_store.rs:53:69 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fqdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zone/zone_store.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `magic` [INFO] [stdout] --> src/journal/journal_reader.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let magic = true;//&buf[0..16]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v9` [INFO] [stdout] --> src/journal/journal_reader.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let v9 = b";BIND LOG V9\n"; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v92` [INFO] [stdout] --> src/journal/journal_reader.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let v92 = b";BIND LOG V9.2\n"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_v92` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_count` [INFO] [stdout] --> src/journal/journal_reader.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let (size, rr_count, serial_0, serial_1) = match magic { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | ... let x = vec![ 0xa7, 0xa2, 0x81, 0x80, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x0... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `option` is never read [INFO] [stdout] --> src/messages/message.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | option: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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 elided elsewhere is confusing [INFO] [stdout] --> src/messages/message.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/index_map.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn entry(&mut self, key: K) -> Entry { [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] 71 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zone/zone_reader.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn iter(&mut self) -> ZoneReaderIter { [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] 243 | pub fn iter(&mut self) -> ZoneReaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/journal/journal_reader.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&mut self) -> JournalReaderIter { [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] 70 | pub fn iter(&mut self) -> JournalReaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "6d0f0238bae7a99463d28388fb4595bb5264ff903d11aee07c1239c7d6c7ff49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0f0238bae7a99463d28388fb4595bb5264ff903d11aee07c1239c7d6c7ff49", kill_on_drop: false }` [INFO] [stdout] 6d0f0238bae7a99463d28388fb4595bb5264ff903d11aee07c1239c7d6c7ff49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b630b1c3d16c15f1070dd8dd6b41e01cef40198225d0dbe1e51d10d8f99234ef [INFO] running `Command { std: "docker" "start" "-a" "b630b1c3d16c15f1070dd8dd6b41e01cef40198225d0dbe1e51d10d8f99234ef", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::messages::inter::rr_classes::RRClasses` [INFO] [stderr] --> src/messages/rr_name.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::messages::inter::rr_classes::RRClasses; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::messages::inter::rr_types::RRTypes` [INFO] [stderr] --> src/messages/rr_name.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::messages::inter::rr_types::RRTypes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `dnskey_record::DnsKeyRecord` and `nsec_record::NSecRecord` [INFO] [stderr] --> src/zone/zone_reader.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | dnskey_record::DnsKeyRecord, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | nsec_record::NSecRecord, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `record` [INFO] [stderr] --> src/messages/message.rs:526:21 [INFO] [stderr] | [INFO] [stderr] 526 | let record = ::from_wire(_type, buf, *off+2).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cache_flush` [INFO] [stderr] --> src/messages/message.rs:531:21 [INFO] [stderr] | [INFO] [stderr] 531 | let cache_flush = (class & 0x8000) != 0; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_flush` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/a_record.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/a_record.rs:39:64 [INFO] [stderr] | [INFO] [stderr] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/aaaa_record.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/aaaa_record.rs:39:64 [INFO] [stderr] | [INFO] [stderr] 39 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 39 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 39 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 39 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/dnskey_record.rs:68:24 [INFO] [stderr] | [INFO] [stderr] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/dnskey_record.rs:68:64 [INFO] [stderr] | [INFO] [stderr] 68 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 68 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 68 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 68 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/opt_record.rs:63:24 [INFO] [stderr] | [INFO] [stderr] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/opt_record.rs:63:64 [INFO] [stderr] | [INFO] [stderr] 63 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 63 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 63 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 63 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/hinfo_record.rs:52:24 [INFO] [stderr] | [INFO] [stderr] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/hinfo_record.rs:52:64 [INFO] [stderr] | [INFO] [stderr] 52 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 52 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 52 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 52 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/naptr_record.rs:83:24 [INFO] [stderr] | [INFO] [stderr] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/naptr_record.rs:83:64 [INFO] [stderr] | [INFO] [stderr] 83 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 83 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 83 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 83 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/txt_record.rs:59:24 [INFO] [stderr] | [INFO] [stderr] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/txt_record.rs:59:64 [INFO] [stderr] | [INFO] [stderr] 59 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 59 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 59 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 59 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/uri_record.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/uri_record.rs:43:64 [INFO] [stderr] | [INFO] [stderr] 43 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 43 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 43 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 43 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/loc_record.rs:69:24 [INFO] [stderr] | [INFO] [stderr] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/loc_record.rs:69:64 [INFO] [stderr] | [INFO] [stderr] 69 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 69 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 69 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 69 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/sshfp_record.rs:54:24 [INFO] [stderr] | [INFO] [stderr] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/sshfp_record.rs:54:64 [INFO] [stderr] | [INFO] [stderr] 54 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 54 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 54 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 54 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/smimea_record.rs:58:24 [INFO] [stderr] | [INFO] [stderr] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `off` [INFO] [stderr] --> src/records/smimea_record.rs:58:64 [INFO] [stderr] | [INFO] [stderr] 58 | fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 58 | fn to_bytes(&self, label_map: &mut HashMap, _off: usize) -> Result, String> { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `DNS_HEADER_LEN` [INFO] [stderr] | [INFO] [stderr] 58 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 58 + fn to_bytes(&self, label_map: &mut HashMap, messages::message::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `zone` [INFO] [stderr] --> src/zone/zone_store.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zone` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/zone/zone_store.rs:53:55 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fqdn` [INFO] [stderr] --> src/zone/zone_store.rs:53:69 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn open_with_jnl>(&mut self, file_path: P, fqdn: &str, journal_path: P) -> io::Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fqdn` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zone/zone_store.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let mut zone = Zone::new_with_jnl(ZoneTypes::Master, journal_path); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `magic` [INFO] [stderr] --> src/journal/journal_reader.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let magic = true;//&buf[0..16]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_magic` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v9` [INFO] [stderr] --> src/journal/journal_reader.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | let v9 = b";BIND LOG V9\n"; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_v9` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v92` [INFO] [stderr] --> src/journal/journal_reader.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let v92 = b";BIND LOG V9.2\n"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_v92` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rr_count` [INFO] [stderr] --> src/journal/journal_reader.rs:154:20 [INFO] [stderr] | [INFO] [stderr] 154 | let (size, rr_count, serial_0, serial_1) = match magic { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_count` [INFO] [stderr] [INFO] [stderr] warning: field `option` is never read [INFO] [stderr] --> src/messages/message.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct Message { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 50 | option: Option [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/messages/message.rs:187:24 [INFO] [stderr] | [INFO] [stderr] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 187 | pub fn wire_chunks(&self, max_payload_len: usize) -> WireIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils/index_map.rs:71:18 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/zone/zone_reader.rs:243:17 [INFO] [stderr] | [INFO] [stderr] 243 | pub fn iter(&mut self) -> ZoneReaderIter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 243 | pub fn iter(&mut self) -> ZoneReaderIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/journal/journal_reader.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn iter(&mut self) -> JournalReaderIter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn iter(&mut self) -> JournalReaderIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rlibdns` (lib) generated 40 warnings (run `cargo fix --lib -p rlibdns` to apply 19 suggestions) [INFO] [stderr] warning: unused import: `crate::journal::journal_reader::JournalReader` [INFO] [stderr] --> src/lib.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::journal::journal_reader::JournalReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::zone::inter::zone_types::ZoneTypes` [INFO] [stderr] --> src/lib.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::zone::inter::zone_types::ZoneTypes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::zone::zone::Zone` [INFO] [stderr] --> src/lib.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::zone::zone::Zone; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::records::inter::record_base::RecordBase` [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::records::inter::record_base::RecordBase; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | ... let x = vec![ 0xa7, 0xa2, 0x81, 0x80, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x0... [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: `rlibdns` (lib test) generated 45 warnings (40 duplicates) (run `cargo fix --lib -p rlibdns --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlibdns-1f0ff2f5f4ba9886) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::encode_and_decode ... ok [INFO] [stdout] test tests::parsing ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::parsing stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::parsing' (26) panicked at src/lib.rs:65:77: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5eaddfbe00a2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5eaddfbe00a2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5eaddfbe00a2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5eaddfbe00a2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5eaddfbf201f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5eaddfbf201f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5eaddfbad611 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5eaddfbad611 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5eaddfbb9672 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5eaddfbbe1bf - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5eaddfbbe051 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5eaddfb7ec1e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5eaddfb7ec1e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5eaddfbbe87f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5eaddfbbe87f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5eaddfbbe6da - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5eaddfbb97a9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5eaddfba1aed - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5eaddfbfc6c0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5eaddfbfb816 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5eaddfafb284 - core::result::Result::unwrap::h559967c0de596b8f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5eaddfafb284 - rlibdns::tests::parsing::h73efab1fa3d203b3 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:65:77 [INFO] [stdout] 22: 0x5eaddfafb6a7 - rlibdns::tests::parsing::{{closure}}::h7a1ee237587df120 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:63:17 [INFO] [stdout] 23: 0x5eaddfb26986 - core::ops::function::FnOnce::call_once::hcb66d58b035caab5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5eaddfb7e9db - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5eaddfb7e9db - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5eaddfb94645 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5eaddfb94645 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5eaddfb94645 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5eaddfb94645 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5eaddfb94645 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5eaddfb94645 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5eaddfb94645 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5eaddfb6ae34 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5eaddfb6ae34 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5eaddfb6e6fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5eaddfb6e6fa - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5eaddfb6e6fa - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5eaddfb6e6fa - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5eaddfb6e6fa - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5eaddfb6e6fa - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5eaddfb6e6fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5eaddfbb490f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5eaddfbb490f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7e93cddb8aa4 - [INFO] [stdout] 45: 0x7e93cde45a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::parsing [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b630b1c3d16c15f1070dd8dd6b41e01cef40198225d0dbe1e51d10d8f99234ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b630b1c3d16c15f1070dd8dd6b41e01cef40198225d0dbe1e51d10d8f99234ef", kill_on_drop: false }` [INFO] [stdout] b630b1c3d16c15f1070dd8dd6b41e01cef40198225d0dbe1e51d10d8f99234ef