[INFO] fetching crate simple-mdns 0.6.2... [INFO] checking simple-mdns-0.6.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate simple-mdns 0.6.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate simple-mdns 0.6.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate simple-mdns 0.6.2 [INFO] finished tweaking crates.io crate simple-mdns 0.6.2 [INFO] tweaked toml for crates.io crate simple-mdns 0.6.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding endian-type v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding simple-dns v0.7.1 (latest: v0.8.0) [INFO] [stderr] Adding termcolor v1.1.3 (latest: v1.4.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-dns v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 026988644a6a7bbf0406d561c68e0f76f259d0d54f54c8dfe840fe94218316f5 [INFO] running `Command { std: "docker" "start" "-a" "026988644a6a7bbf0406d561c68e0f76f259d0d54f54c8dfe840fe94218316f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "026988644a6a7bbf0406d561c68e0f76f259d0d54f54c8dfe840fe94218316f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026988644a6a7bbf0406d561c68e0f76f259d0d54f54c8dfe840fe94218316f5", kill_on_drop: false }` [INFO] [stdout] 026988644a6a7bbf0406d561c68e0f76f259d0d54f54c8dfe840fe94218316f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8692562c881a3512d5d54c58af632167e94025e158090aa75ea21eab2b34f688 [INFO] running `Command { std: "docker" "start" "-a" "8692562c881a3512d5d54c58af632167e94025e158090aa75ea21eab2b34f688", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking simple-dns v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking simple-mdns v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `UNICAST_RESPONSE` is never used [INFO] [stdout] --> src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const UNICAST_RESPONSE: bool = cfg!(not(test)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_reply` is never used [INFO] [stdout] --> src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn build_reply<'b>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_records` is never used [INFO] [stdout] --> src/instance_information.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> InstanceInformation { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn from_records<'b>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resources` is never read [INFO] [stdout] --> src/resource_record_manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ResourceRecordManager<'a> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 9 | resources: Trie, HashMap, ResourceRecordType>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceRecordManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_authoritative_resource`, `add_cached_resource`, `remove_resource_record`, `clear`, `get_next_refresh`, and `get_domain_resources` are never used [INFO] [stdout] --> src/resource_record_manager.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ResourceRecordManager<'a> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_authoritative_resource(&mut self, resource: ResourceRecord<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn add_cached_resource(&mut self, resource: ResourceRecord<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn remove_resource_record(&mut self, resource_record: &ResourceRecord<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_next_refresh(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_domain_resources<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subdomain`, `authoritative`, and `cached` are never read [INFO] [stdout] --> src/resource_record_manager.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct DomainResourceFilter { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 142 | subdomain: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 143 | authoritative: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 144 | cached: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DomainResourceFilter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `authoritative`, `cached`, and `match_filter` are never used [INFO] [stdout] --> src/resource_record_manager.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl DomainResourceFilter { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 148 | pub fn authoritative(include_subdomains: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn cached() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn match_filter(&self, resource_type: &ResourceRecordType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_key` is never used [INFO] [stdout] --> src/resource_record_manager.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn get_key(name: &Name) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Authoritative` and `Cached` are never constructed [INFO] [stdout] --> src/resource_record_manager.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | enum ResourceRecordType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 191 | Authoritative, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 192 | Cached(ExpirationInfo), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceRecordType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_refresh` is never used [INFO] [stdout] --> src/resource_record_manager.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl ResourceRecordType { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 196 | pub fn should_refresh(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/resource_record_manager.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl ExpirationInfo { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 212 | pub fn new(ttl: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sender_socket` is never used [INFO] [stdout] --> src/socket_helper.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn sender_socket(ipv4: bool) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_multicast` is never used [INFO] [stdout] --> src/socket_helper.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn join_multicast(network_scope: NetworkScope) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_socket` is never used [INFO] [stdout] --> src/socket_helper.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn create_socket(domain: Domain) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_multicast` is never used [INFO] [stdout] --> src/socket_helper.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn bind_multicast(socket: Socket, address: &IpAddr, port: u16) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stdout] warning: constant `UNICAST_RESPONSE` is never used [INFO] [stdout] --> src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const UNICAST_RESPONSE: bool = cfg!(not(test)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_records` is never used [INFO] [stdout] --> src/instance_information.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> InstanceInformation { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn from_records<'b>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_resource_record`, `clear`, and `get_next_refresh` are never used [INFO] [stdout] --> src/resource_record_manager.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ResourceRecordManager<'a> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn remove_resource_record(&mut self, resource_record: &ResourceRecord<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_next_refresh(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_refresh` is never used [INFO] [stdout] --> src/resource_record_manager.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl ResourceRecordType { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 196 | pub fn should_refresh(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sender_socket` is never used [INFO] [stdout] --> src/socket_helper.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn sender_socket(ipv4: bool) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "8692562c881a3512d5d54c58af632167e94025e158090aa75ea21eab2b34f688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8692562c881a3512d5d54c58af632167e94025e158090aa75ea21eab2b34f688", kill_on_drop: false }` [INFO] [stdout] 8692562c881a3512d5d54c58af632167e94025e158090aa75ea21eab2b34f688