[INFO] fetching crate multiplexed-connection 0.4.0... [INFO] checking multiplexed-connection-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate multiplexed-connection 0.4.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate multiplexed-connection 0.4.0 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 multiplexed-connection 0.4.0 [INFO] finished tweaking crates.io crate multiplexed-connection 0.4.0 [INFO] tweaked toml for crates.io crate multiplexed-connection 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate multiplexed-connection 0.4.0 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] 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] b67309d68bb4f1c84c3d634eeb55f81575d331cabf3d215795068539604556ce [INFO] running `Command { std: "docker" "start" "-a" "b67309d68bb4f1c84c3d634eeb55f81575d331cabf3d215795068539604556ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b67309d68bb4f1c84c3d634eeb55f81575d331cabf3d215795068539604556ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67309d68bb4f1c84c3d634eeb55f81575d331cabf3d215795068539604556ce", kill_on_drop: false }` [INFO] [stdout] b67309d68bb4f1c84c3d634eeb55f81575d331cabf3d215795068539604556ce [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] ae032510749037b0cc99c9adc7d99429eb5a001429f4a34ce61091541e26434a [INFO] running `Command { std: "docker" "start" "-a" "ae032510749037b0cc99c9adc7d99429eb5a001429f4a34ce61091541e26434a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.54 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling rstest v0.12.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking tracing-subscriber v0.3.9 [INFO] [stderr] Checking cs-trace v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking cs-utils v0.14.0 [INFO] [stderr] Checking connection-utils v0.2.0 [INFO] [stderr] Checking jsonrpc-pubsub v18.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling jsonrpc-derive v18.0.0 [INFO] [stderr] Checking jsonrpc-client-transports v18.0.0 [INFO] [stderr] Checking jsonrpc-core-client v18.0.0 [INFO] [stderr] Checking multiplexed-connection v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rpc_channel::RemoteRpcChannelEvent` [INFO] [stdout] --> src/multiplexed_connection/rpc.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use rpc_channel::RemoteRpcChannelEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::rpc::RpcChannelsServiceClient` [INFO] [stdout] --> src/multiplexed_connection/disconnected.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use super::rpc::RpcChannelsServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::RpcChannelsServiceClient` [INFO] [stdout] --> src/multiplexed_connection/rpc/services.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | pub use super::RpcChannelsServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::RpcChannelsServiceClient` [INFO] [stdout] --> src/multiplexed_connection/rpc/services.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | pub use super::RpcChannelsServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::RpcChannelsServiceClient` [INFO] [stdout] --> src/multiplexed_connection/rpc/services.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | pub use super::RpcChannelsServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::rpc::RpcChannelsServiceClient` [INFO] [stdout] --> src/multiplexed_connection/disconnected.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use super::rpc::RpcChannelsServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SubscriberInitExt`, `TraceListenerOptions`, `Trace`, `child`, `create_trace_listener`, and `create_trace` [INFO] [stdout] --> src/multiplexed_connection.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub use cs_trace::{create_trace_listener, TraceListenerOptions, Trace, SubscriberInitExt, create_trace, child}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `off_data` is never used [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/remote_rpc_channel_event.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl RemoteRpcChannelEvent { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn off_data(&mut self, data_source: TDataReader) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | ChannelStreamFailure(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | ChannelStreamFailure(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed `futures::Future` trait object that must be used [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.write_async_future.take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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/multiplexed_connection/disconnected.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Serialize, Deserialize, Clone, Debug)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/multiplexed_connection/disconnected.rs:30:73 [INFO] [stdout] | [INFO] [stdout] 30 | async fn connect(mut self: Box) -> Result> { [INFO] [stdout] | __________________________----___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | | let stream = self.stream [INFO] [stdout] 32 | | .take() [INFO] [stdout] 33 | | .expect("Cannot find stream."); [INFO] [stdout] ... | [INFO] [stdout] 80 | | ); [INFO] [stdout] 81 | | } [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/multiplexed_connection/disconnected.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 39 | let (client_duplex_source, client_duplex_sink) = duplex(4096); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let client_trace = child!(trace, "client"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | ).await [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/multiplexed_connection/disconnected.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 35 | let (on_data_channel_sink, on_data_channel_source) = channel(10); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let (server_duplex_source, server_duplex_sink) = duplex(4096); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let server_trace = child!(trace, "server"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let server_channels = Arc::clone(&channels); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | ).await [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/multiplexed_connection/disconnected.rs:83:72 [INFO] [stdout] | [INFO] [stdout] 83 | async fn listen(mut self: Box) -> Result> { [INFO] [stdout] | _________________________----___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | return self.connect().await; [INFO] [stdout] 85 | | } [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/multiplexed_connection/connected.rs:319:49 [INFO] [stdout] | [INFO] [stdout] 319 | async fn disconnect(mut self) -> Result<()> { [INFO] [stdout] | _____________________________----________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | | if let Err(_) = &self.disconnect_signal_sender.send(()) { [INFO] [stdout] 321 | | bail!("Failed to send disconnect signal."); [INFO] [stdout] 322 | | } [INFO] [stdout] 323 | | [INFO] [stdout] 324 | | return Ok(()); [INFO] [stdout] 325 | | } [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiplexed-connection` (lib) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | ChannelStreamFailure(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | ChannelStreamFailure(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed `futures::Future` trait object that must be used [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.write_async_future.take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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/multiplexed_connection/disconnected.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Serialize, Deserialize, Clone, Debug)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/multiplexed_connection/disconnected.rs:30:73 [INFO] [stdout] | [INFO] [stdout] 30 | async fn connect(mut self: Box) -> Result> { [INFO] [stdout] | __________________________----___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | | let stream = self.stream [INFO] [stdout] 32 | | .take() [INFO] [stdout] 33 | | .expect("Cannot find stream."); [INFO] [stdout] ... | [INFO] [stdout] 80 | | ); [INFO] [stdout] 81 | | } [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/multiplexed_connection/disconnected.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 39 | let (client_duplex_source, client_duplex_sink) = duplex(4096); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let client_trace = child!(trace, "client"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | ).await [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/multiplexed_connection/disconnected.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 35 | let (on_data_channel_sink, on_data_channel_source) = channel(10); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let (server_duplex_source, server_duplex_sink) = duplex(4096); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let server_trace = child!(trace, "server"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let server_channels = Arc::clone(&channels); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | ).await [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/multiplexed_connection/disconnected.rs:83:72 [INFO] [stdout] | [INFO] [stdout] 83 | async fn listen(mut self: Box) -> Result> { [INFO] [stdout] | _________________________----___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | return self.connect().await; [INFO] [stdout] 85 | | } [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/multiplexed_connection/connected.rs:319:49 [INFO] [stdout] | [INFO] [stdout] 319 | async fn disconnect(mut self) -> Result<()> { [INFO] [stdout] | _____________________________----________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | | if let Err(_) = &self.disconnect_signal_sender.send(()) { [INFO] [stdout] 321 | | bail!("Failed to send disconnect signal."); [INFO] [stdout] 322 | | } [INFO] [stdout] 323 | | [INFO] [stdout] 324 | | return Ok(()); [INFO] [stdout] 325 | | } [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 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiplexed-connection` (lib test) due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae032510749037b0cc99c9adc7d99429eb5a001429f4a34ce61091541e26434a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae032510749037b0cc99c9adc7d99429eb5a001429f4a34ce61091541e26434a", kill_on_drop: false }` [INFO] [stdout] ae032510749037b0cc99c9adc7d99429eb5a001429f4a34ce61091541e26434a