[INFO] fetching crate socks-hub 0.1.14... [INFO] checking socks-hub-0.1.14 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate socks-hub 0.1.14 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate socks-hub 0.1.14 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate socks-hub 0.1.14 [INFO] finished tweaking crates.io crate socks-hub 0.1.14 [INFO] tweaked toml for crates.io crate socks-hub 0.1.14 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate socks-hub 0.1.14 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e84216afc7be78633823db76530d5edb8099fe654471fbf8116136202618ae2 [INFO] running `Command { std: "docker" "start" "-a" "9e84216afc7be78633823db76530d5edb8099fe654471fbf8116136202618ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e84216afc7be78633823db76530d5edb8099fe654471fbf8116136202618ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e84216afc7be78633823db76530d5edb8099fe654471fbf8116136202618ae2", kill_on_drop: false }` [INFO] [stdout] 9e84216afc7be78633823db76530d5edb8099fe654471fbf8116136202618ae2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8095ee641dae44ec1be5dd8f220c8aec5a4ba3e3b722fce406adaf8f6240ab07 [INFO] running `Command { std: "docker" "start" "-a" "8095ee641dae44ec1be5dd8f220c8aec5a4ba3e3b722fce406adaf8f6240ab07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking as-any v0.3.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking iprange v0.6.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking ctrlc2 v3.5.7 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking socks5-impl v0.5.12 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking socks-hub v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http2socks.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn main_entry(config: &Config, mut quit: Receiver<()>, callback: Option) -> Result<(), BoxError> [INFO] [stdout] | -------- -------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let listener = TcpListener::bind(listen_addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | / tokio::select! { [INFO] [stdout] 44 | | _ = quit.recv() => { [INFO] [stdout] 45 | | log::info!("quit signal received"); [INFO] [stdout] 46 | | break; [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http2socks.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn main_entry(config: &Config, mut quit: Receiver<()>, callback: Option) -> Result<(), BoxError> [INFO] [stdout] | -------- -------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let listener = TcpListener::bind(listen_addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | / tokio::select! { [INFO] [stdout] 44 | | _ = quit.recv() => { [INFO] [stdout] 45 | | log::info!("quit signal received"); [INFO] [stdout] 46 | | break; [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Server` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks2socks.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 53 | mut quit: Receiver<()>, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | callback: Option, [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let listener = Server::bind(listen_addr, auth).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | / tokio::select! { [INFO] [stdout] 68 | | _ = quit.recv() => { [INFO] [stdout] 69 | | log::info!("quit signal received"); [INFO] [stdout] 70 | | break; [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `socks5_impl::server::UdpAssociate` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks2socks.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut reply_listener = associate.reply(Reply::Succeeded, s5_listen_addr).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | / tokio::select! { [INFO] [stdout] 181 | | res = async { [INFO] [stdout] 182 | | let buf_size = MAX_UDP_RELAY_PACKET_SIZE - UdpHeader::max_serialized_len(); [INFO] [stdout] 183 | | listen_udp.set_max_packet_size(buf_size); [INFO] [stdout] ... | [INFO] [stdout] 215 | | }, [INFO] [stdout] 216 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Server` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks2socks.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 53 | mut quit: Receiver<()>, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | callback: Option, [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let listener = Server::bind(listen_addr, auth).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | / tokio::select! { [INFO] [stdout] 68 | | _ = quit.recv() => { [INFO] [stdout] 69 | | log::info!("quit signal received"); [INFO] [stdout] 70 | | break; [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `socks5_impl::server::UdpAssociate` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks2socks.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut reply_listener = associate.reply(Reply::Succeeded, s5_listen_addr).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | / tokio::select! { [INFO] [stdout] 181 | | res = async { [INFO] [stdout] 182 | | let buf_size = MAX_UDP_RELAY_PACKET_SIZE - UdpHeader::max_serialized_len(); [INFO] [stdout] 183 | | listen_udp.set_max_packet_size(buf_size); [INFO] [stdout] ... | [INFO] [stdout] 215 | | }, [INFO] [stdout] 216 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 15 | let block = async move { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | match tokio::runtime::Builder::new_multi_thread().enable_all().build() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::sync::MutexGuard<'_, std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dump_logger.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 69 | let c_msg = std::ffi::CString::new(msg).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let ptr = c_msg.as_ptr(); [INFO] [stdout] 71 | if let Some(cb) = DUMP_CALLBACK.lock().unwrap().clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/api.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | if unsafe { TUN_QUIT.is_some() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/api.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | let res = match unsafe { TUN_QUIT.take() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `socks-hub` (lib) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 15 | let block = async move { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | match tokio::runtime::Builder::new_multi_thread().enable_all().build() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::sync::MutexGuard<'_, std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dump_logger.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 69 | let c_msg = std::ffi::CString::new(msg).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let ptr = c_msg.as_ptr(); [INFO] [stdout] 71 | if let Some(cb) = DUMP_CALLBACK.lock().unwrap().clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/api.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | if unsafe { TUN_QUIT.is_some() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/api.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | let res = match unsafe { TUN_QUIT.take() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `socks-hub` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8095ee641dae44ec1be5dd8f220c8aec5a4ba3e3b722fce406adaf8f6240ab07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8095ee641dae44ec1be5dd8f220c8aec5a4ba3e3b722fce406adaf8f6240ab07", kill_on_drop: false }` [INFO] [stdout] 8095ee641dae44ec1be5dd8f220c8aec5a4ba3e3b722fce406adaf8f6240ab07