[INFO] fetching crate simple-mdns 0.6.2... [INFO] checking simple-mdns-0.6.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate simple-mdns 0.6.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate simple-mdns 0.6.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b76fb5cbff2449c78f094e1c3fbac6c1081b7ff3d50de916906a787bb2ea61b5 [INFO] running `Command { std: "docker" "start" "-a" "b76fb5cbff2449c78f094e1c3fbac6c1081b7ff3d50de916906a787bb2ea61b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b76fb5cbff2449c78f094e1c3fbac6c1081b7ff3d50de916906a787bb2ea61b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76fb5cbff2449c78f094e1c3fbac6c1081b7ff3d50de916906a787bb2ea61b5", kill_on_drop: false }` [INFO] [stdout] b76fb5cbff2449c78f094e1c3fbac6c1081b7ff3d50de916906a787bb2ea61b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ef82ac0993663547f29983e97e7b9513d161d08c14e8f86d83d2a78ac5a951e [INFO] running `Command { std: "docker" "start" "-a" "2ef82ac0993663547f29983e97e7b9513d161d08c14e8f86d83d2a78ac5a951e", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking simple-dns v0.7.1 [INFO] [stderr] Checking radix_trie v0.2.1 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instance_information.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 78 | records: impl Iterator>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | ) -> Option { [INFO] [stdout] 80 | let mut ip_addresses: HashSet = Default::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let mut ports = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | instance_name.map(|instance_name| InstanceInformation { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 109 | | instance_name, [INFO] [stdout] 110 | | ip_addresses, [INFO] [stdout] 111 | | ports, [INFO] [stdout] 112 | | attributes, [INFO] [stdout] 113 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-mdns` (lib) due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2ef82ac0993663547f29983e97e7b9513d161d08c14e8f86d83d2a78ac5a951e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef82ac0993663547f29983e97e7b9513d161d08c14e8f86d83d2a78ac5a951e", kill_on_drop: false }` [INFO] [stdout] 2ef82ac0993663547f29983e97e7b9513d161d08c14e8f86d83d2a78ac5a951e