[INFO] cloning repository https://github.com/MrE-Fog/shadowsocks-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrE-Fog/shadowsocks-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrE-Fog%2Fshadowsocks-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrE-Fog%2Fshadowsocks-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7dae18a07db751501f0626a009b4be3e466595a [INFO] checking MrE-Fog/shadowsocks-rust/e7dae18a07db751501f0626a009b4be3e466595a against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrE-Fog%2Fshadowsocks-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrE-Fog/shadowsocks-rust 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 git repo https://github.com/MrE-Fog/shadowsocks-rust [INFO] finished tweaking git repo https://github.com/MrE-Fog/shadowsocks-rust [INFO] tweaked toml for git repo https://github.com/MrE-Fog/shadowsocks-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MrE-Fog/shadowsocks-rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4088dbf724dd1ff701e1dfc4e6eb68b6cc030381de215aeba2e01a7731aed55 [INFO] running `Command { std: "docker" "start" "-a" "d4088dbf724dd1ff701e1dfc4e6eb68b6cc030381de215aeba2e01a7731aed55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4088dbf724dd1ff701e1dfc4e6eb68b6cc030381de215aeba2e01a7731aed55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4088dbf724dd1ff701e1dfc4e6eb68b6cc030381de215aeba2e01a7731aed55", kill_on_drop: false }` [INFO] [stdout] d4088dbf724dd1ff701e1dfc4e6eb68b6cc030381de215aeba2e01a7731aed55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 9f44e7bed0786d303a4471d6eb81644f7d7b389d8444490013a25eb55356d7f8 [INFO] running `Command { std: "docker" "start" "-a" "9f44e7bed0786d303a4471d6eb81644f7d7b389d8444490013a25eb55356d7f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking const-oid v0.9.3 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling rustix v0.38.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling blake3 v1.4.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking is-terminal v0.4.8 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking aes-gcm v0.10.2 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking p384 v0.11.2 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking byte_string v1.0.0 [INFO] [stderr] Checking lru_time_cache v0.11.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling rustix v0.37.21 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking ring-compat v0.5.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking shadowsocks-crypto v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking iprange v0.6.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking rtoolbox v0.0.1 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking thread-id v4.1.0 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Checking clap_builder v4.3.21 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking qrcode v0.12.0 [INFO] [stderr] Checking xdg v2.5.0 [INFO] [stderr] Checking rpassword v7.2.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking sysexits v0.6.3 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking clap v4.3.21 [INFO] [stderr] Checking pest v2.7.0 [INFO] [stderr] Compiling build-time v0.1.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling pest_meta v2.7.0 [INFO] [stderr] Checking serde v1.0.171 [INFO] [stderr] Compiling pest_generator v2.7.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling pest_derive v2.7.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking notify v6.0.1 [INFO] [stderr] Checking trust-dns-proto v0.23.0-alpha.5 [INFO] [stderr] Checking tokio-tfo v0.2.2 [INFO] [stderr] Checking sendfd v0.4.3 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking trust-dns-resolver v0.23.0-alpha.5 [INFO] [stderr] Checking shadowsocks v1.16.0 (/opt/rustwide/workdir/crates/shadowsocks) [INFO] [stderr] Checking hyper v0.14.27 [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] --> crates/shadowsocks/src/config.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn with_encoded_key(name: N, key: &str) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | Ok(ServerUser::new(name, key)) [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] --> crates/shadowsocks/src/config.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 389 | fn password_to_keys

