[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] 05f0893181126105d7d4a5c9acc9bc221dca6846 [INFO] checking Sajantoor/RetroOxide against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSajantoor%2FRetroOxide" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sajantoor/RetroOxide on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c287c13f4bf11433f160c57b0ef05180e439999e072d1fec9860a1de7a2405b [INFO] running `Command { std: "docker" "start" "-a" "9c287c13f4bf11433f160c57b0ef05180e439999e072d1fec9860a1de7a2405b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c287c13f4bf11433f160c57b0ef05180e439999e072d1fec9860a1de7a2405b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c287c13f4bf11433f160c57b0ef05180e439999e072d1fec9860a1de7a2405b", kill_on_drop: false }` [INFO] [stdout] 9c287c13f4bf11433f160c57b0ef05180e439999e072d1fec9860a1de7a2405b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3e623b4bd5487cbba18107b95a00dda17b162c45b394338925039aca7a799f1 [INFO] running `Command { std: "docker" "start" "-a" "c3e623b4bd5487cbba18107b95a00dda17b162c45b394338925039aca7a799f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [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 pollster v0.3.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling wayland-backend v0.3.12 [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] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [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 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 import: `crate::mappers::mbc1::Mbc1` [INFO] [stdout] --> src/bus/bus.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::mappers::mbc1::Mbc1; [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: `no_mbc::NoMbc` [INFO] [stdout] --> src/mappers/mapper.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | mappers::{mbc1::Mbc1, no_mbc::NoMbc}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mappers::mbc1::Mbc1` [INFO] [stdout] --> src/bus/bus.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::mappers::mbc1::Mbc1; [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: `no_mbc::NoMbc` [INFO] [stdout] --> src/mappers/mapper.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | mappers::{mbc1::Mbc1, no_mbc::NoMbc}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mappers/no_mbc.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/mappers/no_mbc.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mappers/no_mbc.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/mappers/no_mbc.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mapper` is never used [INFO] [stdout] --> src/mappers/mapper.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_mapper(cartridge: &Cartridge) -> impl Mapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mbc1` is never constructed [INFO] [stdout] --> src/mappers/mbc1.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Mbc1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ObjSize` and `ObjEnable` are never constructed [INFO] [stdout] --> src/ppu/lcd.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum LcdControl { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | ObjSize = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | 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: 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: function `get_mapper` is never used [INFO] [stdout] --> src/mappers/mapper.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_mapper(cartridge: &Cartridge) -> impl Mapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mbc1` is never constructed [INFO] [stdout] --> src/mappers/mbc1.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Mbc1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ObjSize` and `ObjEnable` are never constructed [INFO] [stdout] --> src/ppu/lcd.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum LcdControl { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | ObjSize = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | 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: 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 20.76s [INFO] running `Command { std: "docker" "inspect" "c3e623b4bd5487cbba18107b95a00dda17b162c45b394338925039aca7a799f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3e623b4bd5487cbba18107b95a00dda17b162c45b394338925039aca7a799f1", kill_on_drop: false }` [INFO] [stdout] c3e623b4bd5487cbba18107b95a00dda17b162c45b394338925039aca7a799f1