[INFO] fetching crate rlibdns 0.1.1... [INFO] testing rlibdns-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rlibdns 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rlibdns 0.1.1 [INFO] finished tweaking crates.io crate rlibdns 0.1.1 [INFO] tweaked toml for crates.io crate rlibdns 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rlibdns 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rlibdns 0.1.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec6ea5d4094183e4f4ced914ef2b8b38e6270c43ac1a2cabce1967eafb6cf8ee [INFO] running `Command { std: "docker" "start" "-a" "ec6ea5d4094183e4f4ced914ef2b8b38e6270c43ac1a2cabce1967eafb6cf8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec6ea5d4094183e4f4ced914ef2b8b38e6270c43ac1a2cabce1967eafb6cf8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6ea5d4094183e4f4ced914ef2b8b38e6270c43ac1a2cabce1967eafb6cf8ee", kill_on_drop: false }` [INFO] [stdout] ec6ea5d4094183e4f4ced914ef2b8b38e6270c43ac1a2cabce1967eafb6cf8ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cf62dd5f870b5fbfde90251ee2a3849e326921f53c4f45762a89321cf42c5de [INFO] running `Command { std: "docker" "start" "-a" "9cf62dd5f870b5fbfde90251ee2a3849e326921f53c4f45762a89321cf42c5de", kill_on_drop: false }` [INFO] [stderr] Compiling rlibdns v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::hex` [INFO] [stdout] --> src/records/srv_record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::hex; [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::utils::hex` [INFO] [stdout] --> src/records/naptr_record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/messages/message_base.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | ... let (records, i, t) = records_to_bytes(off, &self.message.additional_records[self.position - x..], &mut label_map, self.max_payload... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/a_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/a_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_base::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: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/aaaa_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_base::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_base::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_base::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_base::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:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | 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:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | 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] 84 | 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] 84 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 84 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::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:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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] 53 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 53 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::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_base::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_base::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/messages/message_base.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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/linked_hashmap.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::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] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/ordered_map.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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_parser.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn iter(&mut self) -> ZoneParserIter { [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] 257 | pub fn iter(&mut self) -> ZoneParserIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "9cf62dd5f870b5fbfde90251ee2a3849e326921f53c4f45762a89321cf42c5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf62dd5f870b5fbfde90251ee2a3849e326921f53c4f45762a89321cf42c5de", kill_on_drop: false }` [INFO] [stdout] 9cf62dd5f870b5fbfde90251ee2a3849e326921f53c4f45762a89321cf42c5de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d35ddb61e7992a9ef111596a9e364082b1054f566375a063adb3f09f2f2bb238 [INFO] running `Command { std: "docker" "start" "-a" "d35ddb61e7992a9ef111596a9e364082b1054f566375a063adb3f09f2f2bb238", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::utils::hex` [INFO] [stdout] --> src/records/srv_record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::hex; [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::utils::hex` [INFO] [stdout] --> src/records/naptr_record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/messages/message_base.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | ... let (records, i, t) = records_to_bytes(off, &self.message.additional_records[self.position - x..], &mut label_map, self.max_payload... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/a_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/a_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_base::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: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/aaaa_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_base::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_base::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_base::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_base::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:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | 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:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | 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] 84 | 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] 84 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 84 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::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:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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] 53 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 53 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::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_base::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_base::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/messages/message_base.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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/linked_hashmap.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::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] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/ordered_map.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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_parser.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn iter(&mut self) -> ZoneParserIter { [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] 257 | pub fn iter(&mut self) -> ZoneParserIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rlibdns v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::hex` [INFO] [stdout] --> src/records/srv_record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::hex; [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::utils::hex` [INFO] [stdout] --> src/records/naptr_record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/messages/message_base.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | ... let (records, i, t) = records_to_bytes(off, &self.message.additional_records[self.position - x..], &mut label_map, self.max_payload... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_map` [INFO] [stdout] --> src/records/a_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/a_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_base::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: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/aaaa_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_base::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_base::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_base::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_base::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:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | 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:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | 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] 84 | 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] 84 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 84 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::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:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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] 53 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stdout] 53 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::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_base::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_base::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let x = vec![ 0xa7, 0xa2, 0x81, 0x80, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x06, 0x67, 0x6f, 0x6f, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | ... let x = vec![ 0x8e, 0x39, 0x85, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x5, 0x66, 0x69, 0x6e, 0x64, 0x39, 0x3, 0x6e, 0x65, 0x... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ... let x = vec![ 0xb6, 0x23, 0x85, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x5, 0x66, 0x69, 0x6e, 0x64, 0x39, 0x3, 0x6e, 0x65, 0x... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/messages/message_base.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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/linked_hashmap.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::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] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/ordered_map.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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_parser.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn iter(&mut self) -> ZoneParserIter { [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] 257 | pub fn iter(&mut self) -> ZoneParserIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "d35ddb61e7992a9ef111596a9e364082b1054f566375a063adb3f09f2f2bb238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35ddb61e7992a9ef111596a9e364082b1054f566375a063adb3f09f2f2bb238", kill_on_drop: false }` [INFO] [stdout] d35ddb61e7992a9ef111596a9e364082b1054f566375a063adb3f09f2f2bb238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3dbc9ac8b5f06753db12c33914ee8a472b38d8f43380668bd1456edbaead06f5 [INFO] running `Command { std: "docker" "start" "-a" "3dbc9ac8b5f06753db12c33914ee8a472b38d8f43380668bd1456edbaead06f5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::utils::hex` [INFO] [stderr] --> src/records/srv_record.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::utils::hex; [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::utils::hex` [INFO] [stderr] --> src/records/naptr_record.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::utils::hex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/messages/message_base.rs:503:30 [INFO] [stderr] | [INFO] [stderr] 503 | ... let (records, i, t) = records_to_bytes(off, &self.message.additional_records[self.position - x..], &mut label_map, self.max_payload... [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/a_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/a_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_base::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/aaaa_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/aaaa_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_base::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_base::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_base::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_base::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/naptr_record.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | 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:84:64 [INFO] [stderr] | [INFO] [stderr] 84 | 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] 84 | 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] 84 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 84 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_map` [INFO] [stderr] --> src/records/uri_record.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | 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:53:64 [INFO] [stderr] | [INFO] [stderr] 53 | 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] 53 | 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] 53 - fn to_bytes(&self, label_map: &mut HashMap, off: usize) -> Result, String> { [INFO] [stderr] 53 + fn to_bytes(&self, label_map: &mut HashMap, messages::message_base::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_base::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_base::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_base::DNS_HEADER_LEN: usize) -> Result, String> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/messages/message_base.rs:200:24 [INFO] [stderr] | [INFO] [stderr] 200 | 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] 200 | 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/linked_hashmap.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::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] 58 | pub fn entry(&mut self, key: K) -> std::collections::hash_map::Entry<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils/ordered_map.rs:53:18 [INFO] [stderr] | [INFO] [stderr] 53 | 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] 53 | 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_parser.rs:257:17 [INFO] [stderr] | [INFO] [stderr] 257 | pub fn iter(&mut self) -> ZoneParserIter { [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] 257 | pub fn iter(&mut self) -> ZoneParserIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rlibdns` (lib) generated 29 warnings (run `cargo fix --lib -p rlibdns` to apply 17 suggestions) [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let x = vec![ 0xa7, 0xa2, 0x81, 0x80, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x06, 0x67, 0x6f, 0x6f, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | ... let x = vec![ 0x8e, 0x39, 0x85, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x5, 0x66, 0x69, 0x6e, 0x64, 0x39, 0x3, 0x6e, 0x65, 0x... [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | ... let x = vec![ 0xb6, 0x23, 0x85, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x5, 0x66, 0x69, 0x6e, 0x64, 0x39, 0x3, 0x6e, 0x65, 0x... [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: `rlibdns` (lib test) generated 32 warnings (29 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlibdns-d3d6b10bf7ad61dd) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::encode_and_decode ... ok [INFO] [stdout] test tests::parsing ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--lib` [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:45:99: [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: 0x6235b982ac52 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6235b982ac52 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6235b982ac52 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6235b982ac52 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6235b983c9ef - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6235b983c9ef - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6235b97f7a51 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6235b97f7a51 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6235b9803dc2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6235b980890f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6235b98087a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6235b97c92ae - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6235b97c92ae - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6235b9808fcf - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6235b9808fcf - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6235b9808e2a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6235b9803ef9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6235b97ec1ed - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6235b9847090 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6235b98461e6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6235b97716e6 - core::result::Result::unwrap::h7cf97c90185245e4 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6235b97716e6 - rlibdns::tests::parsing::he38f3d2267272af0 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:45:99 [INFO] [stdout] 22: 0x6235b9771af7 - rlibdns::tests::parsing::{{closure}}::h20788940a0c8437d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:42:17 [INFO] [stdout] 23: 0x6235b97521d6 - core::ops::function::FnOnce::call_once::h75b64cd9b5edaf06 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6235b97c908b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6235b97c908b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x6235b97decb5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x6235b97decb5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x6235b97decb5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x6235b97decb5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x6235b97decb5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6235b97decb5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x6235b97decb5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x6235b97b54c4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x6235b97b54c4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x6235b97b8e6a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x6235b97b8e6a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x6235b97b8e6a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x6235b97b8e6a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x6235b97b8e6a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6235b97b8e6a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x6235b97b8e6a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6235b97ff03f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x6235b97ff03f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7eb349190aa4 - [INFO] [stdout] 45: 0x7eb34921da34 - 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.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3dbc9ac8b5f06753db12c33914ee8a472b38d8f43380668bd1456edbaead06f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dbc9ac8b5f06753db12c33914ee8a472b38d8f43380668bd1456edbaead06f5", kill_on_drop: false }` [INFO] [stdout] 3dbc9ac8b5f06753db12c33914ee8a472b38d8f43380668bd1456edbaead06f5