(method: CipherKind, password: P) -> (String, Box<[u8]>, Vec) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | let mut enc_key = vec![0u8; method.key_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] 428 | (password, enc_key, Vec::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] --> crates/shadowsocks/src/config.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(addr: A, password: P, method: CipherKind) -> ServerConfig [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] 438 | let (password, enc_key, identity_keys) = password_to_keys(method, password); [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] 445 | identity_keys: Arc::new(identity_keys), [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] --> crates/shadowsocks/src/config.rs:446:27 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(addr: A, password: P, method: CipherKind) -> ServerConfig [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] 438 | let (password, enc_key, identity_keys) = password_to_keys(method, password); [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] 446 | user_manager: 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] --> crates/shadowsocks/src/dns_resolver/resolver.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 193 | let resolver = resolver.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | match create_resolver(None, resolver.dns_cache_size, resolver.connect_opts.clone()).await { [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] --> crates/shadowsocks/src/dns_resolver/resolver.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn custom_resolver(custom: R) -> DnsResolver [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | DnsResolver::Custom(Box::new(custom) as Box) [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] --> crates/shadowsocks/src/dns_resolver/trust_dns_resolver.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | let recv_addr = ready!(udp.poll_recv_from(cx, &mut read_buf))?; [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Ok((read_buf.filled().len(), recv_addr)).into() [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] --> crates/shadowsocks/src/dns_resolver/trust_dns_resolver.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 75 | let tcp = ShadowTcpStream::connect_with_opts(&server_addr, &connect_opts).await?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Ok(AsyncIoTokioAsStd(tcp)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> crates/shadowsocks/src/net/sys/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | sock.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = sock.into_raw_fd(); [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] --> crates/shadowsocks/src/net/sys/unix/uds.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn bind>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | TokioUnixListener::bind(path).map(|io| UnixListener { io }) [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] --> crates/shadowsocks/src/net/sys/unix/uds.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | let (stream, peer_addr) = ready!(self.io.poll_accept(cx))?; [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] 110 | Ok((UnixStream { io: stream }, peer_addr)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 107 | let connect_v4 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | connect_v4.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 58 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 59 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 159 | let connect_v6 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | connect_v6.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 58 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 59 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 107 | let connect_v4 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | connect_v4.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 77 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 78 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 159 | let connect_v6 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | connect_v6.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 77 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 78 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/net/tcp.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 178 | let (stream, peer_addr) = ready!(self.inner.poll_accept(cx))?; [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] 179 | set_common_sockopt_after_accept(&stream, &self.accept_opts)?; [INFO] [stdout] 180 | Poll::Ready(Ok((stream, peer_addr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/plugin/mod.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | match start_plugin(c, remote_addr, &local_addr, mode) { [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] --> crates/shadowsocks/src/relay/mod.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | PADDING_RNG.with(|rng| rng.borrow_mut().gen::() % AEAD2022_MAX_PADDING_SIZE) [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 193 | let n = ready!(self.poll_read_exact(cx, stream, salt_len))?; [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(()).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 219 | let n = ready!(self.poll_read_exact(cx, stream, length_len))?; [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | Ok(Some(length)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 244 | let n = ready!(self.poll_read_exact(cx, stream, data_len))?; [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(()).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 341 | let mut buffer = BytesMut::with_capacity(nonce.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | salt: Bytes::copy_from_slice(nonce), [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 319 | let cipher = Aes128::new_from_slice(&identity_sub_key[0..16]).expect("AES-128"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let cipher = Aes256::new_from_slice(&identity_sub_key[0..32]).expect("AES-256"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 405 | Ok(Some(data_length as usize)).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 414 | let n = ready!(self.poll_read_exact(cx, stream, length_len))?; [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | Ok(Some(length)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 433 | let n = ready!(self.poll_read_exact(cx, stream, data_len))?; [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | Ok(()).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 548 | let mut buffer = BytesMut::with_capacity(nonce.len() + identity_keys.len() * 16); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 616 | salt: Bytes::copy_from_slice(nonce), [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:617:27 [INFO] [stdout] | [INFO] [stdout] 548 | let mut buffer = BytesMut::with_capacity(nonce.len() + identity_keys.len() * 16); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | request_salt: 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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:326:107 [INFO] [stdout] | [INFO] [stdout] 320 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | CryptoStream::from_stream_with_identity(context, stream, stream_ty, method, key, &EMPTY_IDENTITY, 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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:383:18 [INFO] [stdout] | [INFO] [stdout] 332 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | user_manager: Option>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | dec: DecryptedReader::with_user_manager(stream_ty, method, key, user_manager), [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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 332 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | user_manager: Option>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | enc: EncryptedWriter::with_identity(stream_ty, method, key, &iv, identity_keys), [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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 390 | fn new_none(stream: S, method: CipherKind) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | dec: DecryptedReader::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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 390 | fn new_none(stream: S, method: CipherKind) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | enc: EncryptedWriter::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] --> crates/shadowsocks/src/relay/tcprelay/proxy_listener.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_listener(context: SharedContext, listener: TcpListener, svr_cfg: &ServerConfig) -> ProxyListener { [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] 59 | key: svr_cfg.key().to_vec().into_boxed_slice(), [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] --> crates/shadowsocks/src/relay/tcprelay/proxy_listener.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_listener(context: SharedContext, listener: TcpListener, svr_cfg: &ServerConfig) -> ProxyListener { [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] 61 | user_manager: svr_cfg.clone_user_manager(), [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] --> crates/shadowsocks/src/relay/tcprelay/proxy_stream/client.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn from_stream(context: SharedContext, stream: S, svr_cfg: &ServerConfig, addr: A) -> ProxyClientStream [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let stream = CryptoStream::from_stream_with_identity( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | writer_state: ProxyClientStreamWriteState::Connect(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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/shadowsocks/src/relay/tcprelay/proxy_stream/server.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 46 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | user_manager: Option>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let writer_state = if method.is_aead_2022() { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | stream: CryptoStream::from_stream_with_identity( [INFO] [stdout] | _____________________^ [INFO] [stdout] 65 | | &context, [INFO] [stdout] 66 | | stream, [INFO] [stdout] 67 | | StreamType::Server, [INFO] [stdout] ... | [INFO] [stdout] 71 | | user_manager, [INFO] [stdout] 72 | | ), [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] --> crates/shadowsocks/src/relay/tcprelay/utils.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | Poll::Ready(Ok((a_to_b, b_to_a))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | .or_insert_with(|| Rc::new(UdpCipher::new(method, key, session_id))) [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] --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 549 | let user = decrypt_message(context, method, key, payload, user_manager)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 577 | let control = UdpSocketControlData { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | Err(err) => return Err(ProtocolError::InvalidAddress(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 594 | Ok((payload_len, addr, control)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:700:8 [INFO] [stdout] | [INFO] [stdout] 657 | let user = decrypt_message(context, method, key, payload, None)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 683 | let control = UdpSocketControlData { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | Err(err) => return Err(ProtocolError::InvalidAddress(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 700 | Ok((payload_len, addr, control)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | .map(|(n, a)| (n, a, 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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | .map(|(n, a, c)| (n, a, Some(c))) [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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | .map(|(n, a)| (n, a, 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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | .map(|(n, a, c)| (n, a, Some(c))) [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 121 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | svr_cfg: &ServerConfig, [INFO] [stdout] 123 | socket: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let key = svr_cfg.key().to_vec().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] 135 | socket: socket.into(), [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 121 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | svr_cfg: &ServerConfig, [INFO] [stdout] 123 | socket: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let key = svr_cfg.key().to_vec().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] 141 | identity_keys: match socket_type { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 142 | | UdpSocketType::Client => svr_cfg.clone_identity_keys(), [INFO] [stdout] 143 | | UdpSocketType::Server => Arc::new(Vec::new()), [INFO] [stdout] 144 | | }, [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 121 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | svr_cfg: &ServerConfig, [INFO] [stdout] 123 | socket: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let key = svr_cfg.key().to_vec().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] 145 | user_manager: match socket_type { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 146 | | UdpSocketType::Client => None, [INFO] [stdout] 147 | | UdpSocketType::Server => svr_cfg.clone_user_manager(), [INFO] [stdout] 148 | | }, [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 276 | let mut send_buf = BytesMut::with_capacity(payload.len() + 256); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 290 | match self.socket.poll_send(cx, &send_buf).map_err(|x| x.into()) { [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 320 | let mut send_buf = BytesMut::with_capacity(payload.len() + 256); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | match self.socket.poll_send_to(cx, &send_buf, target).map_err(|x| x.into()) { [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 544 | let src = ready!(self.socket.poll_recv_from(cx, recv_buf))?; [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 547 | match self.decrypt_recv_buffer(recv_buf.filled_mut(), self.user_manager.as_deref()) { [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: aborting due to 49 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shadowsocks` (lib) due to 50 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> crates/shadowsocks/src/config.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn with_encoded_key(name: N, key: &str) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | Ok(ServerUser::new(name, key)) [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] --> crates/shadowsocks/src/config.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 389 | fn password_to_keys

(method: CipherKind, password: P) -> (String, Box<[u8]>, Vec) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | let mut enc_key = vec![0u8; method.key_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] 428 | (password, enc_key, Vec::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] --> crates/shadowsocks/src/config.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(addr: A, password: P, method: CipherKind) -> ServerConfig [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] 438 | let (password, enc_key, identity_keys) = password_to_keys(method, password); [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] 445 | identity_keys: Arc::new(identity_keys), [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] --> crates/shadowsocks/src/config.rs:446:27 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(addr: A, password: P, method: CipherKind) -> ServerConfig [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] 438 | let (password, enc_key, identity_keys) = password_to_keys(method, password); [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] 446 | user_manager: 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] --> crates/shadowsocks/src/dns_resolver/resolver.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 193 | let resolver = resolver.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | match create_resolver(None, resolver.dns_cache_size, resolver.connect_opts.clone()).await { [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] --> crates/shadowsocks/src/dns_resolver/resolver.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn custom_resolver(custom: R) -> DnsResolver [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | DnsResolver::Custom(Box::new(custom) as Box) [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] --> crates/shadowsocks/src/dns_resolver/trust_dns_resolver.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | let recv_addr = ready!(udp.poll_recv_from(cx, &mut read_buf))?; [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Ok((read_buf.filled().len(), recv_addr)).into() [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] --> crates/shadowsocks/src/dns_resolver/trust_dns_resolver.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 75 | let tcp = ShadowTcpStream::connect_with_opts(&server_addr, &connect_opts).await?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Ok(AsyncIoTokioAsStd(tcp)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> crates/shadowsocks/src/net/sys/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | sock.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = sock.into_raw_fd(); [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] --> crates/shadowsocks/src/net/sys/unix/uds.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn bind>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | TokioUnixListener::bind(path).map(|io| UnixListener { io }) [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] --> crates/shadowsocks/src/net/sys/unix/uds.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | let (stream, peer_addr) = ready!(self.io.poll_accept(cx))?; [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] 110 | Ok((UnixStream { io: stream }, peer_addr)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 107 | let connect_v4 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | connect_v4.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 58 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 59 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 159 | let connect_v6 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | connect_v6.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 58 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 59 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 107 | let connect_v4 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | connect_v4.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 77 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 78 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/dns_resolver/mod.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 159 | let connect_v6 = async { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | connect_v6.await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/shadowsocks/src/net/tcp.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 77 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 78 | | })? [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `lookup_then_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/shadowsocks/src/net/tcp.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 178 | let (stream, peer_addr) = ready!(self.inner.poll_accept(cx))?; [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] 179 | set_common_sockopt_after_accept(&stream, &self.accept_opts)?; [INFO] [stdout] 180 | Poll::Ready(Ok((stream, peer_addr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/plugin/mod.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | match start_plugin(c, remote_addr, &local_addr, mode) { [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] --> crates/shadowsocks/src/relay/mod.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | PADDING_RNG.with(|rng| rng.borrow_mut().gen::() % AEAD2022_MAX_PADDING_SIZE) [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 193 | let n = ready!(self.poll_read_exact(cx, stream, salt_len))?; [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(()).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 219 | let n = ready!(self.poll_read_exact(cx, stream, length_len))?; [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | Ok(Some(length)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 244 | let n = ready!(self.poll_read_exact(cx, stream, data_len))?; [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(()).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 341 | let mut buffer = BytesMut::with_capacity(nonce.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | salt: Bytes::copy_from_slice(nonce), [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 319 | let cipher = Aes128::new_from_slice(&identity_sub_key[0..16]).expect("AES-128"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let cipher = Aes256::new_from_slice(&identity_sub_key[0..32]).expect("AES-256"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 405 | Ok(Some(data_length as usize)).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 414 | let n = ready!(self.poll_read_exact(cx, stream, length_len))?; [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | Ok(Some(length)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 433 | let n = ready!(self.poll_read_exact(cx, stream, data_len))?; [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | Ok(()).into() [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 548 | let mut buffer = BytesMut::with_capacity(nonce.len() + identity_keys.len() * 16); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 616 | salt: Bytes::copy_from_slice(nonce), [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] --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:617:27 [INFO] [stdout] | [INFO] [stdout] 548 | let mut buffer = BytesMut::with_capacity(nonce.len() + identity_keys.len() * 16); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | request_salt: 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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:326:107 [INFO] [stdout] | [INFO] [stdout] 320 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | CryptoStream::from_stream_with_identity(context, stream, stream_ty, method, key, &EMPTY_IDENTITY, 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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:383:18 [INFO] [stdout] | [INFO] [stdout] 332 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | user_manager: Option>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | dec: DecryptedReader::with_user_manager(stream_ty, method, key, user_manager), [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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 332 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | user_manager: Option>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | enc: EncryptedWriter::with_identity(stream_ty, method, key, &iv, identity_keys), [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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 390 | fn new_none(stream: S, method: CipherKind) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | dec: DecryptedReader::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] --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 390 | fn new_none(stream: S, method: CipherKind) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | enc: EncryptedWriter::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] --> crates/shadowsocks/src/relay/tcprelay/proxy_listener.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_listener(context: SharedContext, listener: TcpListener, svr_cfg: &ServerConfig) -> ProxyListener { [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] 59 | key: svr_cfg.key().to_vec().into_boxed_slice(), [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] --> crates/shadowsocks/src/relay/tcprelay/proxy_listener.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_listener(context: SharedContext, listener: TcpListener, svr_cfg: &ServerConfig) -> ProxyListener { [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] 61 | user_manager: svr_cfg.clone_user_manager(), [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] --> crates/shadowsocks/src/relay/tcprelay/proxy_stream/client.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn from_stream(context: SharedContext, stream: S, svr_cfg: &ServerConfig, addr: A) -> ProxyClientStream [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let stream = CryptoStream::from_stream_with_identity( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | writer_state: ProxyClientStreamWriteState::Connect(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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/shadowsocks/src/relay/tcprelay/proxy_stream/server.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 46 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | user_manager: Option>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let writer_state = if method.is_aead_2022() { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | stream: CryptoStream::from_stream_with_identity( [INFO] [stdout] | _____________________^ [INFO] [stdout] 65 | | &context, [INFO] [stdout] 66 | | stream, [INFO] [stdout] 67 | | StreamType::Server, [INFO] [stdout] ... | [INFO] [stdout] 71 | | user_manager, [INFO] [stdout] 72 | | ), [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] --> crates/shadowsocks/src/relay/tcprelay/utils.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | Poll::Ready(Ok((a_to_b, b_to_a))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | .or_insert_with(|| Rc::new(UdpCipher::new(method, key, session_id))) [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] --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 549 | let user = decrypt_message(context, method, key, payload, user_manager)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 577 | let control = UdpSocketControlData { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | Err(err) => return Err(ProtocolError::InvalidAddress(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 594 | Ok((payload_len, addr, control)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:700:8 [INFO] [stdout] | [INFO] [stdout] 657 | let user = decrypt_message(context, method, key, payload, None)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 683 | let control = UdpSocketControlData { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | Err(err) => return Err(ProtocolError::InvalidAddress(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 700 | Ok((payload_len, addr, control)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | .map(|(n, a)| (n, a, 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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | .map(|(n, a, c)| (n, a, Some(c))) [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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | .map(|(n, a)| (n, a, 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] --> crates/shadowsocks/src/relay/udprelay/crypto_io.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | .map(|(n, a, c)| (n, a, Some(c))) [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 121 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | svr_cfg: &ServerConfig, [INFO] [stdout] 123 | socket: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let key = svr_cfg.key().to_vec().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] 135 | socket: socket.into(), [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 121 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | svr_cfg: &ServerConfig, [INFO] [stdout] 123 | socket: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let key = svr_cfg.key().to_vec().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] 141 | identity_keys: match socket_type { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 142 | | UdpSocketType::Client => svr_cfg.clone_identity_keys(), [INFO] [stdout] 143 | | UdpSocketType::Server => Arc::new(Vec::new()), [INFO] [stdout] 144 | | }, [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 121 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | svr_cfg: &ServerConfig, [INFO] [stdout] 123 | socket: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let key = svr_cfg.key().to_vec().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] 145 | user_manager: match socket_type { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 146 | | UdpSocketType::Client => None, [INFO] [stdout] 147 | | UdpSocketType::Server => svr_cfg.clone_user_manager(), [INFO] [stdout] 148 | | }, [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 276 | let mut send_buf = BytesMut::with_capacity(payload.len() + 256); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 290 | match self.socket.poll_send(cx, &send_buf).map_err(|x| x.into()) { [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 320 | let mut send_buf = BytesMut::with_capacity(payload.len() + 256); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | match self.socket.poll_send_to(cx, &send_buf, target).map_err(|x| x.into()) { [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] --> crates/shadowsocks/src/relay/udprelay/proxy_socket.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 544 | let src = ready!(self.socket.poll_recv_from(cx, recv_buf))?; [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 547 | match self.decrypt_recv_buffer(recv_buf.filled_mut(), self.user_manager.as_deref()) { [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: aborting due to 49 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shadowsocks` (lib test) due to 50 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9f44e7bed0786d303a4471d6eb81644f7d7b389d8444490013a25eb55356d7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f44e7bed0786d303a4471d6eb81644f7d7b389d8444490013a25eb55356d7f8", kill_on_drop: false }` [INFO] [stdout] 9f44e7bed0786d303a4471d6eb81644f7d7b389d8444490013a25eb55356d7f8