[INFO] cloning repository https://github.com/luisgabrielroldan/gamebrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luisgabrielroldan/gamebrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf37a3f4e23d6c4e7c66e1f0973ac27750ad2fdd [INFO] checking luisgabrielroldan/gamebrust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luisgabrielroldan/gamebrust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luisgabrielroldan/gamebrust [INFO] finished tweaking git repo https://github.com/luisgabrielroldan/gamebrust [INFO] tweaked toml for git repo https://github.com/luisgabrielroldan/gamebrust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luisgabrielroldan/gamebrust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xkbcommon-sys v0.7.4 [INFO] [stderr] Downloaded wayland-sys v0.25.0 [INFO] [stderr] Downloaded wayland-protocols v0.25.0 [INFO] [stderr] Downloaded wayland-cursor v0.25.0 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded wayland-client v0.25.0 [INFO] [stderr] Downloaded minifb v0.17.0 [INFO] [stderr] Downloaded wayland-commons v0.25.0 [INFO] [stderr] Downloaded wayland-scanner v0.25.0 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded orbclient v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b2c1318938c7a8f0074721df8205b424b163046a395207d6dda0c89f2b752e2 [INFO] running `Command { std: "docker" "start" "-a" "0b2c1318938c7a8f0074721df8205b424b163046a395207d6dda0c89f2b752e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b2c1318938c7a8f0074721df8205b424b163046a395207d6dda0c89f2b752e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2c1318938c7a8f0074721df8205b424b163046a395207d6dda0c89f2b752e2", kill_on_drop: false }` [INFO] [stdout] 0b2c1318938c7a8f0074721df8205b424b163046a395207d6dda0c89f2b752e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d289c573925d0ab1c0c88ce7410f8f396b3d3fbc52ec43ddaa52937a762209f8 [INFO] running `Command { std: "docker" "start" "-a" "d289c573925d0ab1c0c88ce7410f8f396b3d3fbc52ec43ddaa52937a762209f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking wayland-sys v0.25.0 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | R16::SP => (self.sp), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - R16::SP => (self.sp), [INFO] [stdout] 145 + R16::SP => self.sp, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | R16::PC => (self.pc), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - R16::PC => (self.pc), [INFO] [stdout] 146 + R16::PC => self.pc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> core/src/ppu/mod.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] 185 + self.framebuffer[self.ly as usize * SCREEN_W as usize + x as usize] = color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/ppu/mod.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] 238 + let tile = self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn dump(&mut self, mem: &mut dyn Memory) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/registers.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Registers { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_divider` is never used [INFO] [stdout] --> core/src/io/timer.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn set_divider(&mut self, divider: Divider) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cgb`, `sgb`, `rom_size`, `rom_banks`, and `ram_banks` are never read [INFO] [stdout] --> core/src/cartridge/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | cgb: CGB, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | sgb: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | mbc_type: u8, [INFO] [stdout] 64 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | rom_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | ram_size: usize, [INFO] [stdout] 67 | ram_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> core/src/memory/mmu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl OAMDma { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn start(&mut self, from: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_priority` is never read [INFO] [stdout] --> core/src/ppu/sprite.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub bg_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling minifb v0.17.0 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking wayland-commons v0.25.0 [INFO] [stderr] Checking wayland-cursor v0.25.0 [INFO] [stderr] Checking gamebrust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_thread` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let cpu_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_thread` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let cpu_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_step` is never read [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut last_step = Instant::now(); [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: value assigned to `last_step` is never read [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut last_step = Instant::now(); [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.51s [INFO] running `Command { std: "docker" "inspect" "d289c573925d0ab1c0c88ce7410f8f396b3d3fbc52ec43ddaa52937a762209f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d289c573925d0ab1c0c88ce7410f8f396b3d3fbc52ec43ddaa52937a762209f8", kill_on_drop: false }` [INFO] [stdout] d289c573925d0ab1c0c88ce7410f8f396b3d3fbc52ec43ddaa52937a762209f8 [INFO] checking luisgabrielroldan/gamebrust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust" "/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/luisgabrielroldan/gamebrust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luisgabrielroldan/gamebrust [INFO] finished tweaking git repo https://github.com/luisgabrielroldan/gamebrust [INFO] tweaked toml for git repo https://github.com/luisgabrielroldan/gamebrust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/luisgabrielroldan/gamebrust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91664283d095407e3b16ac6e0dc901f3139694ab9f005d831df5372940237f35 [INFO] running `Command { std: "docker" "start" "-a" "91664283d095407e3b16ac6e0dc901f3139694ab9f005d831df5372940237f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91664283d095407e3b16ac6e0dc901f3139694ab9f005d831df5372940237f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91664283d095407e3b16ac6e0dc901f3139694ab9f005d831df5372940237f35", kill_on_drop: false }` [INFO] [stdout] 91664283d095407e3b16ac6e0dc901f3139694ab9f005d831df5372940237f35 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ee978c3a3a0f36b8288c1cfd0e37b6750b0f85392a7b74c360603909ec65749 [INFO] running `Command { std: "docker" "start" "-a" "2ee978c3a3a0f36b8288c1cfd0e37b6750b0f85392a7b74c360603909ec65749", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking wayland-sys v0.25.0 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | R16::SP => (self.sp), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - R16::SP => (self.sp), [INFO] [stdout] 145 + R16::SP => self.sp, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | R16::PC => (self.pc), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - R16::PC => (self.pc), [INFO] [stdout] 146 + R16::PC => self.pc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> core/src/ppu/mod.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] 185 + self.framebuffer[self.ly as usize * SCREEN_W as usize + x as usize] = color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/ppu/mod.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] 238 + let tile = self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn dump(&mut self, mem: &mut dyn Memory) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/registers.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Registers { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_divider` is never used [INFO] [stdout] --> core/src/io/timer.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn set_divider(&mut self, divider: Divider) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cgb`, `sgb`, `rom_size`, `rom_banks`, and `ram_banks` are never read [INFO] [stdout] --> core/src/cartridge/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | cgb: CGB, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | sgb: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | mbc_type: u8, [INFO] [stdout] 64 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | rom_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | ram_size: usize, [INFO] [stdout] 67 | ram_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> core/src/memory/mmu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl OAMDma { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn start(&mut self, from: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_priority` is never read [INFO] [stdout] --> core/src/ppu/sprite.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub bg_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] --> core/src/lib.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(cartridge: Cartridge, display: Box, bootroom: bool) -> Self { [INFO] [stdout] | -------------------- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | mmu: MMU::new(cartridge, display, bootroom), [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] --> core/src/cartridge/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 21 | let mut file = File::open(rom_path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let mbc: Box = match header.mbc_type { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 35 | | mbc: mbc, [INFO] [stdout] 36 | | header: header, [INFO] [stdout] 37 | | }) [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] | [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] --> core/src/memory/mmu.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Cartridge, display: Box, bootrom: bool) -> Self { [INFO] [stdout] | -------------------- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | ppu: PPU::new(display), [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core` (lib) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2ee978c3a3a0f36b8288c1cfd0e37b6750b0f85392a7b74c360603909ec65749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee978c3a3a0f36b8288c1cfd0e37b6750b0f85392a7b74c360603909ec65749", kill_on_drop: false }` [INFO] [stdout] 2ee978c3a3a0f36b8288c1cfd0e37b6750b0f85392a7b74c360603909ec65749