[INFO] cloning repository https://github.com/DevSCNinja/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/DevSCNinja/shadowsocks-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevSCNinja%2Fshadowsocks-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevSCNinja%2Fshadowsocks-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9215fbd0239eee79ebce1107e5f3bc361f8face [INFO] checking DevSCNinja/shadowsocks-rust/a9215fbd0239eee79ebce1107e5f3bc361f8face 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%2FDevSCNinja%2Fshadowsocks-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DevSCNinja/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/DevSCNinja/shadowsocks-rust [INFO] finished tweaking git repo https://github.com/DevSCNinja/shadowsocks-rust [INFO] tweaked toml for git repo https://github.com/DevSCNinja/shadowsocks-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DevSCNinja/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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 19b4ff77388d00178b91cac5d8f91815d501223ea23836226a5994a1e3ac6bee [INFO] running `Command { std: "docker" "start" "-a" "19b4ff77388d00178b91cac5d8f91815d501223ea23836226a5994a1e3ac6bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19b4ff77388d00178b91cac5d8f91815d501223ea23836226a5994a1e3ac6bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b4ff77388d00178b91cac5d8f91815d501223ea23836226a5994a1e3ac6bee", kill_on_drop: false }` [INFO] [stdout] 19b4ff77388d00178b91cac5d8f91815d501223ea23836226a5994a1e3ac6bee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a328ead71827551c62842742903d65e863f698a91532c776b6f4ec43b4263e75 [INFO] running `Command { std: "docker" "start" "-a" "a328ead71827551c62842742903d65e863f698a91532c776b6f4ec43b4263e75", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Compiling sha1-asm v0.5.1 [INFO] [stderr] Compiling md5-asm v0.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking signature v1.4.0 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ed25519 v1.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking chacha20 v0.8.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking chacha20poly1305 v0.9.0 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking p256 v0.10.1 [INFO] [stderr] Checking p384 v0.9.0 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking byte_string v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking ring-compat v0.4.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking shadowsocks-crypto v0.3.6 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking qrcode v0.12.0 [INFO] [stderr] Checking iprange v0.6.7 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking lru_time_cache v0.11.11 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Checking xdg v2.4.1 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking daemonize v0.4.1 [INFO] [stderr] Checking rpassword v5.0.1 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling build-time v0.1.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking mio v0.8.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking notify v5.0.0-pre.13 [INFO] [stderr] Checking log4rs v1.0.0 [INFO] [stderr] Checking trust-dns-proto v0.21.1 [INFO] [stderr] Checking tokio-tfo v0.1.9 [INFO] [stderr] Checking sendfd v0.4.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking trust-dns-resolver v0.21.1 [INFO] [stderr] Checking shadowsocks v1.14.0 (/opt/rustwide/workdir/crates/shadowsocks) [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:185:23 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 185 | match create_resolver(None, resolver.ipv6_first).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] = 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/dns_resolver/resolver.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 252 | 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] 256 | 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] 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:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 53 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 54 | | })? [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:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 53 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 54 | | })? [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:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 72 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 73 | | })? [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:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 72 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 73 | | })? [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:178:21 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 177 | setsockopt_with_opt(&stream, &self.accept_opts)?; [INFO] [stdout] 178 | 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:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | 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/tcprelay/aead.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 158 | 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] 175 | 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:194:9 [INFO] [stdout] | [INFO] [stdout] 184 | 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] 194 | 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:230:9 [INFO] [stdout] | [INFO] [stdout] 209 | 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] 230 | 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/crypto_io.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn from_stream(context: &Context, stream: S, method: CipherKind, key: &[u8]) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | dec: DecryptedReader::new(method, 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] [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:148:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn from_stream(context: &Context, stream: S, method: CipherKind, key: &[u8]) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | enc: EncryptedWriter::new(method, key, &iv), [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:156:18 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 156 | 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:157:18 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 157 | 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/crypto_io.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn into_split(self) -> (CryptoStreamReadHalf, CryptoStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let (reader, writer) = tokio::io::split(self.stream); [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] 232 | / CryptoStreamReadHalf { [INFO] [stdout] 233 | | reader, [INFO] [stdout] 234 | | dec: self.dec, [INFO] [stdout] 235 | | method: self.method, [INFO] [stdout] 236 | | }, [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:237:13 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn into_split(self) -> (CryptoStreamReadHalf, CryptoStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let (reader, writer) = tokio::io::split(self.stream); [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] 237 | / CryptoStreamWriteHalf { [INFO] [stdout] 238 | | writer, [INFO] [stdout] 239 | | enc: self.enc, [INFO] [stdout] 240 | | method: self.method, [INFO] [stdout] 241 | | }, [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:58:18 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 58 | 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_stream/client.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 137 | 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] 142 | let stream = CryptoStream::from_stream(&context, stream, svr_cfg.method(), svr_cfg.key()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | 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/client.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn into_split(self) -> (ProxyClientStreamReadHalf, ProxyClientStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let (reader, writer) = self.stream.into_split(); [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] 252 | ( [INFO] [stdout] 253 | / ProxyClientStreamReadHalf { [INFO] [stdout] 254 | | reader, [INFO] [stdout] 255 | | context: self.context, [INFO] [stdout] 256 | | }, [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:257:13 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn into_split(self) -> (ProxyClientStreamReadHalf, ProxyClientStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let (reader, writer) = self.stream.into_split(); [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] 257 | / ProxyClientStreamWriteHalf { [INFO] [stdout] 258 | | writer, [INFO] [stdout] 259 | | state: self.state, [INFO] [stdout] 260 | | }, [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:34:21 [INFO] [stdout] | [INFO] [stdout] 28 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | stream: CryptoStream::from_stream(&context, stream, method, 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] [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:13 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_split(self) -> (ProxyServerStreamReadHalf, ProxyServerStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (reader, writer) = self.stream.into_split(); [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] 64 | / ProxyServerStreamReadHalf { [INFO] [stdout] 65 | | reader, [INFO] [stdout] 66 | | context: self.context, [INFO] [stdout] 67 | | }, [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:68:13 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_split(self) -> (ProxyServerStreamReadHalf, ProxyServerStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (reader, writer) = self.stream.into_split(); [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] 68 | ProxyServerStreamWriteHalf { writer }, [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:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | 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/dns_resolver/resolver.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 185 | match create_resolver(None, resolver.ipv6_first).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] = 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/dns_resolver/resolver.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 252 | 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] 256 | 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: aborting due to 27 previous errors; 1 warning emitted [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:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 53 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 54 | | })? [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:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 53 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 54 | | })? [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:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 72 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 73 | | })? [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:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / lookup_then_connect!(context, domain, port, |addr| { [INFO] [stdout] 72 | | SysTcpStream::connect(addr, opts).await [INFO] [stdout] 73 | | })? [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:178:21 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 177 | setsockopt_with_opt(&stream, &self.accept_opts)?; [INFO] [stdout] 178 | 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:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | 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/tcprelay/aead.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 158 | 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] 175 | 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] [stderr] error: could not compile `shadowsocks` (lib test) due to 28 previous errors; 1 warning emitted [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:194:9 [INFO] [stdout] | [INFO] [stdout] 184 | 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] 194 | 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] [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/relay/tcprelay/aead.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 209 | 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] 230 | 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/crypto_io.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn from_stream(context: &Context, stream: S, method: CipherKind, key: &[u8]) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | dec: DecryptedReader::new(method, 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] [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:148:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn from_stream(context: &Context, stream: S, method: CipherKind, key: &[u8]) -> CryptoStream { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | enc: EncryptedWriter::new(method, key, &iv), [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:156:18 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 156 | 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:157:18 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 157 | 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/crypto_io.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn into_split(self) -> (CryptoStreamReadHalf, CryptoStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let (reader, writer) = tokio::io::split(self.stream); [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] 232 | / CryptoStreamReadHalf { [INFO] [stdout] 233 | | reader, [INFO] [stdout] 234 | | dec: self.dec, [INFO] [stdout] 235 | | method: self.method, [INFO] [stdout] 236 | | }, [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:237:13 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn into_split(self) -> (CryptoStreamReadHalf, CryptoStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let (reader, writer) = tokio::io::split(self.stream); [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] 237 | / CryptoStreamWriteHalf { [INFO] [stdout] 238 | | writer, [INFO] [stdout] 239 | | enc: self.enc, [INFO] [stdout] 240 | | method: self.method, [INFO] [stdout] 241 | | }, [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:58:18 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 58 | 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_stream/client.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 137 | 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] 142 | let stream = CryptoStream::from_stream(&context, stream, svr_cfg.method(), svr_cfg.key()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | 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/client.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn into_split(self) -> (ProxyClientStreamReadHalf, ProxyClientStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let (reader, writer) = self.stream.into_split(); [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] 252 | ( [INFO] [stdout] 253 | / ProxyClientStreamReadHalf { [INFO] [stdout] 254 | | reader, [INFO] [stdout] 255 | | context: self.context, [INFO] [stdout] 256 | | }, [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:257:13 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn into_split(self) -> (ProxyClientStreamReadHalf, ProxyClientStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let (reader, writer) = self.stream.into_split(); [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] 257 | / ProxyClientStreamWriteHalf { [INFO] [stdout] 258 | | writer, [INFO] [stdout] 259 | | state: self.state, [INFO] [stdout] 260 | | }, [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:34:21 [INFO] [stdout] | [INFO] [stdout] 28 | context: SharedContext, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | stream: CryptoStream::from_stream(&context, stream, method, 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] [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:13 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_split(self) -> (ProxyServerStreamReadHalf, ProxyServerStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (reader, writer) = self.stream.into_split(); [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] 64 | / ProxyServerStreamReadHalf { [INFO] [stdout] 65 | | reader, [INFO] [stdout] 66 | | context: self.context, [INFO] [stdout] 67 | | }, [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:68:13 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_split(self) -> (ProxyServerStreamReadHalf, ProxyServerStreamWriteHalf) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (reader, writer) = self.stream.into_split(); [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] 68 | ProxyServerStreamWriteHalf { writer }, [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:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | 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: aborting due to 27 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shadowsocks` (lib) due to 28 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a328ead71827551c62842742903d65e863f698a91532c776b6f4ec43b4263e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a328ead71827551c62842742903d65e863f698a91532c776b6f4ec43b4263e75", kill_on_drop: false }` [INFO] [stdout] a328ead71827551c62842742903d65e863f698a91532c776b6f4ec43b4263e75