[INFO] cloning repository https://github.com/Lin-Guanguo/port-forward [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lin-Guanguo/port-forward" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLin-Guanguo%2Fport-forward", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLin-Guanguo%2Fport-forward'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f47f9a3ae77c430abc9e17f5b2899fa52740ca2 [INFO] checking Lin-Guanguo/port-forward/6f47f9a3ae77c430abc9e17f5b2899fa52740ca2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLin-Guanguo%2Fport-forward" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lin-Guanguo/port-forward on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lin-Guanguo/port-forward [INFO] finished tweaking git repo https://github.com/Lin-Guanguo/port-forward [INFO] tweaked toml for git repo https://github.com/Lin-Guanguo/port-forward written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lin-Guanguo/port-forward already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67b435241e67aa1c9c9cf9420d98269031c2476583655d39a0965f6f03dfdf6b [INFO] running `Command { std: "docker" "start" "-a" "67b435241e67aa1c9c9cf9420d98269031c2476583655d39a0965f6f03dfdf6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67b435241e67aa1c9c9cf9420d98269031c2476583655d39a0965f6f03dfdf6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b435241e67aa1c9c9cf9420d98269031c2476583655d39a0965f6f03dfdf6b", kill_on_drop: false }` [INFO] [stdout] 67b435241e67aa1c9c9cf9420d98269031c2476583655d39a0965f6f03dfdf6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df3581455b11acf2aa673c77cff5b4aa35b232b1d09796d2de80f86213973842 [INFO] running `Command { std: "docker" "start" "-a" "df3581455b11acf2aa673c77cff5b4aa35b232b1d09796d2de80f86213973842", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rlua v0.18.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking port-forward v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `tokio::sync::broadcast::Sender<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 100 | async fn handle_first_conncetion(&self, mut main_connection: TcpStream) -> anyhow::Result<()> { [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let (shutdown_sender, shutdown_receiver) = broadcast::channel::<()>(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | / tokio::select! { [INFO] [stdout] 141 | | new_tunnel = new_tunnel_receiver.recv() => { [INFO] [stdout] 142 | | if let Some((client_port, connection, addr)) = new_tunnel { [INFO] [stdout] 143 | | println!("new tunnel from: {:?}", addr); [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::broadcast::Sender<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 100 | async fn handle_first_conncetion(&self, mut main_connection: TcpStream) -> anyhow::Result<()> { [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let (shutdown_sender, shutdown_receiver) = broadcast::channel::<()>(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | / tokio::select! { [INFO] [stdout] 141 | | new_tunnel = new_tunnel_receiver.recv() => { [INFO] [stdout] 142 | | if let Some((client_port, connection, addr)) = new_tunnel { [INFO] [stdout] 143 | | println!("new tunnel from: {:?}", addr); [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 192 | mut shutdown_receiver: broadcast::Receiver<()>, [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | new_tunnel_sender: mpsc::Sender<(i32, TcpStream, SocketAddr)>, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let tunnel_listener = Server::listen(server_port).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | loop { [INFO] [stdout] 199 | / tokio::select! { [INFO] [stdout] 200 | | tunnel = tunnel_listener.accept() => { [INFO] [stdout] 201 | | let tunnel = tunnel?; [INFO] [stdout] 202 | | new_tunnel_sender.send((client_port, tunnel.0, tunnel.1)).await?; [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [INFO] [stdout] 207 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 192 | mut shutdown_receiver: broadcast::Receiver<()>, [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | new_tunnel_sender: mpsc::Sender<(i32, TcpStream, SocketAddr)>, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let tunnel_listener = Server::listen(server_port).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | loop { [INFO] [stdout] 199 | / tokio::select! { [INFO] [stdout] 200 | | tunnel = tunnel_listener.accept() => { [INFO] [stdout] 201 | | let tunnel = tunnel?; [INFO] [stdout] 202 | | new_tunnel_sender.send((client_port, tunnel.0, tunnel.1)).await?; [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [INFO] [stdout] 207 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_CLIENT_BEAT` is never used [INFO] [stdout] --> src/protocols.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MSG_CLIENT_BEAT: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_SERVER_BEAT` is never used [INFO] [stdout] --> src/protocols.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MSG_SERVER_BEAT: u8 = 129; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_CLIENT_BEAT` is never used [INFO] [stdout] --> src/protocols.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MSG_CLIENT_BEAT: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_SERVER_BEAT` is never used [INFO] [stdout] --> src/protocols.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MSG_SERVER_BEAT: u8 = 129; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `port-forward` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `port-forward` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "df3581455b11acf2aa673c77cff5b4aa35b232b1d09796d2de80f86213973842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3581455b11acf2aa673c77cff5b4aa35b232b1d09796d2de80f86213973842", kill_on_drop: false }` [INFO] [stdout] df3581455b11acf2aa673c77cff5b4aa35b232b1d09796d2de80f86213973842