[INFO] cloning repository https://github.com/JavaSux/tehtrys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JavaSux/tehtrys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavaSux%2Ftehtrys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavaSux%2Ftehtrys'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a209391d1b5bdf3a82ccf411b474044abf7a9807 [INFO] checking JavaSux/tehtrys/a209391d1b5bdf3a82ccf411b474044abf7a9807 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%2FJavaSux%2Ftehtrys" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JavaSux/tehtrys 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/JavaSux/tehtrys [INFO] finished tweaking git repo https://github.com/JavaSux/tehtrys [INFO] tweaked toml for git repo https://github.com/JavaSux/tehtrys written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JavaSux/tehtrys 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 048d902c23e364c0f9390d85b68201aa4afb4d6758ec9126b74fa4d22b0f98fd [INFO] running `Command { std: "docker" "start" "-a" "048d902c23e364c0f9390d85b68201aa4afb4d6758ec9126b74fa4d22b0f98fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "048d902c23e364c0f9390d85b68201aa4afb4d6758ec9126b74fa4d22b0f98fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048d902c23e364c0f9390d85b68201aa4afb4d6758ec9126b74fa4d22b0f98fd", kill_on_drop: false }` [INFO] [stdout] 048d902c23e364c0f9390d85b68201aa4afb4d6758ec9126b74fa4d22b0f98fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d27b5745bdf4a74355402d156edf083bd101f00769852dbbc54f276d4fbd937a [INFO] running `Command { std: "docker" "start" "-a" "d27b5745bdf4a74355402d156edf083bd101f00769852dbbc54f276d4fbd937a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tehtrys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/engine/mod.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::{Index, IndexMut, Range}, time::Duration, slice::ArrayChunks}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/engine/mod.rs:204:54 [INFO] [stdout] | [INFO] [stdout] 204 | self.0.copy_within(start_of_remainder.., (index * Self::WIDTH)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - self.0.copy_within(start_of_remainder.., (index * Self::WIDTH)); [INFO] [stdout] 204 + self.0.copy_within(start_of_remainder.., index * Self::WIDTH); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `time::Duration` [INFO] [stdout] --> src/interface/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{time::Duration, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_else` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else, bool_to_option, is_sorted, array_chunks)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else, bool_to_option, is_sorted, array_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else, bool_to_option, is_sorted, array_chunks)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/engine/mod.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::{Index, IndexMut, Range}, time::Duration, slice::ArrayChunks}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/engine/mod.rs:204:54 [INFO] [stdout] | [INFO] [stdout] 204 | self.0.copy_within(start_of_remainder.., (index * Self::WIDTH)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - self.0.copy_within(start_of_remainder.., (index * Self::WIDTH)); [INFO] [stdout] 204 + self.0.copy_within(start_of_remainder.., index * Self::WIDTH); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `time::Duration` [INFO] [stdout] --> src/interface/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{time::Duration, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_else` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else, bool_to_option, is_sorted, array_chunks)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else, bool_to_option, is_sorted, array_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else, bool_to_option, is_sorted, array_chunks)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DEBUG_test_cursor` should have a snake case name [INFO] [stdout] --> src/engine/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn DEBUG_test_cursor(&mut self, kind: PieceKind, position: Offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `debug_test_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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/interface/sync_events.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn push_custom_event(&self, event: impl Any) -> Result<(), String> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / self.0 [INFO] [stdout] 17 | | .lock().unwrap() [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/interface/sync_events.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 23 | fn from(subsystem: EventSubsystem) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Self(Arc::new(Mutex::new(subsystem))) [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 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DEBUG_test_cursor` should have a snake case name [INFO] [stdout] --> src/engine/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn DEBUG_test_cursor(&mut self, kind: PieceKind, position: Offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `debug_test_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tehtrys` (bin "tehtrys" test) due to 3 previous errors; 7 warnings 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] --> src/interface/sync_events.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn push_custom_event(&self, event: impl Any) -> Result<(), String> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / self.0 [INFO] [stdout] 17 | | .lock().unwrap() [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] [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] --> src/interface/sync_events.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 23 | fn from(subsystem: EventSubsystem) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Self(Arc::new(Mutex::new(subsystem))) [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] [stderr] error: could not compile `tehtrys` (bin "tehtrys") due to 3 previous errors; 7 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d27b5745bdf4a74355402d156edf083bd101f00769852dbbc54f276d4fbd937a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27b5745bdf4a74355402d156edf083bd101f00769852dbbc54f276d4fbd937a", kill_on_drop: false }` [INFO] [stdout] d27b5745bdf4a74355402d156edf083bd101f00769852dbbc54f276d4fbd937a