[INFO] cloning repository https://github.com/etnad101/Gameboy-Emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/etnad101/Gameboy-Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetnad101%2FGameboy-Emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetnad101%2FGameboy-Emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4d324670ea93c12b41cc83522ae30bc0986fb10
[INFO] checking etnad101/Gameboy-Emulator against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetnad101%2FGameboy-Emulator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/etnad101/Gameboy-Emulator
[INFO] finished tweaking git repo https://github.com/etnad101/Gameboy-Emulator
[INFO] tweaked toml for git repo https://github.com/etnad101/Gameboy-Emulator written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/etnad101/Gameboy-Emulator on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/etnad101/Gameboy-Emulator 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e626c8909d5179fe3c4fa947c4b958e4cecc881c989509bab61a37b54d1b498
[INFO] running `Command { std: "docker" "start" "-a" "8e626c8909d5179fe3c4fa947c4b958e4cecc881c989509bab61a37b54d1b498", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e626c8909d5179fe3c4fa947c4b958e4cecc881c989509bab61a37b54d1b498", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e626c8909d5179fe3c4fa947c4b958e4cecc881c989509bab61a37b54d1b498", kill_on_drop: false }`
[INFO] [stdout] 8e626c8909d5179fe3c4fa947c4b958e4cecc881c989509bab61a37b54d1b498
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48b01f1c32baac3ae72d12d952a46752d2b3d62b2b730a9ac74847c359b3a0aa
[INFO] running `Command { std: "docker" "start" "-a" "48b01f1c32baac3ae72d12d952a46752d2b3d62b2b730a9ac74847c359b3a0aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]     Checking rustix v1.1.2
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]     Checking proc-macro2 v1.0.101
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling endi v1.1.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking ordered-stream v0.2.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling xml-rs v0.8.27
[INFO] [stderr]     Checking cursor-icon v1.2.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking accesskit v0.21.1
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking async-lock v3.4.1
[INFO] [stderr]     Checking async-broadcast v0.7.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking async-executor v1.13.3
[INFO] [stderr]    Compiling winit v0.30.12
[INFO] [stderr]     Checking accesskit_consumer v0.30.1
[INFO] [stderr]     Checking flate2 v1.1.4
[INFO] [stderr]     Checking pxfm v0.1.25
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]     Checking dpi v0.1.2
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking memmap2 v0.9.8
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.1
[INFO] [stderr]     Checking epaint_default_fonts v0.33.0
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking png v0.18.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling glutin v0.32.3
[INFO] [stderr]    Compiling glutin-winit v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking async-fs v2.2.0
[INFO] [stderr]    Compiling rfd v0.15.4
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]     Checking pollster v0.4.0
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking gethostname v1.0.2
[INFO] [stderr]     Checking async-io v2.6.0
[INFO] [stderr]     Checking async-signal v0.2.13
[INFO] [stderr]     Checking async-net v2.0.0
[INFO] [stderr]     Checking wayland-client v0.31.11
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking async-process v2.5.0
[INFO] [stderr]     Checking moxcms v0.7.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking emath v0.33.0
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking ecolor v0.33.0
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking epaint v0.33.0
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]    Compiling zvariant_utils v3.2.1
[INFO] [stderr]    Compiling enumflags2 v0.7.12
[INFO] [stderr]    Compiling quick-xml v0.36.2
[INFO] [stderr]     Checking image v0.25.8
[INFO] [stderr]     Checking egui v0.33.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling zvariant_derive v5.7.0
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling zvariant v5.7.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking webbrowser v1.0.5
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]    Compiling zbus_names v4.2.0
[INFO] [stderr]     Checking egui_glow v0.33.0
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.2
[INFO] [stderr]    Compiling zbus_xml v5.0.2
[INFO] [stderr]    Compiling zbus_macros v5.11.0
[INFO] [stderr]    Compiling zbus-lockstep v0.5.1
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.5.1
[INFO] [stderr]     Checking zbus v5.11.0
[INFO] [stderr]     Checking atspi-common v0.9.0
[INFO] [stderr]     Checking ashpd v0.11.0
[INFO] [stderr]     Checking atspi-proxies v0.9.0
[INFO] [stderr]     Checking accesskit_atspi_common v0.14.1
[INFO] [stderr]     Checking atspi-connection v0.9.0
[INFO] [stderr]     Checking atspi v0.25.0
[INFO] [stderr]     Checking accesskit_unix v0.17.1
[INFO] [stderr]     Checking accesskit_winit v0.29.1
[INFO] [stderr]     Checking egui-winit v0.33.0
[INFO] [stderr]     Checking eframe v0.33.0
[INFO] [stderr]     Checking gameboy-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `debug::DebugCtx`
[INFO] [stdout]  --> src/emulator/ppu.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{debug::DebugCtx, LCDRegister};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/gui/components/memory_editor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Palette`
[INFO] [stdout]   --> src/gui/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::Palette;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug::DebugCtx`
[INFO] [stdout]  --> src/emulator/ppu.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{debug::DebugCtx, LCDRegister};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/gui/components/memory_editor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Palette`
[INFO] [stdout]   --> src/gui/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::Palette;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/gui/components/memory_editor.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         mut write: impl FnMut(u16, u8),
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]   --> src/gui/components/memory_editor.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         mut write: impl FnMut(u16, u8),
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dmg_acid2`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let dmg_acid2 = Cartridge::from("./roms/tests/dmg-acid2.gb")?;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dmg_acid2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAY_PALETTE` is never used
[INFO] [stdout]   --> src/main.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const GRAY_PALETTE: Palette = (0xFFFFFF, 0xa9a9a9, 0x545454, 0x000000);
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Tima`, `Tma`, and `Tac` are never constructed
[INFO] [stdout]   --> src/emulator/mod.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | enum Timer {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 67 |     Div,
[INFO] [stdout] 68 |     Tima,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 69 |     Tma,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 70 |     Tac,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pause` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl<B: Bus> Emulator<B> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn pause(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MBC7` and `M161` are never constructed
[INFO] [stdout]   --> src/emulator/cartridge.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub(super) enum MBC {
[INFO] [stdout]    |                 --- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     MBC7,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     MMM01,
[INFO] [stdout] 12 |     M161,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MBC` 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: fields `mbc`, `ram`, `battery`, and `timer` are never read
[INFO] [stdout]   --> src/emulator/cartridge.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Cartridge {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     mbc: Option<MBC>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     ram: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     battery: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 24 |     timer: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bytes` and `mbc` are never used
[INFO] [stdout]    --> src/emulator/cartridge.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Cartridge {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn bytes(&self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub(super) fn mbc(&self) -> Option<MBC> {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_u8` is never used
[INFO] [stdout]   --> src/emulator/cpu/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl DataType {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn as_u8(&self) -> Option<u8> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_state` and `get_state` are never used
[INFO] [stdout]     --> src/emulator/cpu/mod.rs:1247:12
[INFO] [stdout]      |
[INFO] [stdout]   82 | impl<B: Bus> Cpu<B> {
[INFO] [stdout]      | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1247 |     pub fn load_state(&mut self, state: CpuState) {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1251 |     pub fn get_state(&self) -> CpuState {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tile` is never constructed
[INFO] [stdout]   --> src/emulator/debug.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Tile {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from`, `get_data`, and `parse_tile_data` are never used
[INFO] [stdout]   --> src/emulator/debug.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Tile {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 29 |     pub fn from(tile_data: &[u8]) -> Tile {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn get_data(&self) -> [u8; 64] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn parse_tile_data(data: Vec<u8>) -> Vec<Tile> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShowTileMap` and `ShowMemView` are never constructed
[INFO] [stdout]   --> src/emulator/debug.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum DebugFlag {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 68 |     ShowTileMap,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 69 |     ShowRegisters,
[INFO] [stdout] 70 |     ShowMemView,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DebugFlag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `render_tiles` and `render_background_map` are never used
[INFO] [stdout]    --> src/emulator/debug.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl<B: Bus> DebugCtx<B> {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn render_tiles(&mut self) -> FrameBuffer {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub fn render_background_map(&mut self) -> FrameBuffer {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MemError` is never used
[INFO] [stdout]  --> src/emulator/errors.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum MemError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `IntentionalCrash` and `OpcodeError` are never constructed
[INFO] [stdout]   --> src/emulator/errors.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum CpuError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     IntentionalCrash,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     OpcodeError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CpuError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NoProgramRom` is never constructed
[INFO] [stdout]   --> src/emulator/errors.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub enum EmulatorError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] 65 |     IncompatibleRom,
[INFO] [stdout] 66 |     NoProgramRom,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EmulatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `clear`, `get_range`, and `raw_write` are never used
[INFO] [stdout]   --> src/emulator/memory.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Bus {
[INFO] [stdout]    |           --- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn clear(&mut self);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 10 |     fn get_range(&self, range: Range<u16>) -> Vec<u8>;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn raw_write(&mut self, addr: u16, value: u8);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current_bank` is never read
[INFO] [stdout]   --> src/emulator/memory.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct DMGBus {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     current_bank: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Sleep` is never constructed
[INFO] [stdout]   --> src/emulator/ppu.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum FetcherMode {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     Sleep,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `object_fifo` is never read
[INFO] [stdout]   --> src/emulator/ppu.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Ppu<B: Bus> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 77 |     object_fifo: Fifo,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_empty`, `read`, and `raw` are never used
[INFO] [stdout]   --> src/utils/frame_buffer.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FrameBuffer {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn read(&self, index: usize) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn raw(&self) -> &Vec<u32> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/gui/components/memory_editor.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         mut write: impl FnMut(u16, u8),
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]   --> src/gui/components/memory_editor.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         mut write: impl FnMut(u16, u8),
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dmg_acid2`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let dmg_acid2 = Cartridge::from("./roms/tests/dmg-acid2.gb")?;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dmg_acid2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAY_PALETTE` is never used
[INFO] [stdout]   --> src/main.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const GRAY_PALETTE: Palette = (0xFFFFFF, 0xa9a9a9, 0x545454, 0x000000);
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Tima`, `Tma`, and `Tac` are never constructed
[INFO] [stdout]   --> src/emulator/mod.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | enum Timer {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 67 |     Div,
[INFO] [stdout] 68 |     Tima,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 69 |     Tma,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 70 |     Tac,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pause` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl<B: Bus> Emulator<B> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn pause(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MBC7` and `M161` are never constructed
[INFO] [stdout]   --> src/emulator/cartridge.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub(super) enum MBC {
[INFO] [stdout]    |                 --- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     MBC7,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     MMM01,
[INFO] [stdout] 12 |     M161,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MBC` 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: fields `mbc`, `ram`, `battery`, and `timer` are never read
[INFO] [stdout]   --> src/emulator/cartridge.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Cartridge {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     mbc: Option<MBC>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     ram: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     battery: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 24 |     timer: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bytes` and `mbc` are never used
[INFO] [stdout]    --> src/emulator/cartridge.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Cartridge {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn bytes(&self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub(super) fn mbc(&self) -> Option<MBC> {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_u8` is never used
[INFO] [stdout]   --> src/emulator/cpu/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl DataType {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn as_u8(&self) -> Option<u8> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tile` is never constructed
[INFO] [stdout]   --> src/emulator/debug.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Tile {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from`, `get_data`, and `parse_tile_data` are never used
[INFO] [stdout]   --> src/emulator/debug.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Tile {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 29 |     pub fn from(tile_data: &[u8]) -> Tile {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn get_data(&self) -> [u8; 64] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn parse_tile_data(data: Vec<u8>) -> Vec<Tile> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShowTileMap` and `ShowMemView` are never constructed
[INFO] [stdout]   --> src/emulator/debug.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum DebugFlag {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 68 |     ShowTileMap,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 69 |     ShowRegisters,
[INFO] [stdout] 70 |     ShowMemView,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DebugFlag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `render_tiles` and `render_background_map` are never used
[INFO] [stdout]    --> src/emulator/debug.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl<B: Bus> DebugCtx<B> {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn render_tiles(&mut self) -> FrameBuffer {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub fn render_background_map(&mut self) -> FrameBuffer {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MemError` is never used
[INFO] [stdout]  --> src/emulator/errors.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum MemError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `IntentionalCrash` and `OpcodeError` are never constructed
[INFO] [stdout]   --> src/emulator/errors.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum CpuError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     IntentionalCrash,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     OpcodeError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CpuError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NoProgramRom` is never constructed
[INFO] [stdout]   --> src/emulator/errors.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub enum EmulatorError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] 65 |     IncompatibleRom,
[INFO] [stdout] 66 |     NoProgramRom,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EmulatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_range` and `raw_write` are never used
[INFO] [stdout]   --> src/emulator/memory.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Bus {
[INFO] [stdout]    |           --- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn get_range(&self, range: Range<u16>) -> Vec<u8>;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn raw_write(&mut self, addr: u16, value: u8);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current_bank` is never read
[INFO] [stdout]   --> src/emulator/memory.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct DMGBus {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     current_bank: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Sleep` is never constructed
[INFO] [stdout]   --> src/emulator/ppu.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum FetcherMode {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     Sleep,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `object_fifo` is never read
[INFO] [stdout]   --> src/emulator/ppu.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Ppu<B: Bus> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 77 |     object_fifo: Fifo,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_empty`, `read`, and `raw` are never used
[INFO] [stdout]   --> src/utils/frame_buffer.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FrameBuffer {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn read(&self, index: usize) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn raw(&self) -> &Vec<u32> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.62s
[INFO] running `Command { std: "docker" "inspect" "48b01f1c32baac3ae72d12d952a46752d2b3d62b2b730a9ac74847c359b3a0aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48b01f1c32baac3ae72d12d952a46752d2b3d62b2b730a9ac74847c359b3a0aa", kill_on_drop: false }`
[INFO] [stdout] 48b01f1c32baac3ae72d12d952a46752d2b3d62b2b730a9ac74847c359b3a0aa
