[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] testing pokemium/toysnes against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokemium%2Ftoysnes" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pokemium/toysnes on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc1/source/Cargo.toml
[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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3138b74f9764f9dc6f29b097e409b61eeb52a9b194444610dd22d097c921d917
[INFO] running `Command { std: "docker" "start" "-a" "3138b74f9764f9dc6f29b097e409b61eeb52a9b194444610dd22d097c921d917", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3138b74f9764f9dc6f29b097e409b61eeb52a9b194444610dd22d097c921d917", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3138b74f9764f9dc6f29b097e409b61eeb52a9b194444610dd22d097c921d917", kill_on_drop: false }`
[INFO] [stdout] 3138b74f9764f9dc6f29b097e409b61eeb52a9b194444610dd22d097c921d917
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f91180ec5a5660e08daac60006370040d2dac071171ff9f34d7366553fa33fb
[INFO] running `Command { std: "docker" "start" "-a" "8f91180ec5a5660e08daac60006370040d2dac071171ff9f34d7366553fa33fb", 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 either v1.6.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling 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]    Compiling modular-bitfield v0.11.2
[INFO] [stderr]    Compiling bytesize v1.1.0
[INFO] [stderr]    Compiling 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { addr_of!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { addr_of_mut!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { addr_of!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { addr_of_mut!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { addr_of!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { addr_of_mut!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[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)]` 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)]` 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: 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)]` 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: 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: 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: 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)]` 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: 67 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.61s
[INFO] running `Command { std: "docker" "inspect" "8f91180ec5a5660e08daac60006370040d2dac071171ff9f34d7366553fa33fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f91180ec5a5660e08daac60006370040d2dac071171ff9f34d7366553fa33fb", kill_on_drop: false }`
[INFO] [stdout] 8f91180ec5a5660e08daac60006370040d2dac071171ff9f34d7366553fa33fb
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af1d7f66d68a15959a0799c2bc7ce703ba53a24467f4a02651c2c0d6b12b5743
[INFO] running `Command { std: "docker" "start" "-a" "af1d7f66d68a15959a0799c2bc7ce703ba53a24467f4a02651c2c0d6b12b5743", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { addr_of!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { addr_of_mut!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { addr_of!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { addr_of_mut!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { addr_of!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { addr_of_mut!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[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)]` 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)]` 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: 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)]` 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: 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)]` 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: 65 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "af1d7f66d68a15959a0799c2bc7ce703ba53a24467f4a02651c2c0d6b12b5743", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af1d7f66d68a15959a0799c2bc7ce703ba53a24467f4a02651c2c0d6b12b5743", kill_on_drop: false }`
[INFO] [stdout] af1d7f66d68a15959a0799c2bc7ce703ba53a24467f4a02651c2c0d6b12b5743
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 300821b3ca835f5922d5724afd42a62b4ba11d6c3bb0de848d592d38236d8b74
[INFO] running `Command { std: "docker" "start" "-a" "300821b3ca835f5922d5724afd42a62b4ba11d6c3bb0de848d592d38236d8b74", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]  --> src/constants.rs:8:29
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stderr]   |                             ^                             ^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]   |
[INFO] [stderr] 8 - pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stderr] 8 + pub const ROM_SIZE: usize = MAX_ROM_SIZE + 0x200 + 0x8000;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `load8`
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:97:43
[INFO] [stderr]    |
[INFO] [stderr] 97 |     use crate::sfc::{cpu::cycles, load16, load8};
[INFO] [stderr]    |                                           ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/scheduler/mod.rs:28:21
[INFO] [stderr]    |
[INFO] [stderr] 28 |     return unsafe { &SCHEDULER };
[INFO] [stderr]    |                     ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] help: use `addr_of!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 28 |     return unsafe { addr_of!(SCHEDULER) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/scheduler/mod.rs:32:21
[INFO] [stderr]    |
[INFO] [stderr] 32 |     return unsafe { &mut SCHEDULER };
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 32 |     return unsafe { addr_of_mut!(SCHEDULER) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/cpu/mod.rs:44:21
[INFO] [stderr]    |
[INFO] [stderr] 44 |     return unsafe { &CPU };
[INFO] [stderr]    |                     ^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 44 |     return unsafe { addr_of!(CPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/cpu/mod.rs:48:21
[INFO] [stderr]    |
[INFO] [stderr] 48 |     return unsafe { &mut CPU };
[INFO] [stderr]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 48 |     return unsafe { addr_of_mut!(CPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:25:21
[INFO] [stderr]    |
[INFO] [stderr] 25 |     return unsafe { &PPU };
[INFO] [stderr]    |                     ^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 25 |     return unsafe { addr_of!(PPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:29:21
[INFO] [stderr]    |
[INFO] [stderr] 29 |     return unsafe { &mut PPU };
[INFO] [stderr]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 29 |     return unsafe { addr_of_mut!(PPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/sfc/mod.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             todo!();
[INFO] [stderr]    |             ------- any code following this expression is unreachable
[INFO] [stderr] 62 |             return 0;
[INFO] [stderr]    |             ^^^^^^^^^ unreachable statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]  --> src/sfc/cpu/instruction.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn op00(c: &mut Cpu, _: u8) {}
[INFO] [stderr]   |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn op02(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]  --> src/sfc/cpu/io.rs:5:32
[INFO] [stderr]   |
[INFO] [stderr] 5 |     pub fn read_io8(&mut self, addr: u16) -> u8 {
[INFO] [stderr]   |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/cpu/io.rs:10:33
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/cpu/io.rs:10:44
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]    --> src/sfc/cpu/mod.rs:135:41
[INFO] [stderr]     |
[INFO] [stderr] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stderr]     |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:44:29
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stderr]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:49:30
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:49:41
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:44:34
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn load8(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u8 {
[INFO] [stderr]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bank`
[INFO] [stderr]   --> src/sfc/mod.rs:70:15
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stderr]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ofs`
[INFO] [stderr]   --> src/sfc/mod.rs:70:25
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stderr]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ofs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:70:35
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stderr]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bank`
[INFO] [stderr]   --> src/sfc/mod.rs:75:11
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |           ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/mod.rs:75:21
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/mod.rs:75:32
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:75:41
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bank`
[INFO] [stderr]   --> src/sfc/mod.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/mod.rs:80:22
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/mod.rs:80:33
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:80:43
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: function `get` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn get() -> &'static Scheduler {
[INFO] [stderr]    |        ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `cycles` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn cycles() -> i64 {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `reschedule` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:93:8
[INFO] [stderr]    |
[INFO] [stderr] 93 | pub fn reschedule(e: &mut Event, after: i64) {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `schedule_abs` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:98:8
[INFO] [stderr]    |
[INFO] [stderr] 98 | pub fn schedule_abs(e: &mut Event, when: i64) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `deschedule` is never used
[INFO] [stderr]    --> src/scheduler/mod.rs:102:8
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub fn deschedule(e: &mut Event) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `cartridge_info` is never used
[INFO] [stderr]   --> src/sfc/mod.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl SuperFamicom {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub fn cartridge_info(&self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `rom` and `sram` are never read
[INFO] [stderr]   --> src/sfc/cartridge/mod.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 8  | pub struct Cartridge {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 11 |     pub rom: Vec<u8>,
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 12 |     pub sram: Box<[u8; SRAM_SIZE]>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `map_mode` and `chipset` are never read
[INFO] [stderr]   --> src/sfc/cartridge/header.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 5  | pub struct Header {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub map_mode: u8,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 |     pub chipset: u8,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `wram` is never read
[INFO] [stderr]   --> src/sfc/cpu/mod.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct Cpu {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] 19 |     pub cartridge: cartridge::Cartridge,
[INFO] [stderr] 20 |     pub wram: Box<[u8; WRAM_SIZE]>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_active_region` is never used
[INFO] [stderr]    --> src/sfc/cpu/mod.rs:135:12
[INFO] [stderr]     |
[INFO] [stderr] 59  | impl Cpu {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `absolute_y`, `far`, and `far_y` are never used
[INFO] [stderr]   --> src/sfc/cpu/addr.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 4  | impl Cpu {
[INFO] [stderr]    | -------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn absolute_y(&mut self) -> (u8, u16) {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn far(&mut self) -> (u8, u16) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn far_y(&mut self) -> (u8, u16) {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m1` is never used
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:86:12
[INFO] [stderr]    |
[INFO] [stderr] 86 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:99:12
[INFO] [stderr]    |
[INFO] [stderr] 99 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:132:12
[INFO] [stderr]     |
[INFO] [stderr] 132 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m1` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:138:12
[INFO] [stderr]     |
[INFO] [stderr] 138 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:167:12
[INFO] [stderr]     |
[INFO] [stderr] 167 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m1` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:173:12
[INFO] [stderr]     |
[INFO] [stderr] 173 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:207:12
[INFO] [stderr]     |
[INFO] [stderr] 207 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_io8` is never used
[INFO] [stderr]   --> src/sfc/cpu/io.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 3  | impl Cpu {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `y` and `emulation` are never read
[INFO] [stderr]   --> src/sfc/cpu/register.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Register {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub y: u16,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub emulation: bool,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `word` and `set` are never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 38 | impl PC {
[INFO] [stderr]    | ------- methods in this implementation
[INFO] [stderr] 39 |     pub fn word(&self) -> u32 {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 43 |     pub fn set(&mut self, bank: u8, offset: u16) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `in_6502_emulation` is never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:64:8
[INFO] [stderr]    |
[INFO] [stderr] 49 | impl Register {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 64 |     fn in_6502_emulation(&self) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `into_bytes` and `from_bytes` are never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:70:1
[INFO] [stderr]    |
[INFO] [stderr] 70 |   pub struct Psr {
[INFO] [stderr]    |   ^-------------
[INFO] [stderr]    |   |
[INFO] [stderr]    |  _associated items in this implementation
[INFO] [stderr]    | |
[INFO] [stderr] 71 | |     /// carry
[INFO] [stderr] 72 | |     pub c: B1,
[INFO] [stderr] ...  |
[INFO] [stderr] 94 | |     pub n: B1,
[INFO] [stderr] 95 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `c`, `z`, `i`, `d`, `v`, and `n` are never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct Psr {
[INFO] [stderr]    | -------------- methods in this implementation
[INFO] [stderr] 71 |     /// carry
[INFO] [stderr] 72 |     pub c: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     pub z: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub i: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 81 |     pub d: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 91 |     pub v: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 94 |     pub n: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `vram` is never read
[INFO] [stderr]  --> src/sfc/ppu/mod.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Ppu {
[INFO] [stderr]   |            --- field in this struct
[INFO] [stderr] 7 |     pub vram: Box<[u8; VRAM_SIZE]>,
[INFO] [stderr]   |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get` is never used
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub fn get() -> &'static Ppu {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `read8` and `write8` are never used
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 42 | impl Ppu {
[INFO] [stderr]    | -------- methods in this implementation
[INFO] [stderr] 43 |     /// This func is inspired by snes9x's S9xGetPPU
[INFO] [stderr] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: module `opA9` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:163:9
[INFO] [stderr]     |
[INFO] [stderr] 163 | pub mod opA9 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_a9`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: module `opAA` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 | pub mod opAA {}
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_aa`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opC6` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:183:9
[INFO] [stderr]     |
[INFO] [stderr] 183 | pub mod opC6 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_c6`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opD6` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:203:9
[INFO] [stderr]     |
[INFO] [stderr] 203 | pub mod opD6 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_d6`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opE6` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:223:9
[INFO] [stderr]     |
[INFO] [stderr] 223 | pub mod opE6 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_e6`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opEE` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:243:9
[INFO] [stderr]     |
[INFO] [stderr] 243 | pub mod opEE {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_ee`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opFE` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:263:9
[INFO] [stderr]     |
[INFO] [stderr] 263 | pub mod opFE {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_fe`
[INFO] [stderr] 
[INFO] [stderr] warning: `toysnes` (bin "toysnes" test) generated 65 warnings (run `cargo fix --bin "toysnes" --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/toysnes-68352b71ff5f6600)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test unimplemented ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- unimplemented stdout ----
[INFO] [stdout] thread 'unimplemented' panicked at src/main.rs:30:53:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5581558f8a95 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x5581558f8a95 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5581558f8a95 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5581558f8a95 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55815591f2eb - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55815591f2eb - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x5581558f62cf - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x5581558f886e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5581558f886e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5581558fa299 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x5581558f9f5e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x5581558c79ca - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x5581558c79ca - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x5581558fa89b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x5581558fa89b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x5581558fa614 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x5581558f8f59 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5581558fa347 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x558155887843 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x558155887d76 - core::result::unwrap_failed::h382691b96ca8c13a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x558155893c4f - core::result::Result<T,E>::unwrap::h3272add68ea2c8b2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x558155893c4f - toysnes::unimplemented::h9e791c8734f11598
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:30:20
[INFO] [stdout]   22:     0x558155893bd7 - toysnes::unimplemented::{{closure}}::he64aff3e78f7457a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:29:19
[INFO] [stdout]   23:     0x558155889b46 - core::ops::function::FnOnce::call_once::h02eff7b534ff73e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5581558cc3ab - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5581558cc3ab - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x5581558cbab1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x5581558cbab1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5581558cbab1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x5581558cbab1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x5581558cbab1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x5581558cbab1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x5581558cbab1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x558155894474 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x558155894474 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x558155898ea2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x558155898ea2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x558155898ea2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x558155898ea2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x558155898ea2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x558155898ea2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x558155898ea2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5581558fea8b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x5581558fea8b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x5581558fea8b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7fc8ac619ac3 - <unknown>
[INFO] [stdout]   46:     0x7fc8ac6aaa04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     unimplemented
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin toysnes`
[INFO] running `Command { std: "docker" "inspect" "300821b3ca835f5922d5724afd42a62b4ba11d6c3bb0de848d592d38236d8b74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "300821b3ca835f5922d5724afd42a62b4ba11d6c3bb0de848d592d38236d8b74", kill_on_drop: false }`
[INFO] [stdout] 300821b3ca835f5922d5724afd42a62b4ba11d6c3bb0de848d592d38236d8b74
[INFO] testing pokemium/toysnes against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokemium%2Ftoysnes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pokemium/toysnes on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc2/source/Cargo.toml
[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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b6c1b80f3ecc1986958fd6a16055ef2a5806ceb4b84a70f3e75d3337e23cfcd
[INFO] running `Command { std: "docker" "start" "-a" "3b6c1b80f3ecc1986958fd6a16055ef2a5806ceb4b84a70f3e75d3337e23cfcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b6c1b80f3ecc1986958fd6a16055ef2a5806ceb4b84a70f3e75d3337e23cfcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b6c1b80f3ecc1986958fd6a16055ef2a5806ceb4b84a70f3e75d3337e23cfcd", kill_on_drop: false }`
[INFO] [stdout] 3b6c1b80f3ecc1986958fd6a16055ef2a5806ceb4b84a70f3e75d3337e23cfcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85549a4c511de8a2030d104efac5034ed3aac290280cd2e07963646d4d5511b5
[INFO] running `Command { std: "docker" "start" "-a" "85549a4c511de8a2030d104efac5034ed3aac290280cd2e07963646d4d5511b5", 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 either v1.6.1
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling 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]    Compiling modular-bitfield v0.11.2
[INFO] [stderr]    Compiling bytesize v1.1.0
[INFO] [stderr]    Compiling 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { addr_of!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { addr_of_mut!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { addr_of!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { addr_of_mut!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { addr_of!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { addr_of_mut!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[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)]` 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)]` 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: 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)]` 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: 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: 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: 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)]` 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: 67 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.70s
[INFO] running `Command { std: "docker" "inspect" "85549a4c511de8a2030d104efac5034ed3aac290280cd2e07963646d4d5511b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85549a4c511de8a2030d104efac5034ed3aac290280cd2e07963646d4d5511b5", kill_on_drop: false }`
[INFO] [stdout] 85549a4c511de8a2030d104efac5034ed3aac290280cd2e07963646d4d5511b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c04b155dadffc4a80477cf4880ac60ef604c79cd16477f7c461bbf3a02db4df2
[INFO] running `Command { std: "docker" "start" "-a" "c04b155dadffc4a80477cf4880ac60ef604c79cd16477f7c461bbf3a02db4df2", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 28 |     return unsafe { addr_of!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return unsafe { addr_of_mut!(SCHEDULER) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return unsafe { addr_of!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return unsafe { addr_of_mut!(CPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 25 |     return unsafe { addr_of!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 29 |     return unsafe { addr_of_mut!(PPU) };
[INFO] [stdout]    |                     ~~~~~~~~~~~~~~~~~
[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)]` 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)]` 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: 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)]` 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: 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)]` 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: 65 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] running `Command { std: "docker" "inspect" "c04b155dadffc4a80477cf4880ac60ef604c79cd16477f7c461bbf3a02db4df2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c04b155dadffc4a80477cf4880ac60ef604c79cd16477f7c461bbf3a02db4df2", kill_on_drop: false }`
[INFO] [stdout] c04b155dadffc4a80477cf4880ac60ef604c79cd16477f7c461bbf3a02db4df2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f1654b440f0d3774b66847576d9656c1632a74b19cd8bb7d40f5cd59b13e3e67
[INFO] running `Command { std: "docker" "start" "-a" "f1654b440f0d3774b66847576d9656c1632a74b19cd8bb7d40f5cd59b13e3e67", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]  --> src/constants.rs:8:29
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stderr]   |                             ^                             ^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]   |
[INFO] [stderr] 8 - pub const ROM_SIZE: usize = (MAX_ROM_SIZE + 0x200 + 0x8000);
[INFO] [stderr] 8 + pub const ROM_SIZE: usize = MAX_ROM_SIZE + 0x200 + 0x8000;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `load8`
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:97:43
[INFO] [stderr]    |
[INFO] [stderr] 97 |     use crate::sfc::{cpu::cycles, load16, load8};
[INFO] [stderr]    |                                           ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/scheduler/mod.rs:28:21
[INFO] [stderr]    |
[INFO] [stderr] 28 |     return unsafe { &SCHEDULER };
[INFO] [stderr]    |                     ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] help: use `addr_of!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 28 |     return unsafe { addr_of!(SCHEDULER) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/scheduler/mod.rs:32:21
[INFO] [stderr]    |
[INFO] [stderr] 32 |     return unsafe { &mut SCHEDULER };
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 32 |     return unsafe { addr_of_mut!(SCHEDULER) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/cpu/mod.rs:44:21
[INFO] [stderr]    |
[INFO] [stderr] 44 |     return unsafe { &CPU };
[INFO] [stderr]    |                     ^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 44 |     return unsafe { addr_of!(CPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/cpu/mod.rs:48:21
[INFO] [stderr]    |
[INFO] [stderr] 48 |     return unsafe { &mut CPU };
[INFO] [stderr]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 48 |     return unsafe { addr_of_mut!(CPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:25:21
[INFO] [stderr]    |
[INFO] [stderr] 25 |     return unsafe { &PPU };
[INFO] [stderr]    |                     ^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 25 |     return unsafe { addr_of!(PPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:29:21
[INFO] [stderr]    |
[INFO] [stderr] 29 |     return unsafe { &mut PPU };
[INFO] [stderr]    |                     ^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]    = note: this will be a hard error in the 2024 edition
[INFO] [stderr]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 29 |     return unsafe { addr_of_mut!(PPU) };
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/sfc/mod.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             todo!();
[INFO] [stderr]    |             ------- any code following this expression is unreachable
[INFO] [stderr] 62 |             return 0;
[INFO] [stderr]    |             ^^^^^^^^^ unreachable statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]  --> src/sfc/cpu/instruction.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn op00(c: &mut Cpu, _: u8) {}
[INFO] [stderr]   |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn op02(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]  --> src/sfc/cpu/io.rs:5:32
[INFO] [stderr]   |
[INFO] [stderr] 5 |     pub fn read_io8(&mut self, addr: u16) -> u8 {
[INFO] [stderr]   |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/cpu/io.rs:10:33
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/cpu/io.rs:10:44
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]    --> src/sfc/cpu/mod.rs:135:41
[INFO] [stderr]     |
[INFO] [stderr] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stderr]     |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:44:29
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stderr]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:49:30
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:49:41
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:44:34
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn load8(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u8 {
[INFO] [stderr]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bank`
[INFO] [stderr]   --> src/sfc/mod.rs:70:15
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stderr]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ofs`
[INFO] [stderr]   --> src/sfc/mod.rs:70:25
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stderr]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ofs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:70:35
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn load16(bank: u8, ofs: u16, cycles: Option<&mut i64>) -> u16 {
[INFO] [stderr]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bank`
[INFO] [stderr]   --> src/sfc/mod.rs:75:11
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |           ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/mod.rs:75:21
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/mod.rs:75:32
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:75:41
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn store8(bank: u8, addr: u16, val: u8, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bank`
[INFO] [stderr]   --> src/sfc/mod.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_bank`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/sfc/mod.rs:80:22
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/sfc/mod.rs:80:33
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cycles`
[INFO] [stderr]   --> src/sfc/mod.rs:80:43
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn store16(bank: u8, addr: u16, val: u16, cycles: Option<&mut i64>) {
[INFO] [stderr]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stderr] 
[INFO] [stderr] warning: function `get` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn get() -> &'static Scheduler {
[INFO] [stderr]    |        ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `cycles` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn cycles() -> i64 {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `reschedule` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:93:8
[INFO] [stderr]    |
[INFO] [stderr] 93 | pub fn reschedule(e: &mut Event, after: i64) {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `schedule_abs` is never used
[INFO] [stderr]   --> src/scheduler/mod.rs:98:8
[INFO] [stderr]    |
[INFO] [stderr] 98 | pub fn schedule_abs(e: &mut Event, when: i64) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `deschedule` is never used
[INFO] [stderr]    --> src/scheduler/mod.rs:102:8
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub fn deschedule(e: &mut Event) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `cartridge_info` is never used
[INFO] [stderr]   --> src/sfc/mod.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl SuperFamicom {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub fn cartridge_info(&self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `rom` and `sram` are never read
[INFO] [stderr]   --> src/sfc/cartridge/mod.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 8  | pub struct Cartridge {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 11 |     pub rom: Vec<u8>,
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 12 |     pub sram: Box<[u8; SRAM_SIZE]>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `map_mode` and `chipset` are never read
[INFO] [stderr]   --> src/sfc/cartridge/header.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 5  | pub struct Header {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub map_mode: u8,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 |     pub chipset: u8,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `wram` is never read
[INFO] [stderr]   --> src/sfc/cpu/mod.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct Cpu {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] 19 |     pub cartridge: cartridge::Cartridge,
[INFO] [stderr] 20 |     pub wram: Box<[u8; WRAM_SIZE]>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_active_region` is never used
[INFO] [stderr]    --> src/sfc/cpu/mod.rs:135:12
[INFO] [stderr]     |
[INFO] [stderr] 59  | impl Cpu {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 135 |     pub fn set_active_region(&mut self, addr: u32) {}
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `absolute_y`, `far`, and `far_y` are never used
[INFO] [stderr]   --> src/sfc/cpu/addr.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 4  | impl Cpu {
[INFO] [stderr]    | -------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn absolute_y(&mut self) -> (u8, u16) {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn far(&mut self) -> (u8, u16) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn far_y(&mut self) -> (u8, u16) {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m1` is never used
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:86:12
[INFO] [stderr]    |
[INFO] [stderr] 86 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]   --> src/sfc/cpu/instruction.rs:99:12
[INFO] [stderr]    |
[INFO] [stderr] 99 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:132:12
[INFO] [stderr]     |
[INFO] [stderr] 132 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m1` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:138:12
[INFO] [stderr]     |
[INFO] [stderr] 138 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:167:12
[INFO] [stderr]     |
[INFO] [stderr] 167 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m1` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:173:12
[INFO] [stderr]     |
[INFO] [stderr] 173 |     pub fn m1(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `m0` is never used
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:207:12
[INFO] [stderr]     |
[INFO] [stderr] 207 |     pub fn m0(c: &mut Cpu, _: u8) {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_io8` is never used
[INFO] [stderr]   --> src/sfc/cpu/io.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 3  | impl Cpu {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub fn write_io8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `y` and `emulation` are never read
[INFO] [stderr]   --> src/sfc/cpu/register.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Register {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub y: u16,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub emulation: bool,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `word` and `set` are never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 38 | impl PC {
[INFO] [stderr]    | ------- methods in this implementation
[INFO] [stderr] 39 |     pub fn word(&self) -> u32 {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 43 |     pub fn set(&mut self, bank: u8, offset: u16) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `in_6502_emulation` is never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:64:8
[INFO] [stderr]    |
[INFO] [stderr] 49 | impl Register {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 64 |     fn in_6502_emulation(&self) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `into_bytes` and `from_bytes` are never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:70:1
[INFO] [stderr]    |
[INFO] [stderr] 70 |   pub struct Psr {
[INFO] [stderr]    |   ^-------------
[INFO] [stderr]    |   |
[INFO] [stderr]    |  _associated items in this implementation
[INFO] [stderr]    | |
[INFO] [stderr] 71 | |     /// carry
[INFO] [stderr] 72 | |     pub c: B1,
[INFO] [stderr] ...  |
[INFO] [stderr] 94 | |     pub n: B1,
[INFO] [stderr] 95 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `c`, `z`, `i`, `d`, `v`, and `n` are never used
[INFO] [stderr]   --> src/sfc/cpu/register.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct Psr {
[INFO] [stderr]    | -------------- methods in this implementation
[INFO] [stderr] 71 |     /// carry
[INFO] [stderr] 72 |     pub c: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     pub z: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub i: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 81 |     pub d: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 91 |     pub v: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] ...
[INFO] [stderr] 94 |     pub n: B1,
[INFO] [stderr]    |         ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `vram` is never read
[INFO] [stderr]  --> src/sfc/ppu/mod.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Ppu {
[INFO] [stderr]   |            --- field in this struct
[INFO] [stderr] 7 |     pub vram: Box<[u8; VRAM_SIZE]>,
[INFO] [stderr]   |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get` is never used
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub fn get() -> &'static Ppu {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `read8` and `write8` are never used
[INFO] [stderr]   --> src/sfc/ppu/mod.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 42 | impl Ppu {
[INFO] [stderr]    | -------- methods in this implementation
[INFO] [stderr] 43 |     /// This func is inspired by snes9x's S9xGetPPU
[INFO] [stderr] 44 |     pub fn read8(&mut self, addr: u16) -> u8 {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     pub fn write8(&mut self, addr: u16, val: u8) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: module `opA9` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:163:9
[INFO] [stderr]     |
[INFO] [stderr] 163 | pub mod opA9 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_a9`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: module `opAA` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 | pub mod opAA {}
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_aa`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opC6` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:183:9
[INFO] [stderr]     |
[INFO] [stderr] 183 | pub mod opC6 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_c6`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opD6` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:203:9
[INFO] [stderr]     |
[INFO] [stderr] 203 | pub mod opD6 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_d6`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opE6` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:223:9
[INFO] [stderr]     |
[INFO] [stderr] 223 | pub mod opE6 {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_e6`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opEE` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:243:9
[INFO] [stderr]     |
[INFO] [stderr] 243 | pub mod opEE {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_ee`
[INFO] [stderr] 
[INFO] [stderr] warning: module `opFE` should have a snake case name
[INFO] [stderr]    --> src/sfc/cpu/instruction.rs:263:9
[INFO] [stderr]     |
[INFO] [stderr] 263 | pub mod opFE {
[INFO] [stderr]     |         ^^^^ help: convert the identifier to snake case: `op_fe`
[INFO] [stderr] 
[INFO] [stderr] warning: `toysnes` (bin "toysnes" test) generated 65 warnings (run `cargo fix --bin "toysnes" --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/toysnes-68352b71ff5f6600)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test unimplemented ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- unimplemented stdout ----
[INFO] [stdout] thread 'unimplemented' panicked at src/main.rs:30:53:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55af00e2db35 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55af00e2db35 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55af00e2db35 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55af00e2db35 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55af00e5432b - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55af00e5432b - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55af00e2b41f - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55af00e2d90e - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55af00e2d90e - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55af00e2f279 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55af00e2efcc - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55af00dfca9f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55af00dfca9f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55af00e2f87b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55af00e2f87b - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55af00e2f5f4 - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55af00e2dff9 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55af00e2f327 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55af00dbc823 - core::panicking::panic_fmt::h2ba8af99174d83ea
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55af00dbcd56 - core::result::unwrap_failed::h52f3bbb78b59f71d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x55af00dc3e5f - core::result::Result<T,E>::unwrap::h1642dc915a3e1bd6
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x55af00dc3e5f - toysnes::unimplemented::hba4301fdd4cab86f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:30:20
[INFO] [stdout]   22:     0x55af00dc3de7 - toysnes::unimplemented::{{closure}}::h8a6f67d8c4f3f6a1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:29:19
[INFO] [stdout]   23:     0x55af00dbeb46 - core::ops::function::FnOnce::call_once::hd1dcceac585deff8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55af00e013bb - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55af00e013bb - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x55af00e00a81 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x55af00e00a81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55af00e00a81 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x55af00e00a81 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x55af00e00a81 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x55af00e00a81 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x55af00e00a81 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x55af00dc9454 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x55af00dc9454 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x55af00dcdf22 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x55af00dcdf22 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55af00dcdf22 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x55af00dcdf22 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x55af00dcdf22 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x55af00dcdf22 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x55af00dcdf22 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55af00e33a5b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55af00e33a5b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x55af00e33a5b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f8c81bedac3 - <unknown>
[INFO] [stdout]   46:     0x7f8c81c7ea04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     unimplemented
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin toysnes`
[INFO] running `Command { std: "docker" "inspect" "f1654b440f0d3774b66847576d9656c1632a74b19cd8bb7d40f5cd59b13e3e67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1654b440f0d3774b66847576d9656c1632a74b19cd8bb7d40f5cd59b13e3e67", kill_on_drop: false }`
[INFO] [stdout] f1654b440f0d3774b66847576d9656c1632a74b19cd8bb7d40f5cd59b13e3e67
