[INFO] fetching crate mqtt-client-rs 0.1.4... [INFO] fixing mqtt-client-rs-0.1.4 against try#5fed607fb5806ae20927e7e9193e3793c411ac20+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817 [INFO] extracting crate mqtt-client-rs 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate mqtt-client-rs 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mqtt-client-rs 0.1.4 [INFO] tweaked toml for crates.io crate mqtt-client-rs 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mqtt-client-rs 0.1.4 on toolchain 5fed607fb5806ae20927e7e9193e3793c411ac20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mqtt-client-rs 0.1.4 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" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "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-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e [INFO] running `Command { std: "docker" "start" "6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }` [INFO] [stderr] crater-edition-check: migrating to next edition [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking mqtt-core v0.1.4 [INFO] [stderr] Checking mqtt-client-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 272 | / tokio::select! { [INFO] [stdout] 273 | | // Command processing [INFO] [stdout] 274 | | cmd = self.command_rx.recv() => { [INFO] [stdout] | | --- [INFO] [stdout] | | | [INFO] [stdout] | | `cmd` calls a custom destructor [INFO] [stdout] | | `cmd` will be dropped later as of Edition 2024 [INFO] [stdout] 275 | | match cmd { [INFO] [stdout] 276 | | Some(ClientCommand::Publish { topic, payload, qos, retain, respond }) => { [INFO] [stdout] 277 | | let res = self.handle_publish(topic, payload, qos, retain, respond).await; [INFO] [stdout] | | --- --------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | | | `__awaitee` calls a custom destructor [INFO] [stdout] | | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | | `res` calls a custom destructor [INFO] [stdout] | | `res` will be dropped later as of Edition 2024 [INFO] [stdout] 278 | | if let Err(e) = res { [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `e` calls a custom destructor [INFO] [stdout] | | `e` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 283 | | let res = self.handle_subscribe(filter, qos, respond).await; [INFO] [stdout] | | --- ------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 284 | | if let Err(e) = res { [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 289 | | let res = self.handle_unsubscribe(filter, respond).await; [INFO] [stdout] | | --- ---------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | | | | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] 290 | | if let Err(e) = res { [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 313 | | while let Some(packet) = decode(&mut self.read_buf, Some(self.version))? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#18` [INFO] [stdout] | | up until Edition 2021 `#18` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#19` [INFO] [stdout] | | up until Edition 2021 `#19` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 314 | | self.process_packet(packet).await?; [INFO] [stdout] | | ---------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | | | `#13` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] 315 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... | [INFO] [stdout] 321 | | self.write_packet(&ControlPacket::PingReq(ping)).await?; [INFO] [stdout] | | ------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | | | | `#17` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | | | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] 322 | | } [INFO] [stdout] 323 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `output` calls a custom destructor [INFO] [stdout] | | `output` will be dropped later as of Edition 2024 [INFO] [stdout] | | `futures_init` calls a custom destructor [INFO] [stdout] | | `futures_init` will be dropped later as of Edition 2024 [INFO] [stdout] | | `futures` calls a custom destructor [INFO] [stdout] | | `futures` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] note: `#18` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#19` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/oneshot.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `futures_init` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / impl $(< [INFO] [stdout] 1318 | | $( $lifetime $(: $lifetime_bound)? ,)* [INFO] [stdout] 1319 | | $( $generics [INFO] [stdout] 1320 | | $(: $generics_bound)? [INFO] [stdout] ... | [INFO] [stdout] 1323 | | ),* [INFO] [stdout] 1324 | | >)? $crate::__private::Drop for $self_ty [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/time/entry.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pin_project! { [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: `futures` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / impl $(< [INFO] [stdout] 1318 | | $( $lifetime $(: $lifetime_bound)? ,)* [INFO] [stdout] 1319 | | $( $generics [INFO] [stdout] 1320 | | $(: $generics_bound)? [INFO] [stdout] ... | [INFO] [stdout] 1323 | | ),* [INFO] [stdout] 1324 | | >)? $crate::__private::Drop for $self_ty [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/time/entry.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pin_project! { [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/oneshot.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cmd` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/oneshot.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cmd` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `res` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#10` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#11` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#13` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#14` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#15` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#17` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | while let Some(packet) = decode(&mut self.read_buf, Some(self.version))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 314 | self.process_packet(packet).await?; [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 315 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/stress_test.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 272 | / tokio::select! { [INFO] [stdout] 273 | | // Command processing [INFO] [stdout] 274 | | cmd = self.command_rx.recv() => { [INFO] [stdout] | | --- [INFO] [stdout] | | | [INFO] [stdout] | | `cmd` calls a custom destructor [INFO] [stdout] | | `cmd` will be dropped later as of Edition 2024 [INFO] [stdout] 275 | | match cmd { [INFO] [stdout] 276 | | Some(ClientCommand::Publish { topic, payload, qos, retain, respond }) => { [INFO] [stdout] 277 | | let res = self.handle_publish(topic, payload, qos, retain, respond).await; [INFO] [stdout] | | --- --------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | | | `__awaitee` calls a custom destructor [INFO] [stdout] | | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | | `res` calls a custom destructor [INFO] [stdout] | | `res` will be dropped later as of Edition 2024 [INFO] [stdout] 278 | | if let Err(e) = res { [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `e` calls a custom destructor [INFO] [stdout] | | `e` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 283 | | let res = self.handle_subscribe(filter, qos, respond).await; [INFO] [stdout] | | --- ------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 284 | | if let Err(e) = res { [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 289 | | let res = self.handle_unsubscribe(filter, respond).await; [INFO] [stdout] | | --- ---------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | | | | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] 290 | | if let Err(e) = res { [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 313 | | while let Some(packet) = decode(&mut self.read_buf, Some(self.version))? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#18` [INFO] [stdout] | | up until Edition 2021 `#18` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#19` [INFO] [stdout] | | up until Edition 2021 `#19` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 314 | | self.process_packet(packet).await?; [INFO] [stdout] | | ---------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | | | `#13` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] 315 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... | [INFO] [stdout] 321 | | self.write_packet(&ControlPacket::PingReq(ping)).await?; [INFO] [stdout] | | ------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | | | | `#17` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | | | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] 322 | | } [INFO] [stdout] 323 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `output` calls a custom destructor [INFO] [stdout] | | `output` will be dropped later as of Edition 2024 [INFO] [stdout] | | `futures_init` calls a custom destructor [INFO] [stdout] | | `futures_init` will be dropped later as of Edition 2024 [INFO] [stdout] | | `futures` calls a custom destructor [INFO] [stdout] | | `futures` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] note: `#18` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#19` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/oneshot.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `futures_init` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / impl $(< [INFO] [stdout] 1318 | | $( $lifetime $(: $lifetime_bound)? ,)* [INFO] [stdout] 1319 | | $( $generics [INFO] [stdout] 1320 | | $(: $generics_bound)? [INFO] [stdout] ... | [INFO] [stdout] 1323 | | ),* [INFO] [stdout] 1324 | | >)? $crate::__private::Drop for $self_ty [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/time/entry.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pin_project! { [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: `futures` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / impl $(< [INFO] [stdout] 1318 | | $( $lifetime $(: $lifetime_bound)? ,)* [INFO] [stdout] 1319 | | $( $generics [INFO] [stdout] 1320 | | $(: $generics_bound)? [INFO] [stdout] ... | [INFO] [stdout] 1323 | | ),* [INFO] [stdout] 1324 | | >)? $crate::__private::Drop for $self_ty [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/time/entry.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pin_project! { [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/oneshot.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cmd` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/oneshot.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cmd` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `res` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#10` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#11` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#13` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#14` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#15` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#17` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | while let Some(packet) = decode(&mut self.read_buf, Some(self.version))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 314 | self.process_packet(packet).await?; [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 315 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> examples/stress_test.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | while let Some(res) = join_set.join_next().await { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `res` calls a custom destructor [INFO] [stdout] | `res` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `res` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] crater-edition-check: mqtt-client-rs v0.1.4 (/opt/rustwide/workdir) updating edition from 2021 to 2024 [INFO] [stderr] Checking mqtt-client-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.36s [INFO] [stderr] crater-edition-check all packages now at latest edition [INFO] [stderr] crater-edition-check: all finished [INFO] running `Command { std: "docker" "inspect" "6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e", kill_on_drop: false }` [INFO] [stdout] 6ff01c5fbe7323fcdb7837c2af2a0647eb99d447d5ec9853340d3b3dc06bcb3e