[INFO] cloning repository https://github.com/boxdot/lba1-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boxdot/lba1-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboxdot%2Flba1-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboxdot%2Flba1-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34c8fee7fd957235482babf4a33e908adb879214 [INFO] checking boxdot/lba1-rs/34c8fee7fd957235482babf4a33e908adb879214 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%2Fboxdot%2Flba1-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boxdot/lba1-rs 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/boxdot/lba1-rs [INFO] finished tweaking git repo https://github.com/boxdot/lba1-rs [INFO] tweaked toml for git repo https://github.com/boxdot/lba1-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/boxdot/lba1-rs 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 52970fd3212055f5eb28c1c1f30d5571d4b0b57535653cf0c5218678abd18d0a [INFO] running `Command { std: "docker" "start" "-a" "52970fd3212055f5eb28c1c1f30d5571d4b0b57535653cf0c5218678abd18d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52970fd3212055f5eb28c1c1f30d5571d4b0b57535653cf0c5218678abd18d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52970fd3212055f5eb28c1c1f30d5571d4b0b57535653cf0c5218678abd18d0a", kill_on_drop: false }` [INFO] [stdout] 52970fd3212055f5eb28c1c1f30d5571d4b0b57535653cf0c5218678abd18d0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 296fdbcae0c9d5d4624e4ef441798b809edb3b58b9517595650b2a7e7efd8f78 [INFO] running `Command { std: "docker" "start" "-a" "296fdbcae0c9d5d4624e4ef441798b809edb3b58b9517595650b2a7e7efd8f78", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Checking lba1-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/gamemenu.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let selected = menu[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/gamemenu.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let num_entries = menu[1]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x2` is never read [INFO] [stdout] --> src/gamemenu.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut x2: u32 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/gamemenu.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | fn draw_one_choice(&mut self, x: usize, y: usize, typ: usize, num: usize, select: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:226:61 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:230:42 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/gamemenu.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0_1` [INFO] [stdout] --> src/gamemenu.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0_1` [INFO] [stdout] --> src/gamemenu.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_y0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:246:46 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/gamemenu.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xd` [INFO] [stdout] --> src/gamemenu.rs:246:67 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yd` [INFO] [stdout] --> src/gamemenu.rs:246:76 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/gamemenu.rs:246:85 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/gamemenu.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let selected = menu[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/gamemenu.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let num_entries = menu[1]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x2` is never read [INFO] [stdout] --> src/gamemenu.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut x2: u32 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/gamemenu.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | fn draw_one_choice(&mut self, x: usize, y: usize, typ: usize, num: usize, select: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:226:61 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:230:42 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/gamemenu.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0_1` [INFO] [stdout] --> src/gamemenu.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0_1` [INFO] [stdout] --> src/gamemenu.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_y0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:246:46 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/gamemenu.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xd` [INFO] [stdout] --> src/gamemenu.rs:246:67 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yd` [INFO] [stdout] --> src/gamemenu.rs:246:76 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/gamemenu.rs:246:85 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:27:69 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_X_MIN` is never used [INFO] [stdout] --> src/screen.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CLIP_X_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_Y_MIN` is never used [INFO] [stdout] --> src/screen.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CLIP_Y_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_X_MAX` is never used [INFO] [stdout] --> src/screen.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CLIP_X_MAX: u32 = 639; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_Y_MAX` is never used [INFO] [stdout] --> src/screen.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CLIP_Y_MAX: u32 = 479; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_box` is never used [INFO] [stdout] --> src/screen.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [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] --> src/hqr_ress.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 57 | path: impl AsRef, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let mut file = BufReader::new(File::open(path.as_ref())?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok((file, header)) [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] | 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] | 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/playfla.rs:298:27 [INFO] [stdout] | [INFO] [stdout] 298 | .and_then(|s| CString::from(s).into_string().ok()) [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] --> src/sdl_engine.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 30 | let sdl_context = sdl2::init().map_err(anyhow::Error::msg)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let video_subsystem = sdl_context.video().map_err(anyhow::Error::msg)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | let window = video_subsystem [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut window_canvas = window.into_canvas().present_vsync().build()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let event_pump = sdl_context.event_pump().map_err(anyhow::Error::msg)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | window_canvas, [INFO] [stdout] 48 | | event_pump, [INFO] [stdout] 49 | | buffer_surface: Surface::new(SCREEN_WIDTH, SCREEN_HEIGHT, PixelFormatEnum::Index8) [INFO] [stdout] 50 | | .map_err(anyhow::Error::msg)?, [INFO] [stdout] 51 | | colors_buffer: vec![Color::BLACK; 256], [INFO] [stdout] 52 | | }) [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] | | 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] | | 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] | | 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] | [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: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:27:69 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lba1-rs` (bin "lba1-rs") due to 4 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `CLIP_X_MIN` is never used [INFO] [stdout] --> src/screen.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CLIP_X_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_Y_MIN` is never used [INFO] [stdout] --> src/screen.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CLIP_Y_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_X_MAX` is never used [INFO] [stdout] --> src/screen.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CLIP_X_MAX: u32 = 639; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_Y_MAX` is never used [INFO] [stdout] --> src/screen.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CLIP_Y_MAX: u32 = 479; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_box` is never used [INFO] [stdout] --> src/screen.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [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] --> src/hqr_ress.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 57 | path: impl AsRef, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let mut file = BufReader::new(File::open(path.as_ref())?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok((file, header)) [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] | 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] | 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/playfla.rs:298:27 [INFO] [stdout] | [INFO] [stdout] 298 | .and_then(|s| CString::from(s).into_string().ok()) [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] --> src/sdl_engine.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 30 | let sdl_context = sdl2::init().map_err(anyhow::Error::msg)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let video_subsystem = sdl_context.video().map_err(anyhow::Error::msg)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | let window = video_subsystem [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut window_canvas = window.into_canvas().present_vsync().build()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let event_pump = sdl_context.event_pump().map_err(anyhow::Error::msg)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | window_canvas, [INFO] [stdout] 48 | | event_pump, [INFO] [stdout] 49 | | buffer_surface: Surface::new(SCREEN_WIDTH, SCREEN_HEIGHT, PixelFormatEnum::Index8) [INFO] [stdout] 50 | | .map_err(anyhow::Error::msg)?, [INFO] [stdout] 51 | | colors_buffer: vec![Color::BLACK; 256], [INFO] [stdout] 52 | | }) [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] | | 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] | | 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] | | 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] | [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 3 previous errors; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lba1-rs` (bin "lba1-rs" test) due to 4 previous errors; 42 warnings emitted [INFO] running `Command { std: "docker" "inspect" "296fdbcae0c9d5d4624e4ef441798b809edb3b58b9517595650b2a7e7efd8f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "296fdbcae0c9d5d4624e4ef441798b809edb3b58b9517595650b2a7e7efd8f78", kill_on_drop: false }` [INFO] [stdout] 296fdbcae0c9d5d4624e4ef441798b809edb3b58b9517595650b2a7e7efd8f78