[INFO] cloning repository https://github.com/Alisa-lisa/GameDev [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alisa-lisa/GameDev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlisa-lisa%2FGameDev", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlisa-lisa%2FGameDev'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b5827212d5aaab6961a0119a748633d6e018288 [INFO] checking Alisa-lisa/GameDev/2b5827212d5aaab6961a0119a748633d6e018288 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%2FAlisa-lisa%2FGameDev" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alisa-lisa/GameDev 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/Alisa-lisa/GameDev [INFO] finished tweaking git repo https://github.com/Alisa-lisa/GameDev [INFO] tweaked toml for git repo https://github.com/Alisa-lisa/GameDev written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Alisa-lisa/GameDev 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 98496764792bc9a0edd0901f9126c08bdb2cfb5e13819ca3aa872f230c823ab5 [INFO] running `Command { std: "docker" "start" "-a" "98496764792bc9a0edd0901f9126c08bdb2cfb5e13819ca3aa872f230c823ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98496764792bc9a0edd0901f9126c08bdb2cfb5e13819ca3aa872f230c823ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98496764792bc9a0edd0901f9126c08bdb2cfb5e13819ca3aa872f230c823ab5", kill_on_drop: false }` [INFO] [stdout] 98496764792bc9a0edd0901f9126c08bdb2cfb5e13819ca3aa872f230c823ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ea86b3ec532e3b8d2d66063b2ba89b1467fd8a914d0f2ea206c2df63f28d6f17 [INFO] running `Command { std: "docker" "start" "-a" "ea86b3ec532e3b8d2d66063b2ba89b1467fd8a914d0f2ea206c2df63f28d6f17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Compiling vek v0.11.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Checking ttf-parser v0.8.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Checking owned_ttf_parser v0.8.0 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking ab_glyph v0.2.5 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking shipyard v0.4.1 [INFO] [stderr] Checking ezing v0.2.1 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking rodio v0.11.0 [INFO] [stderr] Checking tetra v0.4.0 [INFO] [stderr] Checking GameDev v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AllStoragesViewMut` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | AllStoragesViewMut, EntitiesViewMut, IntoIter, NonSendSync, Shiperator, View, ViewMut, World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Drawable` [INFO] [stdout] --> src/main.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use tetra::graphics::{self, Color, DrawParams, Drawable, Rectangle, Texture}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | .for_each(|(pos, mut velocity, mut player_animation, _)| { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllStoragesViewMut` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | AllStoragesViewMut, EntitiesViewMut, IntoIter, NonSendSync, Shiperator, View, ViewMut, World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Drawable` [INFO] [stdout] --> src/main.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use tetra::graphics::{self, Color, DrawParams, Drawable, Rectangle, Texture}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:52 [INFO] [stdout] | [INFO] [stdout] 119 | .for_each(|(pos, mut velocity, mut player_animation, _)| { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `breath_cycle_length` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct PlayerAnimation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | breath_cycle_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAnimation` 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 149 | let spritesheet_tex = Texture::new(ctx, "./data/global_spritesheet.png")?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let player_animation_run = Animation::new( [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let world = World::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Ok(GameState { world }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `GameDev` (bin "GameDev") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | .for_each(|(pos, mut velocity, mut player_animation, _)| { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:52 [INFO] [stdout] | [INFO] [stdout] 119 | .for_each(|(pos, mut velocity, mut player_animation, _)| { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `breath_cycle_length` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct PlayerAnimation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | breath_cycle_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAnimation` 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 149 | let spritesheet_tex = Texture::new(ctx, "./data/global_spritesheet.png")?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let player_animation_run = Animation::new( [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let world = World::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Ok(GameState { world }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `GameDev` (bin "GameDev" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea86b3ec532e3b8d2d66063b2ba89b1467fd8a914d0f2ea206c2df63f28d6f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea86b3ec532e3b8d2d66063b2ba89b1467fd8a914d0f2ea206c2df63f28d6f17", kill_on_drop: false }` [INFO] [stdout] ea86b3ec532e3b8d2d66063b2ba89b1467fd8a914d0f2ea206c2df63f28d6f17