[INFO] cloning repository https://github.com/LibNyanpasu/nyanpasu-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LibNyanpasu/nyanpasu-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibNyanpasu%2Fnyanpasu-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibNyanpasu%2Fnyanpasu-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26c9286a77dfb31027ab69b9164fe2c13a15ab6c [INFO] checking LibNyanpasu/nyanpasu-utils/26c9286a77dfb31027ab69b9164fe2c13a15ab6c 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%2FLibNyanpasu%2Fnyanpasu-utils" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LibNyanpasu/nyanpasu-utils 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/LibNyanpasu/nyanpasu-utils [INFO] finished tweaking git repo https://github.com/LibNyanpasu/nyanpasu-utils [INFO] tweaked toml for git repo https://github.com/LibNyanpasu/nyanpasu-utils written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LibNyanpasu/nyanpasu-utils 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] 838a3b2e78430bfc280599f4703be59cdaae17ede6616f825f475ac0c79774f6 [INFO] running `Command { std: "docker" "start" "-a" "838a3b2e78430bfc280599f4703be59cdaae17ede6616f825f475ac0c79774f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "838a3b2e78430bfc280599f4703be59cdaae17ede6616f825f475ac0c79774f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838a3b2e78430bfc280599f4703be59cdaae17ede6616f825f475ac0c79774f6", kill_on_drop: false }` [INFO] [stdout] 838a3b2e78430bfc280599f4703be59cdaae17ede6616f825f475ac0c79774f6 [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] f5cf4b8d769735290f23e653fd1aa929ff6f55d74d6bda93e9a5bd82d104d01d [INFO] running `Command { std: "docker" "start" "-a" "f5cf4b8d769735290f23e653fd1aa929ff6f55d74d6bda93e9a5bd82d104d01d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling kill_tree v0.2.4 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking constcat v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking shared_child v1.0.1 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking os-utils v0.1.0 (/opt/rustwide/workdir/os-utils) [INFO] [stderr] Checking sysinfo v0.31.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking dirs-utils v0.1.0 (/opt/rustwide/workdir/dirs-utils) [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking nyanpasu-utils v0.1.0 (/opt/rustwide/workdir/nyanpasu-utils) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nyanpasu-utils/src/io/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `downloaded` is never read [INFO] [stdout] --> nyanpasu-utils/src/core/definition.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct CoreMetaData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 150 | downloaded: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_NEW_PROCESS_GROUP` is never used [INFO] [stdout] --> nyanpasu-utils/src/core/instance.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const CREATE_NEW_PROCESS_GROUP: u32 = 0x00000200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_NO_WINDOW` is never used [INFO] [stdout] --> nyanpasu-utils/src/core/instance.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CREATE_NO_WINDOW: u32 = 0x08000000; [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] --> nyanpasu-utils/src/core/instance.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 212 | let state_ = self.state.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let tx_ = tx.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | .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] --> nyanpasu-utils/src/core/instance.rs:238:90 [INFO] [stdout] | [INFO] [stdout] 213 | let tx_ = tx.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | block_on(async move { tx_.send(CommandEvent::Error(err.to_string())).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] --> nyanpasu-utils/src/core/instance.rs:255:90 [INFO] [stdout] | [INFO] [stdout] 182 | let (tx, rx) = tokio::sync::mpsc::channel::(1); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let _ = block_on(async move { tx.send(CommandEvent::DelayCheckpointPass).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] --> nyanpasu-utils/src/core/utils.rs:74:83 [INFO] [stdout] | [INFO] [stdout] 71 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let tx_ = tx.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | runtime::spawn( [INFO] [stdout] 74 | async move { tx_.send(CommandEvent::Error(e.to_string())).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: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nyanpasu-utils` (lib) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nyanpasu-utils/src/io/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `downloaded` is never read [INFO] [stdout] --> nyanpasu-utils/src/core/definition.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct CoreMetaData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 150 | downloaded: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_NEW_PROCESS_GROUP` is never used [INFO] [stdout] --> nyanpasu-utils/src/core/instance.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const CREATE_NEW_PROCESS_GROUP: u32 = 0x00000200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_NO_WINDOW` is never used [INFO] [stdout] --> nyanpasu-utils/src/core/instance.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CREATE_NO_WINDOW: u32 = 0x08000000; [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] --> nyanpasu-utils/src/core/instance.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 212 | let state_ = self.state.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let tx_ = tx.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | .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] --> nyanpasu-utils/src/core/instance.rs:238:90 [INFO] [stdout] | [INFO] [stdout] 213 | let tx_ = tx.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | block_on(async move { tx_.send(CommandEvent::Error(err.to_string())).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] --> nyanpasu-utils/src/core/instance.rs:255:90 [INFO] [stdout] | [INFO] [stdout] 182 | let (tx, rx) = tokio::sync::mpsc::channel::(1); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let _ = block_on(async move { tx.send(CommandEvent::DelayCheckpointPass).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] --> nyanpasu-utils/src/core/utils.rs:74:83 [INFO] [stdout] | [INFO] [stdout] 71 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let tx_ = tx.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | runtime::spawn( [INFO] [stdout] 74 | async move { tx_.send(CommandEvent::Error(e.to_string())).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: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nyanpasu-utils` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5cf4b8d769735290f23e653fd1aa929ff6f55d74d6bda93e9a5bd82d104d01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5cf4b8d769735290f23e653fd1aa929ff6f55d74d6bda93e9a5bd82d104d01d", kill_on_drop: false }` [INFO] [stdout] f5cf4b8d769735290f23e653fd1aa929ff6f55d74d6bda93e9a5bd82d104d01d