[INFO] fetching crate portal-tunneler 0.1.0-beta.0... [INFO] checking portal-tunneler-0.1.0-beta.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate portal-tunneler 0.1.0-beta.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate portal-tunneler 0.1.0-beta.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate portal-tunneler 0.1.0-beta.0 [INFO] finished tweaking crates.io crate portal-tunneler 0.1.0-beta.0 [INFO] tweaked toml for crates.io crate portal-tunneler 0.1.0-beta.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate portal-tunneler 0.1.0-beta.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f378cc3e3b7151a7b012d52a8c14b391ac5bb14c887d87536c95f52272d6efb0 [INFO] running `Command { std: "docker" "start" "-a" "f378cc3e3b7151a7b012d52a8c14b391ac5bb14c887d87536c95f52272d6efb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f378cc3e3b7151a7b012d52a8c14b391ac5bb14c887d87536c95f52272d6efb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f378cc3e3b7151a7b012d52a8c14b391ac5bb14c887d87536c95f52272d6efb0", kill_on_drop: false }` [INFO] [stdout] f378cc3e3b7151a7b012d52a8c14b391ac5bb14c887d87536c95f52272d6efb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0be0b1ad35b26fee005168b639a23156f5096be1171045270a16a2b985881072 [INFO] running `Command { std: "docker" "start" "-a" "0be0b1ad35b26fee005168b639a23156f5096be1171045270a16a2b985881072", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking portal-puncher-sm v0.1.0-beta.0 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking inlined v0.1.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rcgen v0.12.1 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking portal-tunneler-proto v0.1.0-beta.0 [INFO] [stderr] Checking portal-tunneler v0.1.0-beta.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_server` is never used [INFO] [stdout] --> src/args/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl StartupMode { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 109 | pub fn is_server(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept_from_any` is never used [INFO] [stdout] --> src/utils/sockets.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn accept_from_any(listeners: &[TcpListener]) -> (usize, io::Result<(TcpStream, SocketAddr)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/run.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 42 | let (send_stream, recv_stream) = match client.connection().accept_bi().await { [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] 47 | let client = Rc::clone(&client); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | tokio::task::spawn_local(async move { [INFO] [stdout] 49 | match handle_incoming_bi_stream(client, send_stream, recv_stream).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] --> src/client/local_tunnels.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 18 | let (tcp_stream, from) = match listener.accept().await { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let client = Rc::clone(&client); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | match handle_local_tunnel(client, tcp_stream, spec).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] --> src/client/remote_tunnels.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|stream| stream.local_addr().unwrap_or(UNSPECIFIED_SOCKADDR_V4)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connect.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | .and_then(|socket| make_endpoint(EndpointSocketSource::Simple(socket), true, false)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connect.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | .and_then(|socket| make_endpoint(EndpointSocketSource::Simple(socket), true, false)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/puncher/socket_binder.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut sockets = Vec::with_capacity(lane_count.get() as usize); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Err(Error::new( [INFO] [stdout] | _________^ [INFO] [stdout] 87 | | ErrorKind::AddrNotAvailable, [INFO] [stdout] 88 | | "Couldn't bind the requested amount of sequential sockets.", [INFO] [stdout] 89 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/run.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 52 | let (send_stream, recv_stream) = match connection.accept_bi().await { [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 | let connection = Rc::clone(&connection); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | tokio::task::spawn_local(async move { [INFO] [stdout] 63 | match handle_incoming_bi_stream(connection, send_stream, recv_stream).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] --> src/server/local_tunnels.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|stream| stream.local_addr().unwrap_or(UNSPECIFIED_SOCKADDR_V4)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/remote_tunnels.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 57 | let (tcp_stream, _from) = match listener.accept().await { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let connection = Rc::clone(&connection); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | tokio::task::spawn_local(async move { [INFO] [stdout] 67 | match handle_remote_tunnel(connection, tcp_stream, tunnel_id, target_type).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] --> src/shared_socket.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(socket: tokio::net::UdpSocket) -> io::Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let arc = Arc::new(Inner { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Self { arc }) [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 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `portal-tunneler` (bin "portal" test) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `is_server` is never used [INFO] [stdout] --> src/args/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl StartupMode { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 109 | pub fn is_server(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept_from_any` is never used [INFO] [stdout] --> src/utils/sockets.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn accept_from_any(listeners: &[TcpListener]) -> (usize, io::Result<(TcpStream, SocketAddr)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/run.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 42 | let (send_stream, recv_stream) = match client.connection().accept_bi().await { [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] 47 | let client = Rc::clone(&client); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | tokio::task::spawn_local(async move { [INFO] [stdout] 49 | match handle_incoming_bi_stream(client, send_stream, recv_stream).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] --> src/client/local_tunnels.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 18 | let (tcp_stream, from) = match listener.accept().await { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let client = Rc::clone(&client); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | match handle_local_tunnel(client, tcp_stream, spec).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] --> src/client/remote_tunnels.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|stream| stream.local_addr().unwrap_or(UNSPECIFIED_SOCKADDR_V4)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connect.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | .and_then(|socket| make_endpoint(EndpointSocketSource::Simple(socket), true, false)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connect.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | .and_then(|socket| make_endpoint(EndpointSocketSource::Simple(socket), true, false)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/puncher/socket_binder.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut sockets = Vec::with_capacity(lane_count.get() as usize); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Err(Error::new( [INFO] [stdout] | _________^ [INFO] [stdout] 87 | | ErrorKind::AddrNotAvailable, [INFO] [stdout] 88 | | "Couldn't bind the requested amount of sequential sockets.", [INFO] [stdout] 89 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/run.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 52 | let (send_stream, recv_stream) = match connection.accept_bi().await { [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 | let connection = Rc::clone(&connection); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | tokio::task::spawn_local(async move { [INFO] [stdout] 63 | match handle_incoming_bi_stream(connection, send_stream, recv_stream).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] --> src/server/local_tunnels.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|stream| stream.local_addr().unwrap_or(UNSPECIFIED_SOCKADDR_V4)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/remote_tunnels.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 57 | let (tcp_stream, _from) = match listener.accept().await { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let connection = Rc::clone(&connection); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | tokio::task::spawn_local(async move { [INFO] [stdout] 67 | match handle_remote_tunnel(connection, tcp_stream, tunnel_id, target_type).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] --> src/shared_socket.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(socket: tokio::net::UdpSocket) -> io::Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let arc = Arc::new(Inner { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Self { arc }) [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 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `portal-tunneler` (bin "portal") due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0be0b1ad35b26fee005168b639a23156f5096be1171045270a16a2b985881072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be0b1ad35b26fee005168b639a23156f5096be1171045270a16a2b985881072", kill_on_drop: false }` [INFO] [stdout] 0be0b1ad35b26fee005168b639a23156f5096be1171045270a16a2b985881072