[INFO] fetching crate ntex-mqtt 3.1.0... [INFO] checking ntex-mqtt-3.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ntex-mqtt 3.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ntex-mqtt 3.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex-mqtt 3.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ntex-mqtt 3.1.0 [INFO] tweaked toml for crates.io crate ntex-mqtt 3.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ntex-mqtt 3.1.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc7e5d936c54f290c77ad342f32965f8a1b24c07e1d67763f66df3f6dfcc024a [INFO] running `Command { std: "docker" "start" "-a" "fc7e5d936c54f290c77ad342f32965f8a1b24c07e1d67763f66df3f6dfcc024a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc7e5d936c54f290c77ad342f32965f8a1b24c07e1d67763f66df3f6dfcc024a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7e5d936c54f290c77ad342f32965f8a1b24c07e1d67763f66df3f6dfcc024a", kill_on_drop: false }` [INFO] [stdout] fc7e5d936c54f290c77ad342f32965f8a1b24c07e1d67763f66df3f6dfcc024a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 210e3c2711c5d54fd7195cb0d61943e5e9e31a93a1b63075ae8978d1b099b7e2 [INFO] running `Command { std: "docker" "start" "-a" "210e3c2711c5d54fd7195cb0d61943e5e9e31a93a1b63075ae8978d1b099b7e2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking oneshot v0.1.8 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking ntex-rt v0.4.13 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking ntex-util v2.3.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v2.2.0 [INFO] [stderr] Checking ntex-tokio v0.5.0 [INFO] [stderr] Checking ntex-net v2.0.0 [INFO] [stderr] Checking ntex-server v2.3.0 [INFO] [stderr] Checking ntex-tls v2.0.0 [INFO] [stderr] Checking ntex-h2 v1.1.0 [INFO] [stderr] Checking ntex-mqtt v3.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ntex v2.3.0 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ntex_mqtt` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | ($cond:expr_2021, $e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | ($cond:expr_2021, $e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | ($cond:expr_2021, $fmt:expr_2021, $($arg:tt)+) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 13 | ($cond:expr_2021, $fmt:expr_2021, $($arg:tt)+) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | $var:ident=$val:expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr, $e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr_2021, $e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr, $e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr, $e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr, $fmt:expr, $($arg:tt)+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr_2021, $fmt:expr, $($arg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr, $fmt:expr, $($arg:tt)+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr, $fmt:expr_2021, $($arg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | $var:ident=$val:expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | $var:ident=$val:expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/connection.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some((idx, _info)) = router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/connection.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 231 ~ match router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 232 | // exec handler [INFO] [stdout] ... [INFO] [stdout] 235 | Either::Left(async move { call(req, handlers[idx].clone()).await }) [INFO] [stdout] 236 ~ } _ => { [INFO] [stdout] 237 | Either::Right(Ready::<_, Err>::Ok(Either::Right(req))) [INFO] [stdout] 238 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(id) = self.0.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match self.0.packet_id { Some(id) => { [INFO] [stdout] 75 | ControlAck { result: ControlAckKind::PublishAck(id) } [INFO] [stdout] 76 ~ } _ => { [INFO] [stdout] 77 | ControlAck { result: ControlAckKind::Nothing } [INFO] [stdout] 78 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(id) = self.0.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match self.0.packet_id { Some(id) => { [INFO] [stdout] 83 | (ControlAck { result: ControlAckKind::PublishAck(id) }, self.0) [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | (ControlAck { result: ControlAckKind::Nothing }, self.0) [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { Err(e) => { [INFO] [stdout] 110 | Err(MqttError::Handshake(HandshakeError::Protocol(e))) [INFO] [stdout] 111 ~ } _ => { [INFO] [stdout] 112 | Ok(None) [INFO] [stdout] 113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Subscribe { packet_id, status }) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 116 ~ match self.inner.sink.pkt_ack(Ack::Subscribe { packet_id, status }) { Err(e) => { [INFO] [stdout] 117 | Err(MqttError::Handshake(HandshakeError::Protocol(e))) [INFO] [stdout] 118 ~ } _ => { [INFO] [stdout] 119 | Ok(None) [INFO] [stdout] 120 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Unsubscribe(packet_id)) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 123 ~ match self.inner.sink.pkt_ack(Ack::Unsubscribe(packet_id)) { Err(e) => { [INFO] [stdout] 124 | Err(MqttError::Handshake(HandshakeError::Protocol(e))) [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | Ok(None) [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/dispatcher.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/dispatcher.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 224 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { Err(e) => { [INFO] [stdout] 225 | control(Control::proto_error(e), &self.inner, ctx).await [INFO] [stdout] 226 ~ } _ => { [INFO] [stdout] 227 | Ok(None) [INFO] [stdout] 228 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/router.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some((idx, _info)) = self.router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/router.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match self.router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 125 | ctx.call(&self.handlers[*idx], req).await [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | ctx.call(&self.default, req).await [INFO] [stdout] 128 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(cb) = self.on_publish_ack.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 156 ~ match self.on_publish_ack.take() { Some(cb) => { [INFO] [stdout] 157 | for (idx, tx, _) in queues.inflight.drain(..) { [INFO] [stdout] ... [INFO] [stdout] 161 | } [INFO] [stdout] 162 ~ } _ => { [INFO] [stdout] 163 | queues.inflight.clear() [INFO] [stdout] 164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match queues.waiters.pop_front() { Some(tx) => { [INFO] [stdout] 184 | if tx.send(()).is_ok() { [INFO] [stdout] 185 | num -= 1; [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => { [INFO] [stdout] 188 | break; [INFO] [stdout] 189 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some((idx, tx, tp)) = queues.inflight.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 205 ~ match queues.inflight.pop_front() { Some((idx, tx, tp)) => { [INFO] [stdout] 206 | if idx != pkt.packet_id() { [INFO] [stdout] ... [INFO] [stdout] 238 | } [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | log::trace!("Unexpected PUBACK packet: {:?}", pkt.packet_id()); [INFO] [stdout] ... [INFO] [stdout] 243 | )) [INFO] [stdout] 244 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(tx) = tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match tx { Some(tx) => { [INFO] [stdout] 220 | let _ = tx.send(pkt); [INFO] [stdout] 221 ~ } _ => { [INFO] [stdout] 222 | let cb = self.on_publish_ack.take().unwrap(); [INFO] [stdout] 223 | (*cb)(pkt.packet_id(), false); [INFO] [stdout] 224 | self.on_publish_ack.set(Some(cb)); [INFO] [stdout] 225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/v3/sink.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/v3/sink.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 50 | pub fn ready(&self) -> impl Future + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(rx) = shared.wait_readiness() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match shared.wait_readiness() { Some(rx) => { [INFO] [stdout] 199 | Either::Left(Either::Left(async move { [INFO] [stdout] ... [INFO] [stdout] 204 | })) [INFO] [stdout] 205 ~ } _ => { [INFO] [stdout] 206 | Either::Left(Either::Right(Self::send_at_least_once_inner(packet, shared))) [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 229 | idx [INFO] [stdout] 230 ~ } _ => { [INFO] [stdout] 231 | let idx = shared.next_id(); [INFO] [stdout] 232 | packet.packet_id = Some(idx); [INFO] [stdout] 233 | idx [INFO] [stdout] 234 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 252 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 253 | idx [INFO] [stdout] 254 ~ } _ => { [INFO] [stdout] 255 | let idx = shared.next_id(); [INFO] [stdout] 256 | packet.packet_id = Some(idx); [INFO] [stdout] 257 | idx [INFO] [stdout] 258 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | else if let Some(ref alias) = req.packet().properties.topic_alias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ else { match req.packet().properties.topic_alias { Some(ref alias) => { [INFO] [stdout] 270 | let aliases = aliases.borrow(); [INFO] [stdout] ... [INFO] [stdout] 277 | } [INFO] [stdout] 278 ~ } _ => { [INFO] [stdout] 279 | return Either::Right(Ready::<_, Err>::Ok(Either::Left(req))); [INFO] [stdout] 280 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if let Some((idx, _info)) = router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 258 ~ match router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 259 | // save info for topic alias [INFO] [stdout] ... [INFO] [stdout] 263 | *idx [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | return Either::Right(Ready::<_, Err>::Ok(Either::Left(req))); [INFO] [stdout] 266 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(item) = aliases.get(alias) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 271 ~ match aliases.get(alias) { Some(item) => { [INFO] [stdout] 272 | *req.topic_mut() = item.1.clone(); [INFO] [stdout] 273 | item.0 [INFO] [stdout] 274 ~ } _ => { [INFO] [stdout] 275 | log::error!("Unknown topic alias: {:?}", alias); [INFO] [stdout] 276 | return Either::Right(Ready::<_, Err>::Ok(Either::Left(req))); [INFO] [stdout] 277 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(alias) = publish.properties.topic_alias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match publish.properties.topic_alias { Some(alias) => { [INFO] [stdout] 163 | if publish.topic.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 211 | } [INFO] [stdout] 212 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Publish(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 226 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet)) { Err(err) => { [INFO] [stdout] 227 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 228 ~ } _ => { [INFO] [stdout] 229 | Ok(None) [INFO] [stdout] 230 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Subscribe(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.inner.sink.pkt_ack(Ack::Subscribe(packet)) { Err(err) => { [INFO] [stdout] 234 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 235 ~ } _ => { [INFO] [stdout] 236 | Ok(None) [INFO] [stdout] 237 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Unsubscribe(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match self.inner.sink.pkt_ack(Ack::Unsubscribe(packet)) { Err(err) => { [INFO] [stdout] 241 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 242 ~ } _ => { [INFO] [stdout] 243 | Ok(None) [INFO] [stdout] 244 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/dispatcher.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Publish(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/dispatcher.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 328 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet)) { Err(err) => { [INFO] [stdout] 329 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 330 ~ } _ => { [INFO] [stdout] 331 | Ok(None) [INFO] [stdout] 332 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/router.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | else if let Some(ref alias) = req.packet().properties.topic_alias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/router.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ else { match req.packet().properties.topic_alias { Some(ref alias) => { [INFO] [stdout] 150 | let aliases = self.aliases.borrow(); [INFO] [stdout] ... [INFO] [stdout] 158 | } [INFO] [stdout] 159 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/router.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some((idx, _info)) = self.router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/router.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match self.router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 141 | // save info for topic alias [INFO] [stdout] ... [INFO] [stdout] 145 | return ctx.call(&self.handlers[*idx], req).await; [INFO] [stdout] 146 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/router.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(item) = aliases.get(alias) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/router.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match aliases.get(alias) { Some(item) => { [INFO] [stdout] 152 | let idx = item.0; [INFO] [stdout] ... [INFO] [stdout] 155 | return ctx.call(&self.handlers[idx], req).await; [INFO] [stdout] 156 ~ } _ => { [INFO] [stdout] 157 | log::error!("Unknown topic alias: {:?}", alias); [INFO] [stdout] 158 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(cb) = self.on_publish_ack.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match self.on_publish_ack.take() { Some(cb) => { [INFO] [stdout] 174 | for (idx, tx, _) in queues.inflight.drain(..) { [INFO] [stdout] ... [INFO] [stdout] 178 | } [INFO] [stdout] 179 ~ } _ => { [INFO] [stdout] 180 | queues.inflight.clear() [INFO] [stdout] 181 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match queues.waiters.pop_front() { Some(tx) => { [INFO] [stdout] 201 | if tx.send(()).is_ok() { [INFO] [stdout] 202 | num -= 1; [INFO] [stdout] 203 | } [INFO] [stdout] 204 ~ } _ => { [INFO] [stdout] 205 | break; [INFO] [stdout] 206 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | if let Some((idx, tx, tp)) = queues.inflight.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 225 ~ match queues.inflight.pop_front() { Some((idx, tx, tp)) => { [INFO] [stdout] 226 | if idx != pkt.packet_id() { [INFO] [stdout] ... [INFO] [stdout] 263 | } [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | log::trace!("Unexpected PublishAck packet"); [INFO] [stdout] ... [INFO] [stdout] 268 | )) [INFO] [stdout] 269 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(tx) = tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match tx { Some(tx) => { [INFO] [stdout] 242 | let _ = tx.send(pkt); [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | let cb = self.on_publish_ack.take().unwrap(); [INFO] [stdout] 245 | (*cb)(pkt.publish(), false); [INFO] [stdout] 246 | self.on_publish_ack.set(Some(cb)); [INFO] [stdout] 247 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:250:27 [INFO] [stdout] | [INFO] [stdout] 250 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | if let Ack::Publish(pkt) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ match self { Ack::Publish(pkt) => { [INFO] [stdout] 400 | pkt [INFO] [stdout] 401 ~ } _ => { [INFO] [stdout] 402 | panic!() [INFO] [stdout] 403 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if let Ack::Subscribe(pkt) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match self { Ack::Subscribe(pkt) => { [INFO] [stdout] 408 | pkt [INFO] [stdout] 409 ~ } _ => { [INFO] [stdout] 410 | panic!() [INFO] [stdout] 411 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | if let Ack::Unsubscribe(pkt) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 415 ~ match self { Ack::Unsubscribe(pkt) => { [INFO] [stdout] 416 | pkt [INFO] [stdout] 417 ~ } _ => { [INFO] [stdout] 418 | panic!() [INFO] [stdout] 419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/v5/sink.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/v5/sink.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ready(&self) -> impl Future + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(rx) = shared.wait_readiness() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match shared.wait_readiness() { Some(rx) => { [INFO] [stdout] 244 | Either::Left(Either::Left(async move { [INFO] [stdout] ... [INFO] [stdout] 249 | })) [INFO] [stdout] 250 ~ } _ => { [INFO] [stdout] 251 | Either::Left(Either::Right(Self::send_at_least_once_inner(packet, shared))) [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 273 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 273 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 274 | idx [INFO] [stdout] 275 ~ } _ => { [INFO] [stdout] 276 | let idx = shared.next_id(); [INFO] [stdout] 277 | packet.packet_id = Some(idx); [INFO] [stdout] 278 | idx [INFO] [stdout] 279 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 297 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 298 | idx [INFO] [stdout] 299 ~ } _ => { [INFO] [stdout] 300 | let idx = shared.next_id(); [INFO] [stdout] 301 | packet.packet_id = Some(idx); [INFO] [stdout] 302 | idx [INFO] [stdout] 303 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | if let Err(err) = io.encode(item, codec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match io.encode(item, codec) { Err(err) => { [INFO] [stdout] 194 | self.error = Some(IoDispatcherError::Encoder(err)); [INFO] [stdout] 195 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | while let Some(item) = self.queue.front_mut().and_then(|v| v.take()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | if let Err(err) = io.encode(item, codec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match io.encode(item, codec) { Err(err) => { [INFO] [stdout] 210 | self.error = Some(IoDispatcherError::Encoder(err)); [INFO] [stdout] 211 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if let Poll::Ready(item) = Pin::new(fut).poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match Pin::new(fut).poll(cx) { Poll::Ready(item) => { [INFO] [stdout] 241 | inner.state.borrow_mut().handle_result( [INFO] [stdout] ... [INFO] [stdout] 248 | inner.response = None; [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:269:40 [INFO] [stdout] | [INFO] [stdout] 269 | ... if let Some(el) = decoded.item { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match decoded.item { Some(el) => { [INFO] [stdout] 270 | DispatchItem::Item(el) [INFO] [stdout] 271 ~ } _ => { [INFO] [stdout] 272 | return Poll::Pending; [INFO] [stdout] 273 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:284:40 [INFO] [stdout] | [INFO] [stdout] 284 | ... if let Err(err) = inner.handle_timeout() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 284 ~ match inner.handle_timeout() { Err(err) => { [INFO] [stdout] 285 | inner.st = IoDispatcherState::Stop; [INFO] [stdout] 286 | err [INFO] [stdout] 287 ~ } _ => { [INFO] [stdout] 288 | continue; [INFO] [stdout] 289 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | let item = if let Err(err) = ready!(inner.io.poll_flush(cx, false)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | } else { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:372:32 [INFO] [stdout] | [INFO] [stdout] 372 | ... if let Some(IoDispatcherError::Service(err)) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 373 | | ... inner.state.borrow_mut().error.take() [INFO] [stdout] | |___________________________------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 372 ~ match inner.state.borrow_mut().error.take() [INFO] [stdout] 373 ~ { Some(IoDispatcherError::Service(err)) => { [INFO] [stdout] 374 | Err(err) [INFO] [stdout] 375 ~ } _ => { [INFO] [stdout] 376 | Ok(()) [INFO] [stdout] 377 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:401:16 [INFO] [stdout] | [INFO] [stdout] 401 | if let Poll::Ready(res) = Pin::new(&mut fut).poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 401 ~ match Pin::new(&mut fut).poll(cx) { Poll::Ready(res) => { [INFO] [stdout] 402 | // check if current result is only response [INFO] [stdout] ... [INFO] [stdout] 418 | } [INFO] [stdout] 419 ~ } _ => { [INFO] [stdout] 420 | self.response = Some(fut); [INFO] [stdout] 421 | self.response_idx = state.base.wrapping_add(state.queue.len()); [INFO] [stdout] 422 | state.queue.push_back(ServiceResult::Pending); [INFO] [stdout] 423 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:409:32 [INFO] [stdout] | [INFO] [stdout] 409 | ... if let Err(err) = self.io.encode(item, &self.codec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match self.io.encode(item, &self.codec) { Err(err) => { [INFO] [stdout] 410 | state.error = Some(IoDispatcherError::Encoder(err)); [INFO] [stdout] 411 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:445:32 [INFO] [stdout] | [INFO] [stdout] 445 | Poll::Ready(if let Some(err) = state.error.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ Poll::Ready(match state.error.take() { Some(err) => { [INFO] [stdout] 446 | log::trace!("{}: Error occured, stopping dispatcher", self.io.tag()); [INFO] [stdout] ... [INFO] [stdout] 456 | } [INFO] [stdout] 457 ~ } _ => { [INFO] [stdout] 458 | PollService::Ready [INFO] [stdout] 459 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/openssl-client.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/openssl-client.rs (1 fix) [INFO] [stderr] Migrating tests/test_server_v5.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/client.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/client.rs (1 fix) [INFO] [stderr] Migrating examples/mqtt-ws-client.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/mqtt-ws-client.rs (1 fix) [INFO] [stderr] Migrating examples/subs.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/subs.rs (1 fix) [INFO] [stderr] Migrating tests/test_server.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/session.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/session.rs (1 fix) [INFO] [stderr] Migrating examples/subs_client.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/subs_client.rs (1 fix) [INFO] [stderr] Migrating examples/openssl.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/openssl.rs (1 fix) [INFO] [stderr] Migrating examples/basic.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/basic.rs (1 fix) [INFO] [stderr] Migrating examples/routing_v5.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/routing_v5.rs (1 fix) [INFO] [stderr] Migrating tests/test_server_both.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/routing.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/routing.rs (1 fix) [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ntex_mqtt` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils.rs [INFO] [stderr] * src/v3/codec/decode.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | ($cond:expr_2021, $e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | ($cond:expr_2021, $e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | ($cond:expr_2021, $fmt:expr_2021, $($arg:tt)+) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 13 | ($cond:expr_2021, $fmt:expr_2021, $($arg:tt)+) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | $var:ident=$val:expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/v3/codec/decode.rs:173:10 [INFO] [stderr] | [INFO] [stderr] 173 | ($bytes:expr_2021, $res:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/v3/codec/decode.rs:173:28 [INFO] [stderr] | [INFO] [stderr] 173 | ($bytes:expr_2021, $res:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr, $e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr_2021, $e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr, $e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | ($cond:expr, $e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr, $fmt:expr, $($arg:tt)+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr_2021, $fmt:expr, $($arg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr, $fmt:expr, $($arg:tt)+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | ($cond:expr, $fmt:expr_2021, $($arg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | $var:ident=$val:expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | $var:ident=$val:expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v3/codec/decode.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | ($bytes:expr, $res:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 173 | ($bytes:expr_2021, $res:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v3/codec/decode.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | ($bytes:expr, $res:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 173 | ($bytes:expr, $res:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/connection.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some((idx, _info)) = router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/connection.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 231 ~ match router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 232 | // exec handler [INFO] [stdout] ... [INFO] [stdout] 235 | Either::Left(async move { call(req, handlers[idx].clone()).await }) [INFO] [stdout] 236 ~ } _ => { [INFO] [stdout] 237 | Either::Right(Ready::<_, Err>::Ok(Either::Right(req))) [INFO] [stdout] 238 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(id) = self.0.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match self.0.packet_id { Some(id) => { [INFO] [stdout] 75 | ControlAck { result: ControlAckKind::PublishAck(id) } [INFO] [stdout] 76 ~ } _ => { [INFO] [stdout] 77 | ControlAck { result: ControlAckKind::Nothing } [INFO] [stdout] 78 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(id) = self.0.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/control.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match self.0.packet_id { Some(id) => { [INFO] [stdout] 83 | (ControlAck { result: ControlAckKind::PublishAck(id) }, self.0) [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | (ControlAck { result: ControlAckKind::Nothing }, self.0) [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { Err(e) => { [INFO] [stdout] 110 | Err(MqttError::Handshake(HandshakeError::Protocol(e))) [INFO] [stdout] 111 ~ } _ => { [INFO] [stdout] 112 | Ok(None) [INFO] [stdout] 113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Subscribe { packet_id, status }) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 116 ~ match self.inner.sink.pkt_ack(Ack::Subscribe { packet_id, status }) { Err(e) => { [INFO] [stdout] 117 | Err(MqttError::Handshake(HandshakeError::Protocol(e))) [INFO] [stdout] 118 ~ } _ => { [INFO] [stdout] 119 | Ok(None) [INFO] [stdout] 120 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Unsubscribe(packet_id)) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/client/dispatcher.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 123 ~ match self.inner.sink.pkt_ack(Ack::Unsubscribe(packet_id)) { Err(e) => { [INFO] [stdout] 124 | Err(MqttError::Handshake(HandshakeError::Protocol(e))) [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | Ok(None) [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/codec/codec.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | let pkt2 = if let (Packet::Publish(v), _) = codec.decode(&mut buf).unwrap().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/codec/codec.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 145 ~ let pkt2 = match codec.decode(&mut buf).unwrap().unwrap() { (Packet::Publish(v), _) => { [INFO] [stdout] 146 | v [INFO] [stdout] 147 ~ } _ => { [INFO] [stdout] 148 | panic!() [INFO] [stdout] 149 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/dispatcher.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | if let Err(e) = self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/dispatcher.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 224 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet_id)) { Err(e) => { [INFO] [stdout] 225 | control(Control::proto_error(e), &self.inner, ctx).await [INFO] [stdout] 226 ~ } _ => { [INFO] [stdout] 227 | Ok(None) [INFO] [stdout] 228 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/router.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some((idx, _info)) = self.router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/router.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match self.router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 125 | ctx.call(&self.handlers[*idx], req).await [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | ctx.call(&self.default, req).await [INFO] [stdout] 128 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(cb) = self.on_publish_ack.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 156 ~ match self.on_publish_ack.take() { Some(cb) => { [INFO] [stdout] 157 | for (idx, tx, _) in queues.inflight.drain(..) { [INFO] [stdout] ... [INFO] [stdout] 161 | } [INFO] [stdout] 162 ~ } _ => { [INFO] [stdout] 163 | queues.inflight.clear() [INFO] [stdout] 164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match queues.waiters.pop_front() { Some(tx) => { [INFO] [stdout] 184 | if tx.send(()).is_ok() { [INFO] [stdout] 185 | num -= 1; [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => { [INFO] [stdout] 188 | break; [INFO] [stdout] 189 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some((idx, tx, tp)) = queues.inflight.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 205 ~ match queues.inflight.pop_front() { Some((idx, tx, tp)) => { [INFO] [stdout] 206 | if idx != pkt.packet_id() { [INFO] [stdout] ... [INFO] [stdout] 238 | } [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | log::trace!("Unexpected PUBACK packet: {:?}", pkt.packet_id()); [INFO] [stdout] ... [INFO] [stdout] 243 | )) [INFO] [stdout] 244 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(tx) = tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match tx { Some(tx) => { [INFO] [stdout] 220 | let _ = tx.send(pkt); [INFO] [stdout] 221 ~ } _ => { [INFO] [stdout] 222 | let cb = self.on_publish_ack.take().unwrap(); [INFO] [stdout] 223 | (*cb)(pkt.packet_id(), false); [INFO] [stdout] 224 | self.on_publish_ack.set(Some(cb)); [INFO] [stdout] 225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/shared.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/v3/sink.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/v3/sink.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 50 | pub fn ready(&self) -> impl Future + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(rx) = shared.wait_readiness() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match shared.wait_readiness() { Some(rx) => { [INFO] [stdout] 199 | Either::Left(Either::Left(async move { [INFO] [stdout] ... [INFO] [stdout] 204 | })) [INFO] [stdout] 205 ~ } _ => { [INFO] [stdout] 206 | Either::Left(Either::Right(Self::send_at_least_once_inner(packet, shared))) [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 229 | idx [INFO] [stdout] 230 ~ } _ => { [INFO] [stdout] 231 | let idx = shared.next_id(); [INFO] [stdout] 232 | packet.packet_id = Some(idx); [INFO] [stdout] 233 | idx [INFO] [stdout] 234 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v3/sink.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 252 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 253 | idx [INFO] [stdout] 254 ~ } _ => { [INFO] [stdout] 255 | let idx = shared.next_id(); [INFO] [stdout] 256 | packet.packet_id = Some(idx); [INFO] [stdout] 257 | idx [INFO] [stdout] 258 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | else if let Some(ref alias) = req.packet().properties.topic_alias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ else { match req.packet().properties.topic_alias { Some(ref alias) => { [INFO] [stdout] 270 | let aliases = aliases.borrow(); [INFO] [stdout] ... [INFO] [stdout] 277 | } [INFO] [stdout] 278 ~ } _ => { [INFO] [stdout] 279 | return Either::Right(Ready::<_, Err>::Ok(Either::Left(req))); [INFO] [stdout] 280 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if let Some((idx, _info)) = router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 258 ~ match router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 259 | // save info for topic alias [INFO] [stdout] ... [INFO] [stdout] 263 | *idx [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | return Either::Right(Ready::<_, Err>::Ok(Either::Left(req))); [INFO] [stdout] 266 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(item) = aliases.get(alias) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/connection.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 271 ~ match aliases.get(alias) { Some(item) => { [INFO] [stdout] 272 | *req.topic_mut() = item.1.clone(); [INFO] [stdout] 273 | item.0 [INFO] [stdout] 274 ~ } _ => { [INFO] [stdout] 275 | log::error!("Unknown topic alias: {:?}", alias); [INFO] [stdout] 276 | return Either::Right(Ready::<_, Err>::Ok(Either::Left(req))); [INFO] [stdout] 277 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(alias) = publish.properties.topic_alias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match publish.properties.topic_alias { Some(alias) => { [INFO] [stdout] 163 | if publish.topic.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 211 | } [INFO] [stdout] 212 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Publish(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 226 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet)) { Err(err) => { [INFO] [stdout] 227 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 228 ~ } _ => { [INFO] [stdout] 229 | Ok(None) [INFO] [stdout] 230 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Subscribe(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.inner.sink.pkt_ack(Ack::Subscribe(packet)) { Err(err) => { [INFO] [stdout] 234 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 235 ~ } _ => { [INFO] [stdout] 236 | Ok(None) [INFO] [stdout] 237 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Unsubscribe(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/client/dispatcher.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match self.inner.sink.pkt_ack(Ack::Unsubscribe(packet)) { Err(err) => { [INFO] [stdout] 241 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 242 ~ } _ => { [INFO] [stdout] 243 | Ok(None) [INFO] [stdout] 244 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/dispatcher.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | if let Err(err) = self.inner.sink.pkt_ack(Ack::Publish(packet)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/dispatcher.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 328 ~ match self.inner.sink.pkt_ack(Ack::Publish(packet)) { Err(err) => { [INFO] [stdout] 329 | control(Control::proto_error(err), &self.inner, ctx, 0).await [INFO] [stdout] 330 ~ } _ => { [INFO] [stdout] 331 | Ok(None) [INFO] [stdout] 332 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/router.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | else if let Some(ref alias) = req.packet().properties.topic_alias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/router.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ else { match req.packet().properties.topic_alias { Some(ref alias) => { [INFO] [stdout] 150 | let aliases = self.aliases.borrow(); [INFO] [stdout] ... [INFO] [stdout] 158 | } [INFO] [stdout] 159 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/router.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some((idx, _info)) = self.router.recognize(req.topic_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/router.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match self.router.recognize(req.topic_mut()) { Some((idx, _info)) => { [INFO] [stdout] 141 | // save info for topic alias [INFO] [stdout] ... [INFO] [stdout] 145 | return ctx.call(&self.handlers[*idx], req).await; [INFO] [stdout] 146 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/router.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(item) = aliases.get(alias) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/router.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match aliases.get(alias) { Some(item) => { [INFO] [stdout] 152 | let idx = item.0; [INFO] [stdout] ... [INFO] [stdout] 155 | return ctx.call(&self.handlers[idx], req).await; [INFO] [stdout] 156 ~ } _ => { [INFO] [stdout] 157 | log::error!("Unknown topic alias: {:?}", alias); [INFO] [stdout] 158 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(cb) = self.on_publish_ack.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match self.on_publish_ack.take() { Some(cb) => { [INFO] [stdout] 174 | for (idx, tx, _) in queues.inflight.drain(..) { [INFO] [stdout] ... [INFO] [stdout] 178 | } [INFO] [stdout] 179 ~ } _ => { [INFO] [stdout] 180 | queues.inflight.clear() [INFO] [stdout] 181 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match queues.waiters.pop_front() { Some(tx) => { [INFO] [stdout] 201 | if tx.send(()).is_ok() { [INFO] [stdout] 202 | num -= 1; [INFO] [stdout] 203 | } [INFO] [stdout] 204 ~ } _ => { [INFO] [stdout] 205 | break; [INFO] [stdout] 206 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | if let Some((idx, tx, tp)) = queues.inflight.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 225 ~ match queues.inflight.pop_front() { Some((idx, tx, tp)) => { [INFO] [stdout] 226 | if idx != pkt.packet_id() { [INFO] [stdout] ... [INFO] [stdout] 263 | } [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | log::trace!("Unexpected PublishAck packet"); [INFO] [stdout] ... [INFO] [stdout] 268 | )) [INFO] [stdout] 269 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(tx) = tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match tx { Some(tx) => { [INFO] [stdout] 242 | let _ = tx.send(pkt); [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | let cb = self.on_publish_ack.take().unwrap(); [INFO] [stdout] 245 | (*cb)(pkt.publish(), false); [INFO] [stdout] 246 | self.on_publish_ack.set(Some(cb)); [INFO] [stdout] 247 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:250:27 [INFO] [stdout] | [INFO] [stdout] 250 | while let Some(tx) = queues.waiters.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | if let Ack::Publish(pkt) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ match self { Ack::Publish(pkt) => { [INFO] [stdout] 400 | pkt [INFO] [stdout] 401 ~ } _ => { [INFO] [stdout] 402 | panic!() [INFO] [stdout] 403 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if let Ack::Subscribe(pkt) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match self { Ack::Subscribe(pkt) => { [INFO] [stdout] 408 | pkt [INFO] [stdout] 409 ~ } _ => { [INFO] [stdout] 410 | panic!() [INFO] [stdout] 411 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | if let Ack::Unsubscribe(pkt) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/shared.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 415 ~ match self { Ack::Unsubscribe(pkt) => { [INFO] [stdout] 416 | pkt [INFO] [stdout] 417 ~ } _ => { [INFO] [stdout] 418 | panic!() [INFO] [stdout] 419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/v5/sink.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/v5/sink.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ready(&self) -> impl Future { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ready(&self) -> impl Future + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(rx) = shared.wait_readiness() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match shared.wait_readiness() { Some(rx) => { [INFO] [stdout] 244 | Either::Left(Either::Left(async move { [INFO] [stdout] ... [INFO] [stdout] 249 | })) [INFO] [stdout] 250 ~ } _ => { [INFO] [stdout] 251 | Either::Left(Either::Right(Self::send_at_least_once_inner(packet, shared))) [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 273 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 273 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 274 | idx [INFO] [stdout] 275 ~ } _ => { [INFO] [stdout] 276 | let idx = shared.next_id(); [INFO] [stdout] 277 | packet.packet_id = Some(idx); [INFO] [stdout] 278 | idx [INFO] [stdout] 279 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | let idx = if let Some(idx) = packet.packet_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/v5/sink.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 297 ~ let idx = match packet.packet_id { Some(idx) => { [INFO] [stdout] 298 | idx [INFO] [stdout] 299 ~ } _ => { [INFO] [stdout] 300 | let idx = shared.next_id(); [INFO] [stdout] 301 | packet.packet_id = Some(idx); [INFO] [stdout] 302 | idx [INFO] [stdout] 303 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | if let Err(err) = io.encode(item, codec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match io.encode(item, codec) { Err(err) => { [INFO] [stdout] 194 | self.error = Some(IoDispatcherError::Encoder(err)); [INFO] [stdout] 195 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | while let Some(item) = self.queue.front_mut().and_then(|v| v.take()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | if let Err(err) = io.encode(item, codec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match io.encode(item, codec) { Err(err) => { [INFO] [stdout] 210 | self.error = Some(IoDispatcherError::Encoder(err)); [INFO] [stdout] 211 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if let Poll::Ready(item) = Pin::new(fut).poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match Pin::new(fut).poll(cx) { Poll::Ready(item) => { [INFO] [stdout] 241 | inner.state.borrow_mut().handle_result( [INFO] [stdout] ... [INFO] [stdout] 248 | inner.response = None; [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:269:40 [INFO] [stdout] | [INFO] [stdout] 269 | ... if let Some(el) = decoded.item { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match decoded.item { Some(el) => { [INFO] [stdout] 270 | DispatchItem::Item(el) [INFO] [stdout] 271 ~ } _ => { [INFO] [stdout] 272 | return Poll::Pending; [INFO] [stdout] 273 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:284:40 [INFO] [stdout] | [INFO] [stdout] 284 | ... if let Err(err) = inner.handle_timeout() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 284 ~ match inner.handle_timeout() { Err(err) => { [INFO] [stdout] 285 | inner.st = IoDispatcherState::Stop; [INFO] [stdout] 286 | err [INFO] [stdout] 287 ~ } _ => { [INFO] [stdout] 288 | continue; [INFO] [stdout] 289 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | let item = if let Err(err) = ready!(inner.io.poll_flush(cx, false)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | } else { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:372:32 [INFO] [stdout] | [INFO] [stdout] 372 | ... if let Some(IoDispatcherError::Service(err)) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 373 | | ... inner.state.borrow_mut().error.take() [INFO] [stdout] | |___________________________------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 372 ~ match inner.state.borrow_mut().error.take() [INFO] [stdout] 373 ~ { Some(IoDispatcherError::Service(err)) => { [INFO] [stdout] 374 | Err(err) [INFO] [stdout] 375 ~ } _ => { [INFO] [stdout] 376 | Ok(()) [INFO] [stdout] 377 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:401:16 [INFO] [stdout] | [INFO] [stdout] 401 | if let Poll::Ready(res) = Pin::new(&mut fut).poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 401 ~ match Pin::new(&mut fut).poll(cx) { Poll::Ready(res) => { [INFO] [stdout] 402 | // check if current result is only response [INFO] [stdout] ... [INFO] [stdout] 418 | } [INFO] [stdout] 419 ~ } _ => { [INFO] [stdout] 420 | self.response = Some(fut); [INFO] [stdout] 421 | self.response_idx = state.base.wrapping_add(state.queue.len()); [INFO] [stdout] 422 | state.queue.push_back(ServiceResult::Pending); [INFO] [stdout] 423 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:409:32 [INFO] [stdout] | [INFO] [stdout] 409 | ... if let Err(err) = self.io.encode(item, &self.codec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match self.io.encode(item, &self.codec) { Err(err) => { [INFO] [stdout] 410 | state.error = Some(IoDispatcherError::Encoder(err)); [INFO] [stdout] 411 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:445:32 [INFO] [stdout] | [INFO] [stdout] 445 | Poll::Ready(if let Some(err) = state.error.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ Poll::Ready(match state.error.take() { Some(err) => { [INFO] [stdout] 446 | log::trace!("{}: Error occured, stopping dispatcher", self.io.tag()); [INFO] [stdout] ... [INFO] [stdout] 456 | } [INFO] [stdout] 457 ~ } _ => { [INFO] [stdout] 458 | PollService::Ready [INFO] [stdout] 459 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:669:20 [INFO] [stdout] | [INFO] [stdout] 669 | if let DispatchItem::Item(msg) = msg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:671:17 [INFO] [stdout] | [INFO] [stdout] 671 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 669 ~ match msg { DispatchItem::Item(msg) => { [INFO] [stdout] 670 | Ok::<_, ()>(Some(msg.freeze())) [INFO] [stdout] 671 ~ } _ => { [INFO] [stdout] 672 | panic!() [INFO] [stdout] 673 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:708:24 [INFO] [stdout] | [INFO] [stdout] 708 | if let DispatchItem::Item(msg) = msg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:710:21 [INFO] [stdout] | [INFO] [stdout] 710 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 708 ~ match msg { DispatchItem::Item(msg) => { [INFO] [stdout] 709 | Ok::<_, ()>(Some(msg.freeze())) [INFO] [stdout] 710 ~ } _ => { [INFO] [stdout] 711 | panic!() [INFO] [stdout] 712 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io.rs:744:20 [INFO] [stdout] | [INFO] [stdout] 744 | if let DispatchItem::Item(msg) = msg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io.rs:746:17 [INFO] [stdout] | [INFO] [stdout] 746 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 744 ~ match msg { DispatchItem::Item(msg) => { [INFO] [stdout] 745 | Ok::<_, ()>(Some(msg.freeze())) [INFO] [stdout] 746 ~ } _ => { [INFO] [stdout] 747 | panic!() [INFO] [stdout] 748 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.21s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ntex-mqtt v3.1.0 (/tmp/fixit) [INFO] [stdout] error[E0505]: cannot move out of `sink` because it is borrowed [INFO] [stdout] --> tests/test_server.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 640 | let sink = packet.sink(); [INFO] [stdout] | ---- binding `sink` declared here [INFO] [stdout] 641 | let mut ready = Box::pin(sink.ready()); [INFO] [stdout] | ---- borrow of `sink` occurs here [INFO] [stdout] ... [INFO] [stdout] 646 | ntex::rt::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ move out of `sink` occurs here [INFO] [stdout] 647 | sink.ready().await; [INFO] [stdout] | ---- move occurs due to use in coroutine [INFO] [stdout] ... [INFO] [stdout] 653 | })) [INFO] [stdout] | - borrow might be used here, when `ready` is dropped and runs the destructor for type `Pin>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-mqtt` (test "test_server") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0505]: cannot move out of `sink` because it is borrowed [INFO] [stdout] --> tests/test_server_v5.rs:1161:29 [INFO] [stdout] | [INFO] [stdout] 1155 | let sink = packet.sink(); [INFO] [stdout] | ---- binding `sink` declared here [INFO] [stdout] 1156 | let mut ready = Box::pin(sink.ready()); [INFO] [stdout] | ---- borrow of `sink` occurs here [INFO] [stdout] ... [INFO] [stdout] 1161 | ntex::rt::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ move out of `sink` occurs here [INFO] [stdout] 1162 | sink.ready().await; [INFO] [stdout] | ---- move occurs due to use in coroutine [INFO] [stdout] ... [INFO] [stdout] 1168 | })) [INFO] [stdout] | - borrow might be used here, when `ready` is dropped and runs the destructor for type `Pin>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-mqtt` (test "test_server_v5") due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "210e3c2711c5d54fd7195cb0d61943e5e9e31a93a1b63075ae8978d1b099b7e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210e3c2711c5d54fd7195cb0d61943e5e9e31a93a1b63075ae8978d1b099b7e2", kill_on_drop: false }` [INFO] [stdout] 210e3c2711c5d54fd7195cb0d61943e5e9e31a93a1b63075ae8978d1b099b7e2