[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] 0487fc4c0b43f66a7112b5cbb7920644db1f0e9a [INFO] checking Sajantoor/RetroOxide against try#df1b9bf194c9183fb7c0604484171064069ce232 for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSajantoor%2FRetroOxide" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sajantoor/RetroOxide on toolchain df1b9bf194c9183fb7c0604484171064069ce232 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "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" "+df1b9bf194c9183fb7c0604484171064069ce232" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1149c77fdeea472928b98aec4d067887e1e090a420ef252e86a3fc0a5729f96 [INFO] running `Command { std: "docker" "start" "-a" "b1149c77fdeea472928b98aec4d067887e1e090a420ef252e86a3fc0a5729f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1149c77fdeea472928b98aec4d067887e1e090a420ef252e86a3fc0a5729f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1149c77fdeea472928b98aec4d067887e1e090a420ef252e86a3fc0a5729f96", kill_on_drop: false }` [INFO] [stdout] b1149c77fdeea472928b98aec4d067887e1e090a420ef252e86a3fc0a5729f96 [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" "-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38bca397a7f5e75913cfbc4d4df9a528242ea3786cb111e93021fa2ef5b2ab85 [INFO] running `Command { std: "docker" "start" "-a" "38bca397a7f5e75913cfbc4d4df9a528242ea3786cb111e93021fa2ef5b2ab85", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking wayland-sys v0.31.8 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking wayland-backend v0.3.12 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking wayland-client v0.31.12 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.12 [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 smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking pixels v0.15.0 [INFO] [stderr] Checking gameboy-emulator v0.1.0 (/opt/rustwide/workdir) [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:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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: 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 `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: unused variable: `window_id` [INFO] [stdout] --> src/ui.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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: 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 `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.95s [INFO] running `Command { std: "docker" "inspect" "38bca397a7f5e75913cfbc4d4df9a528242ea3786cb111e93021fa2ef5b2ab85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38bca397a7f5e75913cfbc4d4df9a528242ea3786cb111e93021fa2ef5b2ab85", kill_on_drop: false }` [INFO] [stdout] 38bca397a7f5e75913cfbc4d4df9a528242ea3786cb111e93021fa2ef5b2ab85