[INFO] cloning repository https://github.com/Sajantoor/RetroOxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sajantoor/RetroOxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSajantoor%2FRetroOxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSajantoor%2FRetroOxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df2370f31979a77e745dcd4669d8b3f067a97e1a [INFO] checking Sajantoor/RetroOxide against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSajantoor%2FRetroOxide" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sajantoor/RetroOxide [INFO] finished tweaking git repo https://github.com/Sajantoor/RetroOxide [INFO] tweaked toml for git repo https://github.com/Sajantoor/RetroOxide written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sajantoor/RetroOxide on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sajantoor/RetroOxide 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixels v0.15.0 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6aca0c57e51089837a85ce923c3c59dd4691759b1792b352c61b5aea2b05522 [INFO] running `Command { std: "docker" "start" "-a" "a6aca0c57e51089837a85ce923c3c59dd4691759b1792b352c61b5aea2b05522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6aca0c57e51089837a85ce923c3c59dd4691759b1792b352c61b5aea2b05522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6aca0c57e51089837a85ce923c3c59dd4691759b1792b352c61b5aea2b05522", kill_on_drop: false }` [INFO] [stdout] a6aca0c57e51089837a85ce923c3c59dd4691759b1792b352c61b5aea2b05522 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18a72c4e3247cfe1d08ecd4dacfbfd3827a62419b2f8f304397065e015090f87 [INFO] running `Command { std: "docker" "start" "-a" "18a72c4e3247cfe1d08ecd4dacfbfd3827a62419b2f8f304397065e015090f87", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.10 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking pixels v0.15.0 [INFO] [stderr] Checking gameboy-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/ui.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [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 imports: `Duration` and `Instant` [INFO] [stdout] --> src/ui.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [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 variable: `bus` [INFO] [stdout] --> src/ppu/lcd.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | fn draw_scanline(&self, bus: &mut Bus) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/ppu/lcd.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | fn draw_scanline(&self, bus: &mut Bus) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/ui.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/ui.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ui.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ui.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `run` are never used [INFO] [stdout] --> src/emu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn pause(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mapper` is never used [INFO] [stdout] --> src/mappers/mapper.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_mapper(cartridge: &Cartridge) -> impl Mapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WindowTitleMapArea`, `WindowEnable`, `ObjSize`, and `ObjEnable` are never constructed [INFO] [stdout] --> src/ppu/lcd.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | enum LcdControl { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 32 | LdcEnable = 7, [INFO] [stdout] 33 | WindowTitleMapArea = 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | WindowEnable = 5, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | ObjSize = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | ObjEnable = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LcdControl` 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 `pause` and `run` are never used [INFO] [stdout] --> src/emu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn pause(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_scanline` and `is_window_enabled` are never used [INFO] [stdout] --> src/ppu/lcd.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Lcd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | fn draw_scanline(&self, bus: &mut Bus) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn is_window_enabled(&self, bus: &Bus) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mapper` is never used [INFO] [stdout] --> src/mappers/mapper.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_mapper(cartridge: &Cartridge) -> impl Mapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name`, `rom_size`, and `rom_header` are never read [INFO] [stdout] --> src/rom/cartridge.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cartridge { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | rom_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | rom_data: Vec, [INFO] [stdout] 12 | pub rom_header: RomHeader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WindowTitleMapArea`, `WindowEnable`, `ObjSize`, and `ObjEnable` are never constructed [INFO] [stdout] --> src/ppu/lcd.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | enum LcdControl { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 32 | LdcEnable = 7, [INFO] [stdout] 33 | WindowTitleMapArea = 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | WindowEnable = 5, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | ObjSize = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | ObjEnable = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LcdControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_header_checksum` is never used [INFO] [stdout] --> src/rom/cartridge.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cartridge { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn validate_header_checksum(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_scanline` and `is_window_enabled` are never used [INFO] [stdout] --> src/ppu/lcd.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Lcd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | fn draw_scanline(&self, bus: &mut Bus) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn is_window_enabled(&self, bus: &Bus) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name`, `rom_size`, and `rom_header` are never read [INFO] [stdout] --> src/rom/cartridge.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cartridge { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | rom_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | rom_data: Vec, [INFO] [stdout] 12 | pub rom_header: RomHeader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_header_checksum` is never used [INFO] [stdout] --> src/rom/cartridge.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cartridge { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn validate_header_checksum(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/rom/rom_header.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RomHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | logo: [u8; 48], // 0x0104 - 0x0133 [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | title: String, // 0x0134 - 0x0143 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | cgb_flag: bool, // 0x0143 - ignored by us [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | manufacturer_code: Option, // 0x013F - 0x0143 was part of the title, in new Cartridges contain a 4 character code in ascii [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | new_licensee_code: Option, // 0x0144 - 0x0145 2 character ASCII [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | sgb_flag: bool, // 0x0146 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | cartridge_type: u8, // 0x0147 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | rom_size: u8, // 0x0148 32 KiB × (1 << ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | ram_size: u8, // 0x0149 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | destination_code: DestinationCode, //0x014A [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | old_license_code: OldLicenseCode, // 0x14B [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | mask_rom_version_number: u8, // 0x014C [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub(crate) header_checksum: u8, // 0x014D [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | global_checksum: u16, // 0x014E - 0x014F [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RomHeader` 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_ram_size`, `get_cartridge_type`, and `get_rom_size` are never used [INFO] [stdout] --> src/rom/rom_header.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl RomHeader { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_ram_size(self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn get_cartridge_type(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn get_rom_size(self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/rom/rom_header.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RomHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | logo: [u8; 48], // 0x0104 - 0x0133 [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | title: String, // 0x0134 - 0x0143 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | cgb_flag: bool, // 0x0143 - ignored by us [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | manufacturer_code: Option, // 0x013F - 0x0143 was part of the title, in new Cartridges contain a 4 character code in ascii [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | new_licensee_code: Option, // 0x0144 - 0x0145 2 character ASCII [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | sgb_flag: bool, // 0x0146 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | cartridge_type: u8, // 0x0147 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | rom_size: u8, // 0x0148 32 KiB × (1 << ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | ram_size: u8, // 0x0149 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | destination_code: DestinationCode, //0x014A [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | old_license_code: OldLicenseCode, // 0x14B [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | mask_rom_version_number: u8, // 0x014C [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub(crate) header_checksum: u8, // 0x014D [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | global_checksum: u16, // 0x014E - 0x014F [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RomHeader` 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_ram_size`, `get_cartridge_type`, and `get_rom_size` are never used [INFO] [stdout] --> src/rom/rom_header.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl RomHeader { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_ram_size(self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn get_cartridge_type(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn get_rom_size(self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.74s [INFO] running `Command { std: "docker" "inspect" "18a72c4e3247cfe1d08ecd4dacfbfd3827a62419b2f8f304397065e015090f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a72c4e3247cfe1d08ecd4dacfbfd3827a62419b2f8f304397065e015090f87", kill_on_drop: false }` [INFO] [stdout] 18a72c4e3247cfe1d08ecd4dacfbfd3827a62419b2f8f304397065e015090f87