[INFO] fetching crate trojan_rust 0.1.0... [INFO] checking trojan_rust-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate trojan_rust 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate trojan_rust 0.1.0 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 crates.io crate trojan_rust 0.1.0 [INFO] finished tweaking crates.io crate trojan_rust 0.1.0 [INFO] tweaked toml for crates.io crate trojan_rust 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding rustls v0.22.4 (available: v0.23.13) [INFO] [stderr] Adding rustls-native-certs v0.7.3 (available: v0.8.0) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding tokio-rustls v0.25.0 (available: v0.26.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 002cbc5513fd1e080da6ac018751b1aa49f32de9c6a5d6279c536df5fb79d384 [INFO] running `Command { std: "docker" "start" "-a" "002cbc5513fd1e080da6ac018751b1aa49f32de9c6a5d6279c536df5fb79d384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "002cbc5513fd1e080da6ac018751b1aa49f32de9c6a5d6279c536df5fb79d384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002cbc5513fd1e080da6ac018751b1aa49f32de9c6a5d6279c536df5fb79d384", kill_on_drop: false }` [INFO] [stdout] 002cbc5513fd1e080da6ac018751b1aa49f32de9c6a5d6279c536df5fb79d384 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc1b102a7e1152cd1b2796297c72fafcb221f10a095b50be3045d39dd8da05a4 [INFO] running `Command { std: "docker" "start" "-a" "dc1b102a7e1152cd1b2796297c72fafcb221f10a095b50be3045d39dd8da05a4", kill_on_drop: false }` [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking trojan_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Socks5Acceptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let acceptor = socks5::Socks5Acceptor::new(&addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | / tokio::select! { [INFO] [stdout] 38 | | accept = acceptor.accept() => { [INFO] [stdout] 39 | | match accept { [INFO] [stdout] 40 | | Ok((mut stream,addr)) => { [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [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 `Socks5Acceptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let acceptor = socks5::Socks5Acceptor::new(&addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | / tokio::select! { [INFO] [stdout] 38 | | accept = acceptor.accept() => { [INFO] [stdout] 39 | | match accept { [INFO] [stdout] 40 | | Ok((mut stream,addr)) => { [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [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::io::ReadHalf` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trojan.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | let (mut a_rx, mut a_tx) = tokio::io::split(a); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let e = tokio::select! { [INFO] [stdout] | _____________- [INFO] [stdout] | |_____________| [INFO] [stdout] 85 | | e = t1 => {e} [INFO] [stdout] 86 | | e = t2 => {e} [INFO] [stdout] 87 | | }; [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] | [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::io::ReadHalf` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trojan.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | let (mut a_rx, mut a_tx) = tokio::io::split(a); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let e = tokio::select! { [INFO] [stdout] | _____________- [INFO] [stdout] | |_____________| [INFO] [stdout] 85 | | e = t1 => {e} [INFO] [stdout] 86 | | e = t2 => {e} [INFO] [stdout] 87 | | }; [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] | [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: fields `version`, `command`, `rsv`, and `atype` are never read [INFO] [stdout] --> src/socks5.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub command: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub rsv: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub atype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `command`, `rsv`, and `atype` are never read [INFO] [stdout] --> src/socks5.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub command: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub rsv: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub atype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trojan_rust` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trojan_rust` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dc1b102a7e1152cd1b2796297c72fafcb221f10a095b50be3045d39dd8da05a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1b102a7e1152cd1b2796297c72fafcb221f10a095b50be3045d39dd8da05a4", kill_on_drop: false }` [INFO] [stdout] dc1b102a7e1152cd1b2796297c72fafcb221f10a095b50be3045d39dd8da05a4