[INFO] fetching crate correspondent 0.3.1... [INFO] checking correspondent-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate correspondent 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate correspondent 0.3.1 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 correspondent 0.3.1 [INFO] finished tweaking crates.io crate correspondent 0.3.1 [INFO] tweaked toml for crates.io crate correspondent 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate correspondent 0.3.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77019259fa0662eed93d7866ae23f430df0ee325a667653732156ec62119acd7 [INFO] running `Command { std: "docker" "start" "-a" "77019259fa0662eed93d7866ae23f430df0ee325a667653732156ec62119acd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77019259fa0662eed93d7866ae23f430df0ee325a667653732156ec62119acd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77019259fa0662eed93d7866ae23f430df0ee325a667653732156ec62119acd7", kill_on_drop: false }` [INFO] [stdout] 77019259fa0662eed93d7866ae23f430df0ee325a667653732156ec62119acd7 [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 -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] 72b98118e3fae937410de61009b9cb0093f595b7c28ef2824bf5e7b999d7205b [INFO] running `Command { std: "docker" "start" "-a" "72b98118e3fae937410de61009b9cb0093f595b7c28ef2824bf5e7b999d7205b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling oid-registry v0.4.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Compiling oid-registry v0.6.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking pem v1.1.0 [INFO] [stderr] Checking rustls-pemfile v1.0.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking yasna v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling asn1-rs-derive v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking asn1-rs v0.3.1 [INFO] [stderr] Checking asn1-rs v0.5.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking der-parser v7.0.0 [INFO] [stderr] Checking quinn-proto v0.8.4 [INFO] [stderr] Checking x509-parser v0.13.2 [INFO] [stderr] Checking der-parser v8.1.0 [INFO] [stderr] Checking dbus v0.9.6 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking rcgen v0.9.3 [INFO] [stderr] Checking quinn-udp v0.1.3 [INFO] [stderr] Checking dbus-tokio v0.7.5 [INFO] [stderr] Checking quinn v0.8.5 [INFO] [stderr] Checking correspondent v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `service_name` [INFO] [stdout] --> src/nsd/linux/mod.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | service_name: &str, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_name` [INFO] [stdout] --> src/nsd/linux/mod.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | service_name: &str, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/nsd/linux/avahi.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 8 | fn introspect(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/nsd/linux/avahi.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait OrgFreedesktopAvahiServer { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 25 | fn get_version_string(&self) -> nonblock::MethodReply; [INFO] [stdout] 26 | fn get_apiversion(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | fn get_host_name(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | fn set_host_name(&self, name: &str) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | fn get_host_name_fqdn(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | fn get_domain_name(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | fn is_nsssupport_available(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | fn get_state(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | fn get_local_service_cookie(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn get_alternative_host_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn get_network_interface_name_by_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn get_network_interface_index_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn resolve_host_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn resolve_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn domain_browser_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn service_type_browser_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn service_resolver_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn host_name_resolver_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn address_resolver_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn record_browser_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/nsd/linux/avahi_entry_group.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 8 | fn introspect(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/nsd/linux/avahi_entry_group.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait OrgFreedesktopAvahiEntryGroup { [INFO] [stdout] | ----------------------------- methods in this trait [INFO] [stdout] 25 | fn free(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | fn commit(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] 27 | fn reset(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | fn get_state(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | fn is_empty(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn add_service_subtype( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn update_service_txt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn add_address( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn add_record( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/nsd/linux/avahi_service_browser.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 8 | fn introspect(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free` is never used [INFO] [stdout] --> src/nsd/linux/avahi_service_browser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait OrgFreedesktopAvahiServiceBrowser { [INFO] [stdout] | --------------------------------- method in this trait [INFO] [stdout] 25 | fn free(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/util.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait StreamInsertExt: StreamExt + Sized { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 37 | fn insert + Unpin>( [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/nsd/mod.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 46 | let (_handle, _) = oneshot::channel(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Self { [INFO] [stdout] 48 | _plat: None, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nsd/mod.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 54 | socket: crate::socket::Socket, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let (_handle, mut alive) = oneshot::channel(); [INFO] [stdout] | ------- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let new_peers = Arc::new(NewPeers::default()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let proxy_peer_found = { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let new_peers = Arc::clone(&new_peers); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let socket2 = socket.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let sleep_time = Duration::from_millis(100); [INFO] [stdout] 76 | let main = async move { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | _plat: Plat::start(socket, service_name, proxy_peer_found, main), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/nsd/linux/mod.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 50 | socket: crate::Socket, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | service_name: String, [INFO] [stdout] 52 | peer_found: Found, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | main: Main, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let (resource, conn) = connection::new_system_sync().ok()?; [INFO] [stdout] | -------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | [INFO] [stdout] 66 | let (resource, resource_handle) = resource.remote_handle(); [INFO] [stdout] | -------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let proxy = Proxy::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 85 | | _handles: Some((resource_handle, conn)), [INFO] [stdout] 86 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/peer.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 71 | let mut first_stream = match uni_streams.next().await { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Some(Ok(stream)) => stream, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let hello = identity [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok((u64::from_be_bytes(instance_id_bytes), hello)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/peer.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 126 | let peer_id = peer_id.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let connection = connection.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | futures_util::future::lazy(|_cx| { [INFO] [stdout] 129 | InternalEvent::Event(Event::NewPeer(peer_id, connection)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/peer.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 116 | let peer_id = PeerId { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | InternalEvent::Event(Event::PeerGone(peer_id.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 61 | builder: SocketBuilderComplete, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let (mut endpoint, incoming) = Endpoint::new( [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let identity = Arc::new(builder.identity); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let identity2 = Arc::clone(&identity); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let active_connections = ActiveConnections::default(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let active_connections2 = Arc::clone(&active_connections); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let (post_event, mut recv_event) = [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | tokio::sync::mpsc::unbounded_channel(); [INFO] [stdout] 76 | let mut events = Events:: { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let temp = Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let nsd_manager = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 116 | | Self { [INFO] [stdout] 117 | | nsd_manager, [INFO] [stdout] 118 | | ..temp [INFO] [stdout] 119 | | }, [INFO] [stdout] 120 | | events, [INFO] [stdout] 121 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 74 | let (post_event, mut recv_event) = [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | move |cx| recv_event.poll_recv(cx).map(Option::flatten), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 84 | .filter_map(move |connecting| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let identity2 = Arc::clone(&identity2); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let active_connections2 = Arc::clone(&active_connections2); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | async move { [INFO] [stdout] 88 | / start_peer( [INFO] [stdout] 89 | | identity2, [INFO] [stdout] 90 | | connecting, [INFO] [stdout] 91 | | instance_id, [INFO] [stdout] ... | [INFO] [stdout] 94 | | .await [INFO] [stdout] 95 | | .ok() [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 115 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> io::Result<(crate::Socket, crate::Events)> { [INFO] [stdout] 117 | crate::Socket::start(SocketBuilder { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 118 | | identity: self.identity, [INFO] [stdout] 119 | | service_name: self.service_name, [INFO] [stdout] 120 | | socket: self.socket, [INFO] [stdout] ... | [INFO] [stdout] 124 | | server_cfg: self.server_cfg, [INFO] [stdout] 125 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 174 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | identity: T::Identity, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | canonicalizer: T, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | identity: Identity { [INFO] [stdout] | _______________________^ [INFO] [stdout] 181 | | identity, [INFO] [stdout] 182 | | identity_txt, [INFO] [stdout] 183 | | canonicalizer, [INFO] [stdout] 184 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 241 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | let socket = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | Ok(SocketBuilder { [INFO] [stdout] | ____________^ [INFO] [stdout] 253 | | identity: self.identity, [INFO] [stdout] 254 | | service_name: self.service_name, [INFO] [stdout] 255 | | socket: socket.into(), [INFO] [stdout] ... | [INFO] [stdout] 259 | | server_cfg: self.server_cfg, [INFO] [stdout] 260 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 290 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let client_crypto = rustls::ClientConfig::builder() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 300 | let server_crypto = rustls::ServerConfig::builder() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | let client_cfg = ClientConfig::new(Arc::new(client_crypto)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | let server_cfg = ServerConfig::with_crypto(Arc::new(server_crypto)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Ok(SocketBuilder { [INFO] [stdout] | ____________^ [INFO] [stdout] 311 | | identity: self.identity, [INFO] [stdout] 312 | | service_name: self.service_name, [INFO] [stdout] 313 | | socket: self.socket, [INFO] [stdout] ... | [INFO] [stdout] 317 | | server_cfg, [INFO] [stdout] 318 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/util.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_boxed(fut: F) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Self::new(Box::pin(fut)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/util.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 38 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | fut: F, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> Chain> { [INFO] [stdout] 41 | self.chain(Insert::new(fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/util.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 45 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | fut: F, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> Chain>, Self::Item>> { [INFO] [stdout] 48 | self.chain(Insert::new_boxed(fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `correspondent` (lib) due to 17 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/nsd/linux/avahi.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 8 | fn introspect(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/nsd/linux/avahi.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait OrgFreedesktopAvahiServer { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 25 | fn get_version_string(&self) -> nonblock::MethodReply; [INFO] [stdout] 26 | fn get_apiversion(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | fn get_host_name(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | fn set_host_name(&self, name: &str) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | fn get_host_name_fqdn(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | fn get_domain_name(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | fn is_nsssupport_available(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | fn get_state(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | fn get_local_service_cookie(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn get_alternative_host_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn get_network_interface_name_by_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn get_network_interface_index_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn resolve_host_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn resolve_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn domain_browser_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn service_type_browser_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn service_resolver_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn host_name_resolver_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn address_resolver_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn record_browser_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/nsd/linux/avahi_entry_group.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 8 | fn introspect(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/nsd/linux/avahi_entry_group.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait OrgFreedesktopAvahiEntryGroup { [INFO] [stdout] | ----------------------------- methods in this trait [INFO] [stdout] 25 | fn free(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | fn commit(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] 27 | fn reset(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | fn get_state(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | fn is_empty(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn add_service_subtype( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn update_service_txt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn add_address( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn add_record( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/nsd/linux/avahi_service_browser.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 8 | fn introspect(&self) -> nonblock::MethodReply; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free` is never used [INFO] [stdout] --> src/nsd/linux/avahi_service_browser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait OrgFreedesktopAvahiServiceBrowser { [INFO] [stdout] | --------------------------------- method in this trait [INFO] [stdout] 25 | fn free(&self) -> nonblock::MethodReply<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/util.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait StreamInsertExt: StreamExt + Sized { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 37 | fn insert + Unpin>( [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/nsd/mod.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 46 | let (_handle, _) = oneshot::channel(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Self { [INFO] [stdout] 48 | _plat: None, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nsd/mod.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 54 | socket: crate::socket::Socket, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let (_handle, mut alive) = oneshot::channel(); [INFO] [stdout] | ------- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let new_peers = Arc::new(NewPeers::default()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let proxy_peer_found = { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let new_peers = Arc::clone(&new_peers); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let socket2 = socket.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let sleep_time = Duration::from_millis(100); [INFO] [stdout] 76 | let main = async move { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | _plat: Plat::start(socket, service_name, proxy_peer_found, main), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/nsd/linux/mod.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 50 | socket: crate::Socket, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | service_name: String, [INFO] [stdout] 52 | peer_found: Found, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | main: Main, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let (resource, conn) = connection::new_system_sync().ok()?; [INFO] [stdout] | -------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | [INFO] [stdout] 66 | let (resource, resource_handle) = resource.remote_handle(); [INFO] [stdout] | -------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let proxy = Proxy::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 85 | | _handles: Some((resource_handle, conn)), [INFO] [stdout] 86 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/peer.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 71 | let mut first_stream = match uni_streams.next().await { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Some(Ok(stream)) => stream, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let hello = identity [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok((u64::from_be_bytes(instance_id_bytes), hello)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/peer.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 126 | let peer_id = peer_id.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let connection = connection.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | futures_util::future::lazy(|_cx| { [INFO] [stdout] 129 | InternalEvent::Event(Event::NewPeer(peer_id, connection)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/peer.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 116 | let peer_id = PeerId { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | InternalEvent::Event(Event::PeerGone(peer_id.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 61 | builder: SocketBuilderComplete, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let (mut endpoint, incoming) = Endpoint::new( [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let identity = Arc::new(builder.identity); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let identity2 = Arc::clone(&identity); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let active_connections = ActiveConnections::default(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let active_connections2 = Arc::clone(&active_connections); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let (post_event, mut recv_event) = [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | tokio::sync::mpsc::unbounded_channel(); [INFO] [stdout] 76 | let mut events = Events:: { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let temp = Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let nsd_manager = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 116 | | Self { [INFO] [stdout] 117 | | nsd_manager, [INFO] [stdout] 118 | | ..temp [INFO] [stdout] 119 | | }, [INFO] [stdout] 120 | | events, [INFO] [stdout] 121 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 74 | let (post_event, mut recv_event) = [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | move |cx| recv_event.poll_recv(cx).map(Option::flatten), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 84 | .filter_map(move |connecting| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let identity2 = Arc::clone(&identity2); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let active_connections2 = Arc::clone(&active_connections2); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | async move { [INFO] [stdout] 88 | / start_peer( [INFO] [stdout] 89 | | identity2, [INFO] [stdout] 90 | | connecting, [INFO] [stdout] 91 | | instance_id, [INFO] [stdout] ... | [INFO] [stdout] 94 | | .await [INFO] [stdout] 95 | | .ok() [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 115 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> io::Result<(crate::Socket, crate::Events)> { [INFO] [stdout] 117 | crate::Socket::start(SocketBuilder { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 118 | | identity: self.identity, [INFO] [stdout] 119 | | service_name: self.service_name, [INFO] [stdout] 120 | | socket: self.socket, [INFO] [stdout] ... | [INFO] [stdout] 124 | | server_cfg: self.server_cfg, [INFO] [stdout] 125 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 174 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | identity: T::Identity, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | canonicalizer: T, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | identity: Identity { [INFO] [stdout] | _______________________^ [INFO] [stdout] 181 | | identity, [INFO] [stdout] 182 | | identity_txt, [INFO] [stdout] 183 | | canonicalizer, [INFO] [stdout] 184 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 241 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | let socket = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | Ok(SocketBuilder { [INFO] [stdout] | ____________^ [INFO] [stdout] 253 | | identity: self.identity, [INFO] [stdout] 254 | | service_name: self.service_name, [INFO] [stdout] 255 | | socket: socket.into(), [INFO] [stdout] ... | [INFO] [stdout] 259 | | server_cfg: self.server_cfg, [INFO] [stdout] 260 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/socket_builder.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 290 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let client_crypto = rustls::ClientConfig::builder() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 300 | let server_crypto = rustls::ServerConfig::builder() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | let client_cfg = ClientConfig::new(Arc::new(client_crypto)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | let server_cfg = ServerConfig::with_crypto(Arc::new(server_crypto)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Ok(SocketBuilder { [INFO] [stdout] | ____________^ [INFO] [stdout] 311 | | identity: self.identity, [INFO] [stdout] 312 | | service_name: self.service_name, [INFO] [stdout] 313 | | socket: self.socket, [INFO] [stdout] ... | [INFO] [stdout] 317 | | server_cfg, [INFO] [stdout] 318 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/util.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_boxed(fut: F) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Self::new(Box::pin(fut)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/util.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 38 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | fut: F, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> Chain> { [INFO] [stdout] 41 | self.chain(Insert::new(fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/util.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 45 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | fut: F, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> Chain>, Self::Item>> { [INFO] [stdout] 48 | self.chain(Insert::new_boxed(fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `correspondent` (lib test) due to 17 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72b98118e3fae937410de61009b9cb0093f595b7c28ef2824bf5e7b999d7205b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b98118e3fae937410de61009b9cb0093f595b7c28ef2824bf5e7b999d7205b", kill_on_drop: false }` [INFO] [stdout] 72b98118e3fae937410de61009b9cb0093f595b7c28ef2824bf5e7b999d7205b