[INFO] cloning repository https://github.com/pokemium/toysnes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pokemium/toysnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokemium%2Ftoysnes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokemium%2Ftoysnes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] db199e000d930768f4052b7e9e92a083e853c05e
[INFO] checking pokemium/toysnes/db199e000d930768f4052b7e9e92a083e853c05e against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokemium%2Ftoysnes" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pokemium/toysnes
[INFO] finished tweaking git repo https://github.com/pokemium/toysnes
[INFO] tweaked toml for git repo https://github.com/pokemium/toysnes written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pokemium/toysnes on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pokemium/toysnes 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" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-xid v0.2.2
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] [stderr]   Downloaded modular-bitfield-impl v0.11.2
[INFO] [stderr]   Downloaded modular-bitfield v0.11.2
[INFO] [stderr]   Downloaded bytesize v1.1.0
[INFO] [stderr]   Downloaded bitmatch v0.1.1
[INFO] [stderr]   Downloaded quote v1.0.15
[INFO] [stderr]   Downloaded boolean_expression v0.3.11
[INFO] [stderr]   Downloaded smallvec v1.8.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.36
[INFO] [stderr]   Downloaded serde_derive v1.0.136
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded syn v1.0.86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399
[INFO] running `Command { std: "docker" "start" "6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling boolean_expression v0.3.11
[INFO] [stderr]    Compiling modular-bitfield-impl v0.11.2
[INFO] [stderr]    Compiling bitmatch v0.1.1
[INFO] [stderr]     Checking modular-bitfield v0.11.2
[INFO] [stderr]     Checking bytesize v1.1.0
[INFO] [stderr]     Checking toysnes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]  --> src/constants.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stdout]   |                             ^                             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 - pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stdout] 8 + pub const ROM_SIZE: usize = MAX_ROM_SIZE + 0x200 + 0x8000;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `load8`
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:97:43
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use crate::sfc::{cpu::cycles, load16, load8};
[INFO] [stdout]    |                                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]  --> src/constants.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stdout]   |                             ^                             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 - pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stdout] 8 + pub const ROM_SIZE: usize = MAX_ROM_SIZE + 0x200 + 0x8000;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `load8`
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:97:43
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use crate::sfc::{cpu::cycles, load16, load8};
[INFO] [stdout]    |                                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/sfc/mod.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             todo!();
[INFO] [stdout]    |             ------- any code following this expression is unreachable
[INFO] [stdout] 62 |             return 0;
[INFO] [stdout]    |             ^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> src/sfc/cpu/instruction.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn op00(c: &mut Cpu, _: u8) {}
[INFO] [stdout]   |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn op02(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]  --> src/sfc/cpu/io.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub fn read_io8(&mut self, addr: u16) -> u8 {
[INFO] [stdout]   |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/cpu/io.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/cpu/io.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/sfc/mod.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             todo!();
[INFO] [stdout]    |             ------- any code following this expression is unreachable
[INFO] [stdout] 62 |             return 0;
[INFO] [stdout]    |             ^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/sfc/cpu/mod.rs:135:41
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stdout]     |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:44:29
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn load8(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u8 {
[INFO] [stdout]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bank`
[INFO] [stdout]   --> src/sfc/mod.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ofs`
[INFO] [stdout]   --> src/sfc/mod.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ofs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:70:35
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bank`
[INFO] [stdout]   --> src/sfc/mod.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |           ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/mod.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/mod.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bank`
[INFO] [stdout]   --> src/sfc/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/mod.rs:80:22
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/mod.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:80:43
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn get() -> &'static Scheduler {
[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 `cycles` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn cycles() -> i64 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reschedule` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn reschedule(e: &mut Event, after: i64) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `schedule_abs` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn schedule_abs(e: &mut Event, when: i64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deschedule` is never used
[INFO] [stdout]    --> src/scheduler/mod.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn deschedule(e: &mut Event) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cartridge_info` and `unimplemented_opcode` are never used
[INFO] [stdout]   --> src/sfc/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl SuperFamicom {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn cartridge_info(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn unimplemented_opcode(&self) -> [bool; 256] {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rom` and `sram` are never read
[INFO] [stdout]   --> src/sfc/cartridge/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Cartridge {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub rom: Vec<u8>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 12 |     pub sram: Box<[u8; SRAM_SIZE]>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `map_mode` and `chipset` are never read
[INFO] [stdout]   --> src/sfc/cartridge/header.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Header {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub map_mode: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub chipset: u8,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `wram` is never read
[INFO] [stdout]   --> src/sfc/cpu/mod.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Cpu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 19 |     pub cartridge: cartridge::Cartridge,
[INFO] [stdout] 20 |     pub wram: Box<[u8; WRAM_SIZE]>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> src/sfc/cpu/instruction.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn op00(c: &mut Cpu, _: u8) {}
[INFO] [stdout]   |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/sfc/cpu/mod.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn get() -> &'static Cpu {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `unimplemented` and `set_active_region` are never used
[INFO] [stdout]    --> src/sfc/cpu/mod.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout]  59 | impl Cpu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn unimplemented(&self) -> [bool; 256] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `absolute_y`, `far`, and `far_y` are never used
[INFO] [stdout]   --> src/sfc/cpu/addr.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Cpu {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn absolute_y(&mut self) -> (u8, u16) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn far(&mut self) -> (u8, u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn far_y(&mut self) -> (u8, u16) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m1` is never used
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m1` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m1` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 207 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_io8` is never used
[INFO] [stdout]   --> src/sfc/cpu/io.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Cpu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn op02(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `emulation` are never read
[INFO] [stdout]   --> src/sfc/cpu/register.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct Register {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub y: u16,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub emulation: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `word` and `set` are never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl PC {
[INFO] [stdout]    | ------- methods in this implementation
[INFO] [stdout] 39 |     pub fn word(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn set(&mut self, bank: u8, offset: u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `in_6502_emulation` is never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Register {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn in_6502_emulation(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:70:1
[INFO] [stdout]    |
[INFO] [stdout] 70 |   pub struct Psr {
[INFO] [stdout]    |   ^-------------
[INFO] [stdout]    |   |
[INFO] [stdout]    |  _associated items in this implementation
[INFO] [stdout]    | |
[INFO] [stdout] 71 | |     /// carry
[INFO] [stdout] 72 | |     pub c: B1,
[INFO] [stdout] ...  |
[INFO] [stdout] 94 | |     pub n: B1,
[INFO] [stdout] 95 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `c`, `z`, `i`, `d`, `v`, and `n` are never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct Psr {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 71 |     /// carry
[INFO] [stdout] 72 |     pub c: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub z: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub i: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub d: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub v: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub n: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unimplemented` is never used
[INFO] [stdout]   --> src/sfc/cpu/table.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl OpcodeTable {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 30 |     pub fn unimplemented(&self) -> [bool; 256] {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vram` is never read
[INFO] [stdout]  --> src/sfc/ppu/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Ppu {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 7 |     pub vram: Box<[u8; VRAM_SIZE]>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn get() -> &'static Ppu {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read8` and `write8` are never used
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Ppu {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 43 |     /// This func is inspired by snes9x's S9xGetPPU
[INFO] [stdout] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { &SCHEDULER };
[INFO] [stdout]    |                     ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { &raw const SCHEDULER };
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { &mut SCHEDULER };
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { &raw mut SCHEDULER };
[INFO] [stdout]    |                      +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         for event in &SCHEDULER.root {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |         for event in &raw const SCHEDULER.root {
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |                     SCHEDULER.root.pop_front();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             SCHEDULER.root.pop_front();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |         for e in &SCHEDULER.root {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 79 |         for e in &raw const SCHEDULER.root {
[INFO] [stdout]    |                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:87:25
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut split = SCHEDULER.root.split_off(idx);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         SCHEDULER.root.push_back(e);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         SCHEDULER.root.append(&mut split);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/scheduler/mod.rs:107:18
[INFO] [stdout]     |
[INFO] [stdout] 107 |         for e in &SCHEDULER.root {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 107 |         for e in &raw const SCHEDULER.root {
[INFO] [stdout]     |                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]   8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]   8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/scheduler/mod.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut split = SCHEDULER.root.split_off(idx);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]   8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]   8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/scheduler/mod.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         SCHEDULER.root.append(&mut split);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]   8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]   8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]  --> src/sfc/cpu/io.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub fn read_io8(&mut self, addr: u16) -> u8 {
[INFO] [stdout]   |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sfc/cpu/mod.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { &CPU };
[INFO] [stdout]    |                     ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { &raw const CPU };
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 16 - static mut CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout] 16 + static CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/cpu/io.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/cpu/io.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sfc/cpu/mod.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { &mut CPU };
[INFO] [stdout]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { &raw mut CPU };
[INFO] [stdout]    |                      +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 16 - static mut CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout] 16 + static CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opA9` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub mod opA9 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_a9`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opAA` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub mod opAA {}
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opC6` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub mod opC6 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_c6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opD6` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub mod opD6 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_d6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opE6` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub mod opE6 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_e6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opEE` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub mod opEE {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_ee`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opFE` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub mod opFE {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_fe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { &PPU };
[INFO] [stdout]    |                     ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { &raw const PPU };
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout] 12 + static PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { &mut PPU };
[INFO] [stdout]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { &raw mut PPU };
[INFO] [stdout]    |                      +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout] 12 + static PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/sfc/cpu/mod.rs:135:41
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stdout]     |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:44:29
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn load8(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u8 {
[INFO] [stdout]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bank`
[INFO] [stdout]   --> src/sfc/mod.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ofs`
[INFO] [stdout]   --> src/sfc/mod.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ofs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:70:35
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bank`
[INFO] [stdout]   --> src/sfc/mod.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |           ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/mod.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/mod.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bank`
[INFO] [stdout]   --> src/sfc/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/sfc/mod.rs:80:22
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/sfc/mod.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]   --> src/sfc/mod.rs:80:43
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn get() -> &'static Scheduler {
[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 `cycles` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn cycles() -> i64 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reschedule` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn reschedule(e: &mut Event, after: i64) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `schedule_abs` is never used
[INFO] [stdout]   --> src/scheduler/mod.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn schedule_abs(e: &mut Event, when: i64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deschedule` is never used
[INFO] [stdout]    --> src/scheduler/mod.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn deschedule(e: &mut Event) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cartridge_info` is never used
[INFO] [stdout]   --> src/sfc/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl SuperFamicom {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn cartridge_info(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rom` and `sram` are never read
[INFO] [stdout]   --> src/sfc/cartridge/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Cartridge {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub rom: Vec<u8>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 12 |     pub sram: Box<[u8; SRAM_SIZE]>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `map_mode` and `chipset` are never read
[INFO] [stdout]   --> src/sfc/cartridge/header.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Header {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub map_mode: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub chipset: u8,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `wram` is never read
[INFO] [stdout]   --> src/sfc/cpu/mod.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Cpu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 19 |     pub cartridge: cartridge::Cartridge,
[INFO] [stdout] 20 |     pub wram: Box<[u8; WRAM_SIZE]>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_active_region` is never used
[INFO] [stdout]    --> src/sfc/cpu/mod.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout]  59 | impl Cpu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `absolute_y`, `far`, and `far_y` are never used
[INFO] [stdout]   --> src/sfc/cpu/addr.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Cpu {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn absolute_y(&mut self) -> (u8, u16) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn far(&mut self) -> (u8, u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn far_y(&mut self) -> (u8, u16) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m1` is never used
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]   --> src/sfc/cpu/instruction.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m1` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m1` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m0` is never used
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 207 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_io8` is never used
[INFO] [stdout]   --> src/sfc/cpu/io.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Cpu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `emulation` are never read
[INFO] [stdout]   --> src/sfc/cpu/register.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct Register {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub y: u16,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub emulation: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `word` and `set` are never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl PC {
[INFO] [stdout]    | ------- methods in this implementation
[INFO] [stdout] 39 |     pub fn word(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn set(&mut self, bank: u8, offset: u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `in_6502_emulation` is never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Register {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn in_6502_emulation(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:70:1
[INFO] [stdout]    |
[INFO] [stdout] 70 |   pub struct Psr {
[INFO] [stdout]    |   ^-------------
[INFO] [stdout]    |   |
[INFO] [stdout]    |  _associated items in this implementation
[INFO] [stdout]    | |
[INFO] [stdout] 71 | |     /// carry
[INFO] [stdout] 72 | |     pub c: B1,
[INFO] [stdout] ...  |
[INFO] [stdout] 94 | |     pub n: B1,
[INFO] [stdout] 95 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `c`, `z`, `i`, `d`, `v`, and `n` are never used
[INFO] [stdout]   --> src/sfc/cpu/register.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct Psr {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 71 |     /// carry
[INFO] [stdout] 72 |     pub c: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub z: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub i: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub d: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub v: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub n: B1,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vram` is never read
[INFO] [stdout]  --> src/sfc/ppu/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Ppu {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 7 |     pub vram: Box<[u8; VRAM_SIZE]>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn get() -> &'static Ppu {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read8` and `write8` are never used
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Ppu {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 43 |     /// This func is inspired by snes9x's S9xGetPPU
[INFO] [stdout] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { &SCHEDULER };
[INFO] [stdout]    |                     ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { &raw const SCHEDULER };
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { &mut SCHEDULER };
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { &raw mut SCHEDULER };
[INFO] [stdout]    |                      +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         for event in &SCHEDULER.root {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |         for event in &raw const SCHEDULER.root {
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |                     SCHEDULER.root.pop_front();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             SCHEDULER.root.pop_front();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |         for e in &SCHEDULER.root {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 79 |         for e in &raw const SCHEDULER.root {
[INFO] [stdout]    |                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:87:25
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut split = SCHEDULER.root.split_off(idx);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         SCHEDULER.root.push_back(e);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/scheduler/mod.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         SCHEDULER.root.append(&mut split);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]  8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/scheduler/mod.rs:107:18
[INFO] [stdout]     |
[INFO] [stdout] 107 |         for e in &SCHEDULER.root {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 107 |         for e in &raw const SCHEDULER.root {
[INFO] [stdout]     |                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]   8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]   8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/scheduler/mod.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut split = SCHEDULER.root.split_off(idx);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]   8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]   8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/scheduler/mod.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         SCHEDULER.root.append(&mut split);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]   8 - static mut SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]   8 + static SCHEDULER: Lazy<Scheduler> = Lazy::new(|| new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sfc/cpu/mod.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { &CPU };
[INFO] [stdout]    |                     ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { &raw const CPU };
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 16 - static mut CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout] 16 + static CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sfc/cpu/mod.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { &mut CPU };
[INFO] [stdout]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { &raw mut CPU };
[INFO] [stdout]    |                      +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 16 - static mut CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout] 16 + static CPU: Lazy<Cpu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opA9` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub mod opA9 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_a9`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opAA` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub mod opAA {}
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opC6` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub mod opC6 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_c6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opD6` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub mod opD6 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_d6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opE6` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub mod opE6 {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_e6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opEE` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub mod opEE {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_ee`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `opFE` should have a snake case name
[INFO] [stdout]    --> src/sfc/cpu/instruction.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub mod opFE {
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `op_fe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { &PPU };
[INFO] [stdout]    |                     ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { &raw const PPU };
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout] 12 + static PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sfc/ppu/mod.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { &mut PPU };
[INFO] [stdout]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { &raw mut PPU };
[INFO] [stdout]    |                      +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout] 12 + static PPU: Lazy<Ppu> = Lazy::new(|| new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.42s
[INFO] running `Command { std: "docker" "inspect" "6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399", kill_on_drop: false }`
[INFO] [stdout] 6586ceeac7ef62ca0acf70aa06e6f541ed38dddefc0dbb69cf0c8068aa525399
