[INFO] fetching crate srt-tokio 0.4.4... [INFO] checking srt-tokio-0.4.4 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate srt-tokio 0.4.4 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate srt-tokio 0.4.4 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate srt-tokio 0.4.4 [INFO] finished tweaking crates.io crate srt-tokio 0.4.4 [INFO] tweaked toml for crates.io crate srt-tokio 0.4.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate srt-tokio 0.4.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5685a7726f73f36254a8eebbb63f5cd02303176a82b9b9bfcc3a7dbfe679abee [INFO] running `Command { std: "docker" "start" "-a" "5685a7726f73f36254a8eebbb63f5cd02303176a82b9b9bfcc3a7dbfe679abee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5685a7726f73f36254a8eebbb63f5cd02303176a82b9b9bfcc3a7dbfe679abee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5685a7726f73f36254a8eebbb63f5cd02303176a82b9b9bfcc3a7dbfe679abee", kill_on_drop: false }` [INFO] [stdout] 5685a7726f73f36254a8eebbb63f5cd02303176a82b9b9bfcc3a7dbfe679abee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] befa43521a408256e249b62bc8f9c8c6c6dc7f21136a5c6ef021bdd6aabffb03 [INFO] running `Command { std: "docker" "start" "-a" "befa43521a408256e249b62bc8f9c8c6c6dc7f21136a5c6ef021bdd6aabffb03", 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 libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking take-until v0.2.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking keyed_priority_queue v0.4.2 [INFO] [stderr] Checking streaming-stats v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking srt-protocol v0.4.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking srt-tokio v0.4.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `srt_tokio` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/listener/mod.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: ambiguous `+` in a type [INFO] [stderr] --> src/listener/mod.rs:91:40 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn incoming(&mut self) -> &mut impl Stream + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 91 | pub fn incoming(&mut self) -> &mut (impl Stream + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl futures::Stream + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/listener/mod.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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/listener/mod.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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] 80 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone + use<>) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/listener/mod.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn incoming(&mut self) -> &mut impl Stream { [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/listener/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn incoming(&mut self) -> &mut impl Stream { [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] 91 | pub fn incoming(&mut self) -> &mut impl Stream + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/listener/state.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(packet) = 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/listener/state.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } 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] 133 ~ match packet { Some(packet) => { [INFO] [stdout] 134 | self.socket.send(packet).await.ok().ok_or(()) [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | Ok(0) [INFO] [stdout] 137 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream + Unpin` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | Pin<&mut Peekable + Unpin>>, [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/socket/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [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] 107 | Pin<&mut Peekable + Unpin + use<>>>, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Sink<(std::time::Instant, bytes::Bytes), Error = impl std::fmt::Debug> + Unpin` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug> + Unpin)>, [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/socket/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [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] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug> + Unpin + use<>)>, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Debug` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:108:55 [INFO] [stdout] | [INFO] [stdout] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug> + Unpin)>, [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/socket/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [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] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug + use<>> + Unpin)>, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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/socket/mod.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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] 122 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone + use<>) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/listen.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(packet) = 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/socket/listen.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 39 ~ match packet { Some(packet) => { [INFO] [stdout] 40 | let _ = socket.send(packet).await?; [INFO] [stdout] 41 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = socket.send(packet).await { [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/socket/factory.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match socket.send(packet).await { Err(e) => { [INFO] [stdout] 49 | error!("Error while sending packet: {:?}", e); // TODO: real error handling [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = output_data.send(data).await { [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/socket/factory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 57 ~ match output_data.send(data).await { Err(e) => { [INFO] [stdout] 58 | error!("Error while releasing packet {:?}", e); [INFO] [stdout] 59 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if let Err(e) = output_data.close().await { [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/socket/factory.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 91 ~ match output_data.close().await { Err(e) => { [INFO] [stdout] 92 | error!("Error while closing data output stream {:?}", e); [INFO] [stdout] 93 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = output_data.send(data).await { [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/socket/factory.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | } [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 output_data.send(data).await { Err(e) => { [INFO] [stdout] 110 | error!("Error while releasing data {:?}", e); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if let Err(e) = output_data.close().await { [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/socket/factory.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match output_data.close().await { Err(e) => { [INFO] [stdout] 139 | error!("Error while closing data output stream {:?}", e); [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/listener/state.rs:81:78 [INFO] [stdout] | [INFO] [stdout] 68 | let action = self.listener.handle_input(now, input); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `action` calls a custom destructor [INFO] [stdout] | `action` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | SendPacket(packet) => next.input_from(self.socket.send(packet).await), [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 80 | RequestAccess(session_id, request) => { [INFO] [stdout] 81 | next.input_from(self.request_access(session_id, request).await) [INFO] [stdout] | -----------------------------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 82 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] 83 | RejectConnection(session_id, packet) => { [INFO] [stdout] 84 | next.input_from(self.reject_connection(session_id, packet).await) [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | next.input_from(self.open_connection(session_id, connection).await) [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | next.input_from(self.delegate_packet(session_id, packet).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | next.input_from(self.drop_connection(session_id).await) [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | WaitForInput => select! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 99 | | packet = self.socket.receive().fuse() => Input::Packet(packet), [INFO] [stdout] 100 | | response = self.response_receiver.next() => Input::AccessResponse(response), [INFO] [stdout] 101 | | _ = timer_interval.tick().fuse() => Input::Timer, [INFO] [stdout] 102 | | _ = &mut self.close_recvr => break, [INFO] [stdout] 103 | | }, [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:906:1 [INFO] [stdout] | [INFO] [stdout] 906 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:1104:1 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `action` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:906:1 [INFO] [stdout] | [INFO] [stdout] 906 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:1104:1 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/listener/state.rs:84:80 [INFO] [stdout] | [INFO] [stdout] 68 | let action = self.listener.handle_input(now, input); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `action` calls a custom destructor [INFO] [stdout] | `action` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | SendPacket(packet) => next.input_from(self.socket.send(packet).await), [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 80 | RequestAccess(session_id, request) => { [INFO] [stdout] 81 | next.input_from(self.request_access(session_id, request).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | next.input_from(self.reject_connection(session_id, packet).await) [INFO] [stdout] | -------------------------------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 85 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] 86 | OpenConnection(session_id, connection) => { [INFO] [stdout] 87 | next.input_from(self.open_connection(session_id, connection).await) [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | next.input_from(self.delegate_packet(session_id, packet).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | next.input_from(self.drop_connection(session_id).await) [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | WaitForInput => select! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 99 | | packet = self.socket.receive().fuse() => Input::Packet(packet), [INFO] [stdout] 100 | | response = self.response_receiver.next() => Input::AccessResponse(response), [INFO] [stdout] 101 | | _ = timer_interval.tick().fuse() => Input::Timer, [INFO] [stdout] 102 | | _ = &mut self.close_recvr => break, [INFO] [stdout] 103 | | }, [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `action` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:906:1 [INFO] [stdout] | [INFO] [stdout] 906 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:1104:1 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/listener/state.rs:87:82 [INFO] [stdout] | [INFO] [stdout] 68 | let action = self.listener.handle_input(now, input); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `action` calls a custom destructor [INFO] [stdout] | `action` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | SendPacket(packet) => next.input_from(self.socket.send(packet).await), [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 80 | RequestAccess(session_id, request) => { [INFO] [stdout] 81 | next.input_from(self.request_access(session_id, request).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | next.input_from(self.reject_connection(session_id, packet).await) [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | next.input_from(self.open_connection(session_id, connection).await) [INFO] [stdout] | ---------------------------------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 88 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] 89 | DelegatePacket(session_id, packet) => { [INFO] [stdout] 90 | next.input_from(self.delegate_packet(session_id, packet).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | next.input_from(self.drop_connection(session_id).await) [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | WaitForInput => select! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 99 | | packet = self.socket.receive().fuse() => Input::Packet(packet), [INFO] [stdout] 100 | | response = self.response_receiver.next() => Input::AccessResponse(response), [INFO] [stdout] 101 | | _ = timer_interval.tick().fuse() => Input::Timer, [INFO] [stdout] 102 | | _ = &mut self.close_recvr => break, [INFO] [stdout] 103 | | }, [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `action` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:906:1 [INFO] [stdout] | [INFO] [stdout] 906 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:1104:1 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/listener/state.rs:90:78 [INFO] [stdout] | [INFO] [stdout] 68 | let action = self.listener.handle_input(now, input); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `action` calls a custom destructor [INFO] [stdout] | `action` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | SendPacket(packet) => next.input_from(self.socket.send(packet).await), [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 80 | RequestAccess(session_id, request) => { [INFO] [stdout] 81 | next.input_from(self.request_access(session_id, request).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | next.input_from(self.reject_connection(session_id, packet).await) [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | next.input_from(self.open_connection(session_id, connection).await) [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | next.input_from(self.delegate_packet(session_id, packet).await) [INFO] [stdout] | -----------------------------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] 91 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] 92 | DropConnection(session_id) => { [INFO] [stdout] 93 | next.input_from(self.drop_connection(session_id).await) [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | WaitForInput => select! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 99 | | packet = self.socket.receive().fuse() => Input::Packet(packet), [INFO] [stdout] 100 | | response = self.response_receiver.next() => Input::AccessResponse(response), [INFO] [stdout] 101 | | _ = timer_interval.tick().fuse() => Input::Timer, [INFO] [stdout] 102 | | _ = &mut self.close_recvr => break, [INFO] [stdout] 103 | | }, [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `action` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:906:1 [INFO] [stdout] | [INFO] [stdout] 906 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:1104:1 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/listener/state.rs:93:70 [INFO] [stdout] | [INFO] [stdout] 68 | let action = self.listener.handle_input(now, input); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `action` calls a custom destructor [INFO] [stdout] | `action` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | SendPacket(packet) => next.input_from(self.socket.send(packet).await), [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 80 | RequestAccess(session_id, request) => { [INFO] [stdout] 81 | next.input_from(self.request_access(session_id, request).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | next.input_from(self.reject_connection(session_id, packet).await) [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | next.input_from(self.open_connection(session_id, connection).await) [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | next.input_from(self.delegate_packet(session_id, packet).await) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | next.input_from(self.drop_connection(session_id).await) [INFO] [stdout] | ---------------------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] 94 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 98 | WaitForInput => select! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 99 | | packet = self.socket.receive().fuse() => Input::Packet(packet), [INFO] [stdout] 100 | | response = self.response_receiver.next() => Input::AccessResponse(response), [INFO] [stdout] 101 | | _ = timer_interval.tick().fuse() => Input::Timer, [INFO] [stdout] 102 | | _ = &mut self.close_recvr => break, [INFO] [stdout] 103 | | }, [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `action` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:906:1 [INFO] [stdout] | [INFO] [stdout] 906 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:1104:1 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/sync/watch.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/mpsc/mod.rs:943:1 [INFO] [stdout] | [INFO] [stdout] 943 | impl Drop for BoundedSenderInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/socket/factory.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | while let Some(packet) = connection.next_packet(Instant::now()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 48 | if let Err(e) = socket.send(packet).await { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/socket/factory.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = socket.send(packet).await { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | while let Some(data) = connection.next_data(Instant::now()) { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `data` calls a custom destructor [INFO] [stdout] | `data` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | if let Err(e) = output_data.send(data).await { [INFO] [stdout] | -----------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 73 | let input = select! { [INFO] [stdout] | _________________-----___- [INFO] [stdout] | | | [INFO] [stdout] | | `input` calls a custom destructor [INFO] [stdout] | | `input` will be dropped later as of Edition 2024 [INFO] [stdout] 74 | | // one of the entities requested wakeup [INFO] [stdout] 75 | | _ = timeout_fut.fuse() => Input::Timer, [INFO] [stdout] 76 | | // new packet received [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | }; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_1` calls a custom destructor [INFO] [stdout] | | `_1` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `input` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `_0` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/time/entry.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | impl Drop for TimerEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/socket/factory.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | while let Some(data) = connection.next_data(Instant::now()) { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `data` calls a custom destructor [INFO] [stdout] | `data` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | if let Err(e) = output_data.send(data).await { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/socket/factory.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 107 | Action::ReleaseData(data) => { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `data` calls a custom destructor [INFO] [stdout] | `data` will be dropped later as of Edition 2024 [INFO] [stdout] 108 | if !output_data.is_closed() { [INFO] [stdout] 109 | if let Err(e) = output_data.send(data).await { [INFO] [stdout] | -----------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 116 | if let Err(e) = socket.send(packet).await { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | / select! { [INFO] [stdout] 128 | | _ = sleep_until(timeout.into()).fuse() => Input::Timer, [INFO] [stdout] 129 | | packet = socket.receive().fuse() => [INFO] [stdout] 130 | | Input::Packet(packet), [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_1` calls a custom destructor [INFO] [stdout] | | `_1` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `_0` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/time/entry.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | impl Drop for TimerEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/socket/factory.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | input = match connection.handle_input(now, input) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 106 | Action::Close => break, [INFO] [stdout] 107 | Action::ReleaseData(data) => { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `data` calls a custom destructor [INFO] [stdout] | `data` will be dropped later as of Edition 2024 [INFO] [stdout] 108 | if !output_data.is_closed() { [INFO] [stdout] 109 | if let Err(e) = output_data.send(data).await { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | if let Err(e) = socket.send(packet).await { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | / select! { [INFO] [stdout] 128 | | _ = sleep_until(timeout.into()).fuse() => Input::Timer, [INFO] [stdout] 129 | | packet = socket.receive().fuse() => [INFO] [stdout] 130 | | Input::Packet(packet), [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__select_result` calls a custom destructor [INFO] [stdout] | | `__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_0` calls a custom destructor [INFO] [stdout] | | `_0` will be dropped later as of Edition 2024 [INFO] [stdout] | | `_1` calls a custom destructor [INFO] [stdout] | | `_1` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `_0` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/time/entry.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | impl Drop for TimerEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/single_packet_tsbpd.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `srt_tokio` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/listener/mod.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: ambiguous `+` in a type [INFO] [stderr] --> src/listener/mod.rs:91:40 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn incoming(&mut self) -> &mut impl Stream + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 91 | pub fn incoming(&mut self) -> &mut (impl Stream + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl futures::Stream + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/listener/mod.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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/listener/mod.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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] 80 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone + use<>) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/listener/mod.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn incoming(&mut self) -> &mut impl Stream { [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/listener/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn incoming(&mut self) -> &mut impl Stream { [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] 91 | pub fn incoming(&mut self) -> &mut impl Stream + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/listener/state.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(packet) = 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/listener/state.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } 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] 133 ~ match packet { Some(packet) => { [INFO] [stdout] 134 | self.socket.send(packet).await.ok().ok_or(()) [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | Ok(0) [INFO] [stdout] 137 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream + Unpin` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | Pin<&mut Peekable + Unpin>>, [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/socket/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [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] 107 | Pin<&mut Peekable + Unpin + use<>>>, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Sink<(std::time::Instant, bytes::Bytes), Error = impl std::fmt::Debug> + Unpin` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug> + Unpin)>, [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/socket/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [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] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug> + Unpin + use<>)>, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Debug` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:108:55 [INFO] [stdout] | [INFO] [stdout] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug> + Unpin)>, [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/socket/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [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] 108 | Pin<&mut (impl Sink<(Instant, Bytes), Error = impl Debug + use<>> + Unpin)>, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/socket/mod.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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/socket/mod.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [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] 122 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone + use<>) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/listen.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(packet) = 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/socket/listen.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 39 ~ match packet { Some(packet) => { [INFO] [stdout] 40 | let _ = socket.send(packet).await?; [INFO] [stdout] 41 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = socket.send(packet).await { [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/socket/factory.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match socket.send(packet).await { Err(e) => { [INFO] [stdout] 49 | error!("Error while sending packet: {:?}", e); // TODO: real error handling [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = output_data.send(data).await { [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/socket/factory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 57 ~ match output_data.send(data).await { Err(e) => { [INFO] [stdout] 58 | error!("Error while releasing packet {:?}", e); [INFO] [stdout] 59 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if let Err(e) = output_data.close().await { [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/socket/factory.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 91 ~ match output_data.close().await { Err(e) => { [INFO] [stdout] 92 | error!("Error while closing data output stream {:?}", e); [INFO] [stdout] 93 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = output_data.send(data).await { [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/socket/factory.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | } [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 output_data.send(data).await { Err(e) => { [INFO] [stdout] 110 | error!("Error while releasing data {:?}", e); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/socket/factory.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if let Err(e) = output_data.close().await { [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/socket/factory.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match output_data.close().await { Err(e) => { [INFO] [stdout] 139 | error!("Error while closing data output stream {:?}", e); [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/multiplexer.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/accesscontrol_server.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/invalid_packets.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/invalid_packets.rs (1 fix) [INFO] [stderr] Migrating tests/rendezvous.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/crypto.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/no_timeout.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/latency_exchange.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/ts_streamer.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/keepalive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/high_bandwidth.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/multiplex_authenticating_server.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/stransmit_interop.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/stransmit_interop.rs (3 fixes) [INFO] [stderr] Migrating tests/message_splitting.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/bidirectional.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/multiplex.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/sender.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/srt2dash_ffmpeg.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/accesscontrol_client.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/accesscontrol.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/accesscontrol.rs (1 fix) [INFO] [stderr] Migrating examples/receiver.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/simple.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.76s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking srt-tokio v0.4.4 (/tmp/fixit) [INFO] [stdout] error[E0605]: non-primitive cast: `Result<(), _>` as `Result` [INFO] [stdout] --> tests/message_splitting.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(()) as Result<_> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0605`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srt-tokio` (test "message_splitting") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0499]: cannot borrow `sock` as mutable more than once at a time [INFO] [stdout] --> tests/high_bandwidth.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 84 | let mut statistics = sock.get_mut().statistics().clone().fuse(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 93 | message = sock.next() => Message(message.unwrap().unwrap()), [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] 94 | statistics = statistics.next() => Statistics(statistics.unwrap()), [INFO] [stdout] | ---------- first borrow later used here [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> tests/high_bandwidth.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let mut statistics = sock.get_mut().statistics().clone().fuse(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use<>` [INFO] [stdout] --> /tmp/fixit/src/socket/mod.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn statistics(&mut self) -> &mut (impl Stream + Clone) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srt-tokio` (test "high_bandwidth") due to 1 previous error [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" "befa43521a408256e249b62bc8f9c8c6c6dc7f21136a5c6ef021bdd6aabffb03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befa43521a408256e249b62bc8f9c8c6c6dc7f21136a5c6ef021bdd6aabffb03", kill_on_drop: false }` [INFO] [stdout] befa43521a408256e249b62bc8f9c8c6c6dc7f21136a5c6ef021bdd6aabffb03