[INFO] fetching crate hadron-client 0.1.0-beta.1... [INFO] checking hadron-client-0.1.0-beta.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate hadron-client 0.1.0-beta.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate hadron-client 0.1.0-beta.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hadron-client 0.1.0-beta.1 [INFO] finished tweaking crates.io crate hadron-client 0.1.0-beta.1 [INFO] tweaked toml for crates.io crate hadron-client 0.1.0-beta.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate hadron-client 0.1.0-beta.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c014dc77fb24d6ac24973e19e578c4da95573cb616d82fd936e2844ad4c91e8b [INFO] running `Command { std: "docker" "start" "-a" "c014dc77fb24d6ac24973e19e578c4da95573cb616d82fd936e2844ad4c91e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c014dc77fb24d6ac24973e19e578c4da95573cb616d82fd936e2844ad4c91e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c014dc77fb24d6ac24973e19e578c4da95573cb616d82fd936e2844ad4c91e8b", kill_on_drop: false }` [INFO] [stdout] c014dc77fb24d6ac24973e19e578c4da95573cb616d82fd936e2844ad4c91e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de4d12b5b0c86071aa2436e205d82ddbfaf4b02b32d8aebf0d1149764bf55b9e [INFO] running `Command { std: "docker" "start" "-a" "de4d12b5b0c86071aa2436e205d82ddbfaf4b02b32d8aebf0d1149764bf55b9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking arc-swap v1.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.16 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.28 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking prost v0.8.0 [INFO] [stderr] Checking prost-types v0.8.0 [INFO] [stderr] Checking tonic-build v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-io-timeout v1.1.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tower v0.4.8 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.5.2 [INFO] [stderr] Checking hadron-client v0.1.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `BroadcastStream<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/mod.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 96 | metadata_endpoint: Endpoint, mut tx: EndpointChangeTx, conns: ArcSwapConns, creds: ClientCreds, mode: Mode, shutdown: broadcast::Rece... [INFO] [stdout] | ----------------- ------ ----- ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let mut shutdown = BroadcastStream::new(shutdown); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / tokio::select! { [INFO] [stdout] 111 | | _ = shutdown.next() => return, [INFO] [stdout] 112 | | _ = delay => continue, [INFO] [stdout] 113 | | } [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / tokio::select! { [INFO] [stdout] 120 | | msg_opt = stream.next() => match msg_opt { [INFO] [stdout] 121 | | Some(Ok(update)) => diff_and_update_endpoints(update, conns.clone(), &mut changes, mode, &mut tx).await, [INFO] [stdout] 122 | | Some(Err(err)) => { [INFO] [stdout] ... | [INFO] [stdout] 128 | | _ = shutdown.next() => return, [INFO] [stdout] 129 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] [INFO] [stdout] [INFO] [stdout] error: this value of type `BroadcastStream<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/mod.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 96 | metadata_endpoint: Endpoint, mut tx: EndpointChangeTx, conns: ArcSwapConns, creds: ClientCreds, mode: Mode, shutdown: broadcast::Rece... [INFO] [stdout] | ----------------- ------ ----- ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let mut shutdown = BroadcastStream::new(shutdown); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / tokio::select! { [INFO] [stdout] 111 | | _ = shutdown.next() => return, [INFO] [stdout] 112 | | _ = delay => continue, [INFO] [stdout] 113 | | } [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / tokio::select! { [INFO] [stdout] 120 | | msg_opt = stream.next() => match msg_opt { [INFO] [stdout] 121 | | Some(Ok(update)) => diff_and_update_endpoints(update, conns.clone(), &mut changes, mode, &mut tx).await, [INFO] [stdout] 122 | | Some(Err(err)) => { [INFO] [stdout] ... | [INFO] [stdout] 128 | | _ = shutdown.next() => return, [INFO] [stdout] 129 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] [INFO] [stdout] [INFO] [stdout] error: this value of type `BroadcastStream<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/pipeline.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 89 | async fn run(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut shutdown = BroadcastStream::new(self.shutdown.subscribe()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | / tokio::select! { [INFO] [stdout] 99 | | _ = conn_changes.changed() => self.build_subscriptions().await, [INFO] [stdout] 100 | | Some(task) = self.tasks_rx.next() => self.handle_sub_task(task).await, [INFO] [stdout] 101 | | _ = shutdown.next() => break, [INFO] [stdout] 102 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `BroadcastStream<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/pipeline.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 89 | async fn run(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut shutdown = BroadcastStream::new(self.shutdown.subscribe()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | / tokio::select! { [INFO] [stdout] 99 | | _ = conn_changes.changed() => self.build_subscriptions().await, [INFO] [stdout] 100 | | Some(task) = self.tasks_rx.next() => self.handle_sub_task(task).await, [INFO] [stdout] 101 | | _ = shutdown.next() => break, [INFO] [stdout] 102 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `tokio::sync::watch::Receiver<(Option>>, Arc>>)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/publisher.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut conn_changes = self.client.inner.changes.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | tokio::pin!(timer); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | loop { [INFO] [stdout] 54 | / tokio::select! { [INFO] [stdout] 55 | | _ = &mut timer => return Err(anyhow::anyhow!("timeout while waiting for available connections")), [INFO] [stdout] 56 | | _ = conn_changes.changed() => (), [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `BroadcastStream<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/subscriber.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 97 | async fn run(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let mut shutdown = BroadcastStream::new(self.shutdown.subscribe()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / tokio::select! { [INFO] [stdout] 107 | | _ = conn_changes.changed() => self.build_subscriptions().await, [INFO] [stdout] 108 | | Some(task) = self.tasks_rx.next() => self.handle_sub_task(task).await, [INFO] [stdout] 109 | | _ = shutdown.next() => break, [INFO] [stdout] 110 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `tokio::sync::watch::Receiver<(Option>>, Arc>>)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/publisher.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut conn_changes = self.client.inner.changes.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | tokio::pin!(timer); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | loop { [INFO] [stdout] 54 | / tokio::select! { [INFO] [stdout] 55 | | _ = &mut timer => return Err(anyhow::anyhow!("timeout while waiting for available connections")), [INFO] [stdout] 56 | | _ = conn_changes.changed() => (), [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `BroadcastStream<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/subscriber.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 97 | async fn run(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let mut shutdown = BroadcastStream::new(self.shutdown.subscribe()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / tokio::select! { [INFO] [stdout] 107 | | _ = conn_changes.changed() => self.build_subscriptions().await, [INFO] [stdout] 108 | | Some(task) = self.tasks_rx.next() => self.handle_sub_task(task).await, [INFO] [stdout] 109 | | _ = shutdown.next() => break, [INFO] [stdout] 110 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] warning: fields `name` and `rr_partition` are never read [INFO] [stdout] --> src/client/publisher.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct PublisherClient { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 34 | client: Client, [INFO] [stdout] 35 | name: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | rr_partition: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublisherClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hadron-client` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `name` and `rr_partition` are never read [INFO] [stdout] --> src/client/publisher.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct PublisherClient { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 34 | client: Client, [INFO] [stdout] 35 | name: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | rr_partition: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublisherClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hadron-client` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "de4d12b5b0c86071aa2436e205d82ddbfaf4b02b32d8aebf0d1149764bf55b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4d12b5b0c86071aa2436e205d82ddbfaf4b02b32d8aebf0d1149764bf55b9e", kill_on_drop: false }` [INFO] [stdout] de4d12b5b0c86071aa2436e205d82ddbfaf4b02b32d8aebf0d1149764bf55b9e