[INFO] cloning repository https://github.com/cmdneo/gbemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmdneo/gbemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmdneo%2Fgbemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmdneo%2Fgbemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e30749d7b60b068a637a605c6f80954d8254ea5 [INFO] checking cmdneo/gbemu/0e30749d7b60b068a637a605c6f80954d8254ea5 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%2Fcmdneo%2Fgbemu" "/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/cmdneo/gbemu 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/cmdneo/gbemu [INFO] finished tweaking git repo https://github.com/cmdneo/gbemu [INFO] tweaked toml for git repo https://github.com/cmdneo/gbemu written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cmdneo/gbemu 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 358272328ffd1312e00503b3aa6df3eb48d3ea783839833fd647a83e285aa767 [INFO] running `Command { std: "docker" "start" "-a" "358272328ffd1312e00503b3aa6df3eb48d3ea783839833fd647a83e285aa767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "358272328ffd1312e00503b3aa6df3eb48d3ea783839833fd647a83e285aa767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358272328ffd1312e00503b3aa6df3eb48d3ea783839833fd647a83e285aa767", kill_on_drop: false }` [INFO] [stdout] 358272328ffd1312e00503b3aa6df3eb48d3ea783839833fd647a83e285aa767 [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] 7af24c8eab18abbe553c6a221f7287dbde295ad3319b2d217ecef76864daf49a [INFO] running `Command { std: "docker" "start" "-a" "7af24c8eab18abbe553c6a221f7287dbde295ad3319b2d217ecef76864daf49a", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling miniquad v0.4.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.12 [INFO] [stderr] Checking gbemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `CART_HEADER` is never used [INFO] [stdout] --> src/info.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) const CART_HEADER: URange = 0x100..=0x14F; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_HEADER` is never used [INFO] [stdout] --> src/info.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) const CART_HEADER: URange = 0x100..=0x14F; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_ENTRY` is never used [INFO] [stdout] --> src/info.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) const CART_ENTRY: URange = 0x100..=0x103; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_ENTRY` is never used [INFO] [stdout] --> src/info.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) const CART_ENTRY: URange = 0x100..=0x103; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_LOGO` is never used [INFO] [stdout] --> src/info.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) const CART_LOGO: URange = 0x104..=0x133; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_LOGO` is never used [INFO] [stdout] --> src/info.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) const CART_LOGO: URange = 0x104..=0x133; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_TITLE` is never used [INFO] [stdout] --> src/info.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pub(crate) const CART_TITLE: URange = 0x134..=0x143; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_TITLE` is never used [INFO] [stdout] --> src/info.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pub(crate) const CART_TITLE: URange = 0x134..=0x143; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_SGB_FLAG` is never used [INFO] [stdout] --> src/info.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) const CART_SGB_FLAG: usize = 0x146; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_RAM_SIZE` is never used [INFO] [stdout] --> src/info.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | pub(crate) const CART_RAM_SIZE: usize = 0x149; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_HEADER_CSUM` is never used [INFO] [stdout] --> src/info.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) const CART_HEADER_CSUM: usize = 0x14D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_SGB_FLAG` is never used [INFO] [stdout] --> src/info.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) const CART_SGB_FLAG: usize = 0x146; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_GLOBAL_CSUM` is never used [INFO] [stdout] --> src/info.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | pub(crate) const CART_GLOBAL_CSUM: URange = 0x14E..=0x14F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_LOGO_VAL` is never used [INFO] [stdout] --> src/info.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | pub(crate) const CART_LOGO_VAL: [u8; 48] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_RAM_SIZE` is never used [INFO] [stdout] --> src/info.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | pub(crate) const CART_RAM_SIZE: usize = 0x149; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_SGB_TOO` is never used [INFO] [stdout] --> src/info.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) const CART_SGB_TOO: u8 = 0x03; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_HEADER_CSUM` is never used [INFO] [stdout] --> src/info.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) const CART_HEADER_CSUM: usize = 0x14D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug` is never used [INFO] [stdout] --> src/log.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn debug(m: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_GLOBAL_CSUM` is never used [INFO] [stdout] --> src/info.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | pub(crate) const CART_GLOBAL_CSUM: URange = 0x14E..=0x14F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_LOGO_VAL` is never used [INFO] [stdout] --> src/info.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | pub(crate) const CART_LOGO_VAL: [u8; 48] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CART_SGB_TOO` is never used [INFO] [stdout] --> src/info.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) const CART_SGB_TOO: u8 = 0x03; [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/cpu.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn new(mmu: Mmu) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | ..Default::default() [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] warning: function `debug` is never used [INFO] [stdout] --> src/log.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn debug(m: &str) { [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/cpu.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn new(mmu: Mmu) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | ..Default::default() [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/emulator.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 33 | let cartidge = Cartidge::new(rom)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mmu = Mmu::new(cartidge); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let cpu = Cpu::new(mmu); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | [INFO] [stdout] 37 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | cpu, [INFO] [stdout] 39 | | ppu: Ppu::new(), [INFO] [stdout] 40 | | timer: Timer::new(), [INFO] [stdout] ... | [INFO] [stdout] 46 | | frame_requested: false, [INFO] [stdout] 47 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/emulator.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 33 | let cartidge = Cartidge::new(rom)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mmu = Mmu::new(cartidge); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let cpu = Cpu::new(mmu); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | [INFO] [stdout] 37 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | cpu, [INFO] [stdout] 39 | | ppu: Ppu::new(), [INFO] [stdout] 40 | | timer: Timer::new(), [INFO] [stdout] ... | [INFO] [stdout] 46 | | frame_requested: false, [INFO] [stdout] 47 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gbemu` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gbemu` (lib test) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7af24c8eab18abbe553c6a221f7287dbde295ad3319b2d217ecef76864daf49a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af24c8eab18abbe553c6a221f7287dbde295ad3319b2d217ecef76864daf49a", kill_on_drop: false }` [INFO] [stdout] 7af24c8eab18abbe553c6a221f7287dbde295ad3319b2d217ecef76864daf49a