[INFO] fetching crate shoes 0.1.2... [INFO] checking shoes-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate shoes 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate shoes 0.1.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shoes 0.1.2 [INFO] finished tweaking crates.io crate shoes 0.1.2 [INFO] tweaked toml for crates.io crate shoes 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate shoes 0.1.2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e23f544870ddbe64e4dd52d0b3f43d543672fa82ffde858ac2c8f4fd3f5e526 [INFO] running `Command { std: "docker" "start" "-a" "0e23f544870ddbe64e4dd52d0b3f43d543672fa82ffde858ac2c8f4fd3f5e526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e23f544870ddbe64e4dd52d0b3f43d543672fa82ffde858ac2c8f4fd3f5e526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e23f544870ddbe64e4dd52d0b3f43d543672fa82ffde858ac2c8f4fd3f5e526", kill_on_drop: false }` [INFO] [stdout] 0e23f544870ddbe64e4dd52d0b3f43d543672fa82ffde858ac2c8f4fd3f5e526 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d900dad98de2eec40b225d0b04f53794b45a0cf38f39d8c1a1363852bad5472 [INFO] running `Command { std: "docker" "start" "-a" "9d900dad98de2eec40b225d0b04f53794b45a0cf38f39d8c1a1363852bad5472", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling blake3 v1.4.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking argon2 v0.5.2 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking cfb-mode v0.7.1 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.101.4 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking quinn-proto v0.10.4 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking shoes v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/address.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | Address::Hostname(ref d) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/address.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | Address::Hostname(ref d) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/quic_stream.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quic_stream.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quic_stream.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/shadowsocks/shadowsocks_stream.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/quic_stream.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quic_stream.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quic_stream.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/udp_direct_message_stream.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | fn poll_flush_message(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/udp_direct_message_stream.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/udp_direct_message_stream.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | fn poll_write_ping(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/shadowsocks/shadowsocks_stream.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/udp_direct_message_stream.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | fn poll_flush_message(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/udp_direct_message_stream.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/udp_direct_message_stream.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | fn poll_write_ping(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_unspecified` is never used [INFO] [stdout] --> src/address.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl NetLocation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_unspecified(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_none` is never used [INFO] [stdout] --> src/option_util.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl NoneOrOne { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_unspecified`, `as_option`, `into_option`, `into_iter`, and `filter` are never used [INFO] [stdout] --> src/option_util.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl NoneOrSome { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 75 | pub fn is_unspecified(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn as_option(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn into_option(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn into_iter(self) -> Box> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn filter(self, f: F) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/option_util.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl OneOrSome { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn contains(&self, x: &T) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_handler.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 42 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 44 | | let mut line_reader = LineReader::new(); [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | let line = line_reader.read_line(&mut server_stream).await?; [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_handler.rs:322:48 [INFO] [stdout] | [INFO] [stdout] 320 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | remote_location: NetLocation, [INFO] [stdout] 322 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 323 | | // TODO: clean this up [INFO] [stdout] 324 | | let mut connect_str = match remote_location.address() { [INFO] [stdout] 325 | | Address::Ipv6(addr) => { [INFO] [stdout] ... | [INFO] [stdout] 367 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 368 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/port_forward_handler.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 29 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 31 | | let location = if self.targets.len() == 1 { [INFO] [stdout] 32 | | &self.targets[0] [INFO] [stdout] 33 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 45 | | }) [INFO] [stdout] 46 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resolver.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = result.map(|r| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | r.filter(|addr| !addr.ip().is_unspecified()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rustls_util.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | for item in std::iter::from_fn(|| rustls_pemfile::read_one(&mut reader).transpose()) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rustls_util.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | for item in std::iter::from_fn(|| rustls_pemfile::read_one(&mut reader).transpose()) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_stream.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 92 | stream: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | key: Arc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | salt_checker: Option>>, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let unprocessed_buf = allocate_vec(max_packet_len).into_boxed_slice(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | // Be able to store a full payload. [INFO] [stdout] 105 | let processed_buf = allocate_vec(max_payload_len).into_boxed_slice(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | // Set the write cache to exactly the size of 1 full packet. [INFO] [stdout] 107 | let write_cache = allocate_vec(max_packet_len).into_boxed_slice(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | let mut encrypt_iv = allocate_vec(salt_len).into_boxed_slice(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let session_key = key.create_session_key(&encrypt_iv); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | decrypt_iv: None, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 37 | let key: Arc> = Arc::new(Box::new(DefaultKey::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | salt_checker: None, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 51 | let key: Arc> = Arc::new(Box::new(Blake3Key::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | salt_checker: Some(Arc::new(Mutex::new(TimedSaltChecker::new(60)))), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 68 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 70 | | let stream_type = if self.aead2022 { [INFO] [stdout] 71 | | ShadowsocksStreamType::AEAD2022Server [INFO] [stdout] 72 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 115 | | }) [INFO] [stdout] 116 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 124 | client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | remote_location: NetLocation, [INFO] [stdout] 126 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 127 | | let stream_type = if self.aead2022 { [INFO] [stdout] 128 | | ShadowsocksStreamType::AEAD2022Client [INFO] [stdout] 129 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 164 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 165 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snell_handler.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 82 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 84 | | let mut server_stream = ShadowsocksStream::new( [INFO] [stdout] 85 | | server_stream, [INFO] [stdout] 86 | | ShadowsocksStreamType::AEAD, [INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] 180 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snell_handler.rs:190:48 [INFO] [stdout] | [INFO] [stdout] 188 | client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | remote_location: NetLocation, [INFO] [stdout] 190 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 191 | | let mut client_stream: Box = Box::new(ShadowsocksStream::new( [INFO] [stdout] 192 | | client_stream, [INFO] [stdout] 193 | | ShadowsocksStreamType::AEAD, [INFO] [stdout] ... | [INFO] [stdout] 238 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 239 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snell_udp_stream.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | Poll::Ready(Ok(location)) [INFO] [stdout] | ^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks_handler.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 46 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | let mut data = [0u8; 2]; [INFO] [stdout] 49 | | server_stream.read_exact(&mut data).await?; [INFO] [stdout] ... | [INFO] [stdout] 208 | | }) [INFO] [stdout] 209 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks_handler.rs:255:48 [INFO] [stdout] | [INFO] [stdout] 253 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | remote_location: NetLocation, [INFO] [stdout] 255 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 256 | | client_stream.write_all(&self.prefix_data).await?; [INFO] [stdout] 257 | | write_location(&mut client_stream, &remote_location).await?; [INFO] [stdout] 258 | | client_stream.flush().await?; [INFO] [stdout] ... | [INFO] [stdout] 299 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 300 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp_client_connector.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_from(client_config: ClientConfig) -> Option { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let transport_config = match client_config.transport { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let mut quic_client_config = [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let mut transport_config = quinn::TransportConfig::default(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut endpoints = Vec::with_capacity(endpoints_len); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let udp_socket = match new_udp_socket( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(s) => s, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let udp_socket = udp_socket.into_std().unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | [INFO] [stdout] 112 | let mut endpoint = quinn::Endpoint::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 141 | | bind_interface: client_config.bind_interface.clone().into_option(), [INFO] [stdout] 142 | | location: client_config.address, [INFO] [stdout] 143 | | transport_config, [INFO] [stdout] ... | [INFO] [stdout] 151 | | }, [INFO] [stdout] 152 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp_handler_util.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(sni, config)| (sni, create_tls_server_target(config, rules_stack))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls_handler.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 38 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 40 | | let acceptor = LazyConfigAcceptor::new(rustls::server::Acceptor::default(), server_stream); [INFO] [stdout] 41 | | let start_handshake = acceptor.await?; [INFO] [stdout] 42 | | let client_hello = start_handshake.client_hello(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | return target_setup_result; [INFO] [stdout] 91 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls_handler.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 120 | client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | remote_location: NetLocation, [INFO] [stdout] 122 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 123 | | let connector: tokio_rustls::TlsConnector = self.client_config.clone().into(); [INFO] [stdout] 124 | | let tls_stream = Box::new( [INFO] [stdout] 125 | | connector [INFO] [stdout] ... | [INFO] [stdout] 134 | | .await [INFO] [stdout] 135 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trojan_handler.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 58 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 60 | | if let Some(ShadowsocksData { [INFO] [stdout] 61 | | ref cipher, [INFO] [stdout] 62 | | ref key, [INFO] [stdout] ... | [INFO] [stdout] 132 | | }) [INFO] [stdout] 133 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trojan_handler.rs:145:48 [INFO] [stdout] | [INFO] [stdout] 143 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | remote_location: NetLocation, [INFO] [stdout] 145 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 146 | | if let Some(ShadowsocksData { [INFO] [stdout] 147 | | ref cipher, [INFO] [stdout] 148 | | ref key, [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 168 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/udp_direct_message_stream.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(socket: UdpSocket, resolver: Arc) -> Self { [INFO] [stdout] | ----------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | resolving_locations: HashMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/udp_direct_message_stream.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 65 | let resolve_results = match this.resolving_locations.get_mut(target) { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | None => { [INFO] [stdout] 67 | let mut resolve_future: Pin< [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Poll::Ready(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Poll::Ready(result) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | / this.socket [INFO] [stdout] 116 | | .poll_send_to(cx, buf, socket_addr) [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: unused pinned boxed `futures::Future` trait object that must be used [INFO] [stdout] --> src/udp_direct_message_stream.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | ... this.resolving_locations.remove(target).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vless_handler.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 38 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 40 | | let mut prefix = [0u8; 18]; [INFO] [stdout] 41 | | server_stream.read_exact(&mut prefix).await?; [INFO] [stdout] ... | [INFO] [stdout] 162 | | }) [INFO] [stdout] 163 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vless_handler.rs:173:48 [INFO] [stdout] | [INFO] [stdout] 171 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | remote_location: NetLocation, [INFO] [stdout] 173 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 174 | | // version + user id + header addon length + command + port + address type [INFO] [stdout] 175 | | let mut header_bytes = [0u8; 1 + 16 + 1 + 1 + 2 + 1]; [INFO] [stdout] ... | [INFO] [stdout] 241 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 242 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vmess/sha2.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 74 | let new_inner = self.inner.setup_new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let new_outer = self.outer.setup_new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Box::new(RecursiveHash { [INFO] [stdout] | __________________^ [INFO] [stdout] 83 | | inner: new_inner, [INFO] [stdout] 84 | | outer: new_outer, [INFO] [stdout] 85 | | default_inner: new_default_inner, [INFO] [stdout] 86 | | default_outer: new_default_outer, [INFO] [stdout] 87 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vmess/vmess_handler.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 151 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 153 | | let mut cert_hash = [0u8; 16]; [INFO] [stdout] 154 | | server_stream.read_exact(&mut cert_hash).await?; [INFO] [stdout] ... | [INFO] [stdout] 633 | | } [INFO] [stdout] 634 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vmess/vmess_handler.rs:732:48 [INFO] [stdout] | [INFO] [stdout] 730 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | remote_location: NetLocation, [INFO] [stdout] 732 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 733 | | let (cert_hash, time_bytes): ([u8; 16], [u8; 8]) = if self.is_aead { [INFO] [stdout] 734 | | // AEAD allows 120 second delta from the current time. [INFO] [stdout] 735 | | // See authid.go in v2ray-core. [INFO] [stdout] ... | [INFO] [stdout] 1002 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 1003 | | } [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: constant `max_read_packet_size` should have an upper case name [INFO] [stdout] --> src/vmess/vmess_stream.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | const max_read_packet_size: usize = MAX_ENCRYPTED_READ_DATA_SIZE + 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_READ_PACKET_SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `max_write_packet_size` should have an upper case name [INFO] [stdout] --> src/vmess/vmess_stream.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | const max_write_packet_size: usize = MAX_ENCRYPTED_WRITE_DATA_SIZE + 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_WRITE_PACKET_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/websocket/websocket_handler.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 44 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 46 | | let ParsedHttpData { [INFO] [stdout] 47 | | mut first_line, [INFO] [stdout] 48 | | headers: mut request_headers, [INFO] [stdout] ... | [INFO] [stdout] 156 | | )) [INFO] [stdout] 157 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/websocket/websocket_handler.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 189 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | remote_location: NetLocation, [INFO] [stdout] 191 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 192 | | let request_path = self [INFO] [stdout] 193 | | .matching_path [INFO] [stdout] 194 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 266 | | .await [INFO] [stdout] 267 | | } [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: aborting due to 31 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shoes` (bin "shoes" test) due to 32 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `is_unspecified` is never used [INFO] [stdout] --> src/address.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl NetLocation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_unspecified(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_none` is never used [INFO] [stdout] --> src/option_util.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl NoneOrOne { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_unspecified`, `as_option`, `into_option`, `into_iter`, and `filter` are never used [INFO] [stdout] --> src/option_util.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl NoneOrSome { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 75 | pub fn is_unspecified(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn as_option(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn into_option(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn into_iter(self) -> Box> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn filter(self, f: F) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/option_util.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl OneOrSome { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn contains(&self, x: &T) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_handler.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 42 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 44 | | let mut line_reader = LineReader::new(); [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | let line = line_reader.read_line(&mut server_stream).await?; [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_handler.rs:322:48 [INFO] [stdout] | [INFO] [stdout] 320 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | remote_location: NetLocation, [INFO] [stdout] 322 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 323 | | // TODO: clean this up [INFO] [stdout] 324 | | let mut connect_str = match remote_location.address() { [INFO] [stdout] 325 | | Address::Ipv6(addr) => { [INFO] [stdout] ... | [INFO] [stdout] 367 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 368 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/port_forward_handler.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 29 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 31 | | let location = if self.targets.len() == 1 { [INFO] [stdout] 32 | | &self.targets[0] [INFO] [stdout] 33 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 45 | | }) [INFO] [stdout] 46 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resolver.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = result.map(|r| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | r.filter(|addr| !addr.ip().is_unspecified()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rustls_util.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | for item in std::iter::from_fn(|| rustls_pemfile::read_one(&mut reader).transpose()) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rustls_util.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | for item in std::iter::from_fn(|| rustls_pemfile::read_one(&mut reader).transpose()) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_stream.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 92 | stream: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | key: Arc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | salt_checker: Option>>, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let unprocessed_buf = allocate_vec(max_packet_len).into_boxed_slice(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | // Be able to store a full payload. [INFO] [stdout] 105 | let processed_buf = allocate_vec(max_payload_len).into_boxed_slice(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | // Set the write cache to exactly the size of 1 full packet. [INFO] [stdout] 107 | let write_cache = allocate_vec(max_packet_len).into_boxed_slice(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | let mut encrypt_iv = allocate_vec(salt_len).into_boxed_slice(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let session_key = key.create_session_key(&encrypt_iv); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | decrypt_iv: None, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 37 | let key: Arc> = Arc::new(Box::new(DefaultKey::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | salt_checker: None, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 51 | let key: Arc> = Arc::new(Box::new(Blake3Key::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | salt_checker: Some(Arc::new(Mutex::new(TimedSaltChecker::new(60)))), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 68 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 70 | | let stream_type = if self.aead2022 { [INFO] [stdout] 71 | | ShadowsocksStreamType::AEAD2022Server [INFO] [stdout] 72 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 115 | | }) [INFO] [stdout] 116 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shadowsocks/shadowsocks_tcp_handler.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 124 | client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | remote_location: NetLocation, [INFO] [stdout] 126 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 127 | | let stream_type = if self.aead2022 { [INFO] [stdout] 128 | | ShadowsocksStreamType::AEAD2022Client [INFO] [stdout] 129 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 164 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 165 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snell_handler.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 82 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 84 | | let mut server_stream = ShadowsocksStream::new( [INFO] [stdout] 85 | | server_stream, [INFO] [stdout] 86 | | ShadowsocksStreamType::AEAD, [INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] 180 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snell_handler.rs:190:48 [INFO] [stdout] | [INFO] [stdout] 188 | client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | remote_location: NetLocation, [INFO] [stdout] 190 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 191 | | let mut client_stream: Box = Box::new(ShadowsocksStream::new( [INFO] [stdout] 192 | | client_stream, [INFO] [stdout] 193 | | ShadowsocksStreamType::AEAD, [INFO] [stdout] ... | [INFO] [stdout] 238 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 239 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snell_udp_stream.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | Poll::Ready(Ok(location)) [INFO] [stdout] | ^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks_handler.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 46 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | let mut data = [0u8; 2]; [INFO] [stdout] 49 | | server_stream.read_exact(&mut data).await?; [INFO] [stdout] ... | [INFO] [stdout] 208 | | }) [INFO] [stdout] 209 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/socks_handler.rs:255:48 [INFO] [stdout] | [INFO] [stdout] 253 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | remote_location: NetLocation, [INFO] [stdout] 255 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 256 | | client_stream.write_all(&self.prefix_data).await?; [INFO] [stdout] 257 | | write_location(&mut client_stream, &remote_location).await?; [INFO] [stdout] 258 | | client_stream.flush().await?; [INFO] [stdout] ... | [INFO] [stdout] 299 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 300 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp_client_connector.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_from(client_config: ClientConfig) -> Option { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let transport_config = match client_config.transport { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let mut quic_client_config = [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let mut transport_config = quinn::TransportConfig::default(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut endpoints = Vec::with_capacity(endpoints_len); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let udp_socket = match new_udp_socket( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(s) => s, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let udp_socket = udp_socket.into_std().unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | [INFO] [stdout] 112 | let mut endpoint = quinn::Endpoint::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 141 | | bind_interface: client_config.bind_interface.clone().into_option(), [INFO] [stdout] 142 | | location: client_config.address, [INFO] [stdout] 143 | | transport_config, [INFO] [stdout] ... | [INFO] [stdout] 151 | | }, [INFO] [stdout] 152 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp_handler_util.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(sni, config)| (sni, create_tls_server_target(config, rules_stack))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls_handler.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 38 | server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 40 | | let acceptor = LazyConfigAcceptor::new(rustls::server::Acceptor::default(), server_stream); [INFO] [stdout] 41 | | let start_handshake = acceptor.await?; [INFO] [stdout] 42 | | let client_hello = start_handshake.client_hello(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | return target_setup_result; [INFO] [stdout] 91 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls_handler.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 120 | client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | remote_location: NetLocation, [INFO] [stdout] 122 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 123 | | let connector: tokio_rustls::TlsConnector = self.client_config.clone().into(); [INFO] [stdout] 124 | | let tls_stream = Box::new( [INFO] [stdout] 125 | | connector [INFO] [stdout] ... | [INFO] [stdout] 134 | | .await [INFO] [stdout] 135 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trojan_handler.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 58 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 60 | | if let Some(ShadowsocksData { [INFO] [stdout] 61 | | ref cipher, [INFO] [stdout] 62 | | ref key, [INFO] [stdout] ... | [INFO] [stdout] 132 | | }) [INFO] [stdout] 133 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trojan_handler.rs:145:48 [INFO] [stdout] | [INFO] [stdout] 143 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | remote_location: NetLocation, [INFO] [stdout] 145 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 146 | | if let Some(ShadowsocksData { [INFO] [stdout] 147 | | ref cipher, [INFO] [stdout] 148 | | ref key, [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 168 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/udp_direct_message_stream.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(socket: UdpSocket, resolver: Arc) -> Self { [INFO] [stdout] | ----------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | resolving_locations: HashMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/udp_direct_message_stream.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 65 | let resolve_results = match this.resolving_locations.get_mut(target) { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | None => { [INFO] [stdout] 67 | let mut resolve_future: Pin< [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Poll::Ready(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Poll::Ready(result) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | / this.socket [INFO] [stdout] 116 | | .poll_send_to(cx, buf, socket_addr) [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: unused pinned boxed `futures::Future` trait object that must be used [INFO] [stdout] --> src/udp_direct_message_stream.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | ... this.resolving_locations.remove(target).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vless_handler.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 38 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 40 | | let mut prefix = [0u8; 18]; [INFO] [stdout] 41 | | server_stream.read_exact(&mut prefix).await?; [INFO] [stdout] ... | [INFO] [stdout] 162 | | }) [INFO] [stdout] 163 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vless_handler.rs:173:48 [INFO] [stdout] | [INFO] [stdout] 171 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | remote_location: NetLocation, [INFO] [stdout] 173 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 174 | | // version + user id + header addon length + command + port + address type [INFO] [stdout] 175 | | let mut header_bytes = [0u8; 1 + 16 + 1 + 1 + 2 + 1]; [INFO] [stdout] ... | [INFO] [stdout] 241 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 242 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vmess/sha2.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 74 | let new_inner = self.inner.setup_new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let new_outer = self.outer.setup_new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Box::new(RecursiveHash { [INFO] [stdout] | __________________^ [INFO] [stdout] 83 | | inner: new_inner, [INFO] [stdout] 84 | | outer: new_outer, [INFO] [stdout] 85 | | default_inner: new_default_inner, [INFO] [stdout] 86 | | default_outer: new_default_outer, [INFO] [stdout] 87 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vmess/vmess_handler.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 151 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 153 | | let mut cert_hash = [0u8; 16]; [INFO] [stdout] 154 | | server_stream.read_exact(&mut cert_hash).await?; [INFO] [stdout] ... | [INFO] [stdout] 633 | | } [INFO] [stdout] 634 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vmess/vmess_handler.rs:732:48 [INFO] [stdout] | [INFO] [stdout] 730 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | remote_location: NetLocation, [INFO] [stdout] 732 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 733 | | let (cert_hash, time_bytes): ([u8; 16], [u8; 8]) = if self.is_aead { [INFO] [stdout] 734 | | // AEAD allows 120 second delta from the current time. [INFO] [stdout] 735 | | // See authid.go in v2ray-core. [INFO] [stdout] ... | [INFO] [stdout] 1002 | | Ok(TcpClientSetupResult { client_stream }) [INFO] [stdout] 1003 | | } [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: constant `max_read_packet_size` should have an upper case name [INFO] [stdout] --> src/vmess/vmess_stream.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | const max_read_packet_size: usize = MAX_ENCRYPTED_READ_DATA_SIZE + 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_READ_PACKET_SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `max_write_packet_size` should have an upper case name [INFO] [stdout] --> src/vmess/vmess_stream.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | const max_write_packet_size: usize = MAX_ENCRYPTED_WRITE_DATA_SIZE + 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_WRITE_PACKET_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/websocket/websocket_handler.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 44 | mut server_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 46 | | let ParsedHttpData { [INFO] [stdout] 47 | | mut first_line, [INFO] [stdout] 48 | | headers: mut request_headers, [INFO] [stdout] ... | [INFO] [stdout] 156 | | )) [INFO] [stdout] 157 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/websocket/websocket_handler.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 189 | mut client_stream: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | remote_location: NetLocation, [INFO] [stdout] 191 | ) -> std::io::Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 192 | | let request_path = self [INFO] [stdout] 193 | | .matching_path [INFO] [stdout] 194 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 266 | | .await [INFO] [stdout] 267 | | } [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: aborting due to 31 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shoes` (bin "shoes") due to 32 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9d900dad98de2eec40b225d0b04f53794b45a0cf38f39d8c1a1363852bad5472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d900dad98de2eec40b225d0b04f53794b45a0cf38f39d8c1a1363852bad5472", kill_on_drop: false }` [INFO] [stdout] 9d900dad98de2eec40b225d0b04f53794b45a0cf38f39d8c1a1363852bad5472