[INFO] cloning repository https://github.com/ducharmemp/RustBoyAdvance
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ducharmemp/RustBoyAdvance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducharmemp%2FRustBoyAdvance", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducharmemp%2FRustBoyAdvance'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc1039d369fa12d4009a518cf6cca35e16e71c53
[INFO] checking ducharmemp/RustBoyAdvance against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducharmemp%2FRustBoyAdvance" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ducharmemp/RustBoyAdvance
[INFO] finished tweaking git repo https://github.com/ducharmemp/RustBoyAdvance
[INFO] tweaked toml for git repo https://github.com/ducharmemp/RustBoyAdvance written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ducharmemp/RustBoyAdvance on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ducharmemp/RustBoyAdvance 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bit-vec v0.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0889f488f7a97bcf194371d1f35946179b2fedb3ae0526eed03446e7941141ef
[INFO] running `Command { std: "docker" "start" "-a" "0889f488f7a97bcf194371d1f35946179b2fedb3ae0526eed03446e7941141ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0889f488f7a97bcf194371d1f35946179b2fedb3ae0526eed03446e7941141ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0889f488f7a97bcf194371d1f35946179b2fedb3ae0526eed03446e7941141ef", kill_on_drop: false }`
[INFO] [stdout] 0889f488f7a97bcf194371d1f35946179b2fedb3ae0526eed03446e7941141ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dinherent-method-on-receiver" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f4ba17a290aa62ba92a24058c226a04745522dc6752f69db93b1412001d1150
[INFO] running `Command { std: "docker" "start" "-a" "7f4ba17a290aa62ba92a24058c226a04745522dc6752f69db93b1412001d1150", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking byteorder v0.4.2
[INFO] [stderr]     Checking bit-vec v0.4.3
[INFO] [stderr]     Checking rust_boy_advance v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `FIQ_DISABLE`, `IRQ_DISABLE`, and `STATE_BIT`
[INFO] [stdout]   --> src/gameboy/cpu.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 | use super::cpsr::{C_FLAG, FIQ_DISABLE, IRQ_DISABLE, N_FLAG, STATE_BIT, V_FLAG, Z_FLAG};
[INFO] [stdout]    |                           ^^^^^^^^^^^  ^^^^^^^^^^^          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gameboy/cpu.rs:991:14
[INFO] [stdout]     |
[INFO] [stdout] 991 |             0...7 => self.gen_registers[register_num as usize] = val as u32,
[INFO] [stdout]     |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FIQ_DISABLE`, `IRQ_DISABLE`, and `STATE_BIT`
[INFO] [stdout]   --> src/gameboy/cpu.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 | use super::cpsr::{C_FLAG, FIQ_DISABLE, IRQ_DISABLE, N_FLAG, STATE_BIT, V_FLAG, Z_FLAG};
[INFO] [stdout]    |                           ^^^^^^^^^^^  ^^^^^^^^^^^          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/gameboy/cpu.rs:1014:14
[INFO] [stdout]      |
[INFO] [stdout] 1014 |             0...7 => self.gen_registers[register_num as usize],
[INFO] [stdout]      |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/gameboy/cpu.rs:1033:14
[INFO] [stdout]      |
[INFO] [stdout] 1033 |             0...7 => self.gen_registers[register_num as usize] = val,
[INFO] [stdout]      |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gameboy/cpu.rs:991:14
[INFO] [stdout]     |
[INFO] [stdout] 991 |             0...7 => self.gen_registers[register_num as usize] = val as u32,
[INFO] [stdout]     |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/gameboy/cpu.rs:1049:14
[INFO] [stdout]      |
[INFO] [stdout] 1049 |             0...7 => self.gen_registers[register_num as usize],
[INFO] [stdout]      |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/gameboy/cpu.rs:1014:14
[INFO] [stdout]      |
[INFO] [stdout] 1014 |             0...7 => self.gen_registers[register_num as usize],
[INFO] [stdout]      |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/gameboy/cpu.rs:1033:14
[INFO] [stdout]      |
[INFO] [stdout] 1033 |             0...7 => self.gen_registers[register_num as usize] = val,
[INFO] [stdout]      |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/gameboy/cpu.rs:1049:14
[INFO] [stdout]      |
[INFO] [stdout] 1049 |             0...7 => self.gen_registers[register_num as usize],
[INFO] [stdout]      |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:373:41
[INFO] [stdout]     |
[INFO] [stdout] 373 |     fn thumb_handle_movshift(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:404:36
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn thumb_handle_mul(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/gameboy/cpu.rs:480:13
[INFO] [stdout]     |
[INFO] [stdout] 480 |         let op = ((0x3 << 8) & instruction) >> 8;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h1`
[INFO] [stdout]    --> src/gameboy/cpu.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let h1 = (0x1 << 7) & instruction != 0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_h1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h2`
[INFO] [stdout]    --> src/gameboy/cpu.rs:482:13
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let h2 = (0x1 << 6) & instruction != 0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_h2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs`
[INFO] [stdout]    --> src/gameboy/cpu.rs:483:13
[INFO] [stdout]     |
[INFO] [stdout] 483 |         let rs = ((0x7 << 3) & instruction) >> 3;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/gameboy/cpu.rs:484:13
[INFO] [stdout]     |
[INFO] [stdout] 484 |         let rd = 0x7 & instruction;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:487:41
[INFO] [stdout]     |
[INFO] [stdout] 487 |     fn thumb_handle_ldrpcimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:489:42
[INFO] [stdout]     |
[INFO] [stdout] 489 |     fn thumb_handle_ldrstrreg(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:491:44
[INFO] [stdout]     |
[INFO] [stdout] 491 |     fn thumb_handle_ldrhstrhreg(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:493:42
[INFO] [stdout]     |
[INFO] [stdout] 493 |     fn thumb_handle_ldrstrimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:495:44
[INFO] [stdout]     |
[INFO] [stdout] 495 |     fn thumb_handle_ldrhstrhimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:497:44
[INFO] [stdout]     |
[INFO] [stdout] 497 |     fn thumb_handle_ldrstrspimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:499:40
[INFO] [stdout]     |
[INFO] [stdout] 499 |     fn thumb_handle_addrimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:501:44
[INFO] [stdout]     |
[INFO] [stdout] 501 |     fn thumb_handle_addspoffset(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:503:33
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn thumb_pushpop(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:505:43
[INFO] [stdout]     |
[INFO] [stdout] 505 |     fn thumb_handle_ldmstmregs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:507:36
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn thumb_handle_swi(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:509:47
[INFO] [stdout]     |
[INFO] [stdout] 509 |     fn thumb_handle_branchcondoffs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:511:43
[INFO] [stdout]     |
[INFO] [stdout] 511 |     fn thumb_handle_branchoffs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:513:47
[INFO] [stdout]     |
[INFO] [stdout] 513 |     fn thumb_handle_branchlongoffs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:373:41
[INFO] [stdout]     |
[INFO] [stdout] 373 |     fn thumb_handle_movshift(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:404:36
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn thumb_handle_mul(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accumulate`
[INFO] [stdout]    --> src/gameboy/cpu.rs:568:13
[INFO] [stdout]     |
[INFO] [stdout] 568 |         let accumulate = ((1 << 21) & instruction) >> 21 != 0;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accumulate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rm`
[INFO] [stdout]    --> src/gameboy/cpu.rs:615:13
[INFO] [stdout]     |
[INFO] [stdout] 615 |         let rm = self.get_register_arm(0xf & instruction);
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/gameboy/cpu.rs:480:13
[INFO] [stdout]     |
[INFO] [stdout] 480 |         let op = ((0x3 << 8) & instruction) >> 8;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h1`
[INFO] [stdout]    --> src/gameboy/cpu.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let h1 = (0x1 << 7) & instruction != 0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_h1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h2`
[INFO] [stdout]    --> src/gameboy/cpu.rs:482:13
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let h2 = (0x1 << 6) & instruction != 0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_h2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs`
[INFO] [stdout]    --> src/gameboy/cpu.rs:483:13
[INFO] [stdout]     |
[INFO] [stdout] 483 |         let rs = ((0x7 << 3) & instruction) >> 3;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/gameboy/cpu.rs:484:13
[INFO] [stdout]     |
[INFO] [stdout] 484 |         let rd = 0x7 & instruction;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:487:41
[INFO] [stdout]     |
[INFO] [stdout] 487 |     fn thumb_handle_ldrpcimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:489:42
[INFO] [stdout]     |
[INFO] [stdout] 489 |     fn thumb_handle_ldrstrreg(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:491:44
[INFO] [stdout]     |
[INFO] [stdout] 491 |     fn thumb_handle_ldrhstrhreg(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:493:42
[INFO] [stdout]     |
[INFO] [stdout] 493 |     fn thumb_handle_ldrstrimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:495:44
[INFO] [stdout]     |
[INFO] [stdout] 495 |     fn thumb_handle_ldrhstrhimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:497:44
[INFO] [stdout]     |
[INFO] [stdout] 497 |     fn thumb_handle_ldrstrspimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:499:40
[INFO] [stdout]     |
[INFO] [stdout] 499 |     fn thumb_handle_addrimm(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:501:44
[INFO] [stdout]     |
[INFO] [stdout] 501 |     fn thumb_handle_addspoffset(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:503:33
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn thumb_pushpop(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:505:43
[INFO] [stdout]     |
[INFO] [stdout] 505 |     fn thumb_handle_ldmstmregs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:507:36
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn thumb_handle_swi(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:509:47
[INFO] [stdout]     |
[INFO] [stdout] 509 |     fn thumb_handle_branchcondoffs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:511:43
[INFO] [stdout]     |
[INFO] [stdout] 511 |     fn thumb_handle_branchoffs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/gameboy/cpu.rs:513:47
[INFO] [stdout]     |
[INFO] [stdout] 513 |     fn thumb_handle_branchlongoffs(&mut self, instruction: u16) {}
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `second_operand` is never read
[INFO] [stdout]    --> src/gameboy/cpu.rs:675:39
[INFO] [stdout]     |
[INFO] [stdout] 675 |         let mut second_operand: u32 = 0;
[INFO] [stdout]     |                                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accumulate`
[INFO] [stdout]    --> src/gameboy/cpu.rs:568:13
[INFO] [stdout]     |
[INFO] [stdout] 568 |         let accumulate = ((1 << 21) & instruction) >> 21 != 0;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accumulate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rm`
[INFO] [stdout]    --> src/gameboy/cpu.rs:615:13
[INFO] [stdout]     |
[INFO] [stdout] 615 |         let rm = self.get_register_arm(0xf & instruction);
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `psr_force_user`
[INFO] [stdout]    --> src/gameboy/cpu.rs:882:13
[INFO] [stdout]     |
[INFO] [stdout] 882 |         let psr_force_user = (1 << 22) & instruction != 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psr_force_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `second_operand` is never read
[INFO] [stdout]    --> src/gameboy/cpu.rs:675:39
[INFO] [stdout]     |
[INFO] [stdout] 675 |         let mut second_operand: u32 = 0;
[INFO] [stdout]     |                                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `psr_force_user`
[INFO] [stdout]    --> src/gameboy/cpu.rs:882:13
[INFO] [stdout]     |
[INFO] [stdout] 882 |         let psr_force_user = (1 << 22) & instruction != 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psr_force_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/gameboy/mmu.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut ram = vec![0; ram_size];
[INFO] [stdout]   |         ----^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IRQ_DISABLE` is never used
[INFO] [stdout]  --> src/gameboy/cpsr.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const IRQ_DISABLE: usize = 7;
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIQ_DISABLE` is never used
[INFO] [stdout]  --> src/gameboy/cpsr.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FIQ_DISABLE: usize = 6;
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STATE_BIT` is never used
[INFO] [stdout]  --> src/gameboy/cpsr.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const STATE_BIT: usize = 5;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MODE_BITS` is never used
[INFO] [stdout]   --> src/gameboy/cpsr.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MODE_BITS: u32 = 0xF;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bios_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn bios_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wramb_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn wramb_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wramc_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn wramc_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `io_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn io_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `obj_pallet_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn obj_pallet_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vram_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn vram_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `obj_attr_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn obj_attr_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_0_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn wait_0_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_1_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn wait_1_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_2_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn wait_2_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gp_sram_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn gp_sram_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `spsr_abt`, `spsr_und`, and `status` are never read
[INFO] [stdout]   --> src/gameboy/cpu.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub spsr_abt: BitVec<u32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 83 |     pub spsr_irq: BitVec<u32>,
[INFO] [stdout] 84 |     pub spsr_und: BitVec<u32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     status: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/gameboy/mmu.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut ram = vec![0; ram_size];
[INFO] [stdout]   |         ----^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_16` is never used
[INFO] [stdout]   --> src/gameboy/mmu.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl RandomAccessMemory {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn write_16(&mut self, address: u32, val: u16) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/gameboy/cpu.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     0x00000000 <= x && x <= 0x00003FFF
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IRQ_DISABLE` is never used
[INFO] [stdout]  --> src/gameboy/cpsr.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const IRQ_DISABLE: usize = 7;
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIQ_DISABLE` is never used
[INFO] [stdout]  --> src/gameboy/cpsr.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FIQ_DISABLE: usize = 6;
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STATE_BIT` is never used
[INFO] [stdout]  --> src/gameboy/cpsr.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const STATE_BIT: usize = 5;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MODE_BITS` is never used
[INFO] [stdout]   --> src/gameboy/cpsr.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MODE_BITS: u32 = 0xF;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bios_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn bios_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wramb_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn wramb_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wramc_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn wramc_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `io_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn io_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `obj_pallet_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn obj_pallet_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vram_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn vram_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `obj_attr_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn obj_attr_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_0_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn wait_0_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_1_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn wait_1_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_2_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn wait_2_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gp_sram_memory` is never used
[INFO] [stdout]   --> src/gameboy/cpu.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn gp_sram_memory(x: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `spsr_abt`, `spsr_und`, and `status` are never read
[INFO] [stdout]   --> src/gameboy/cpu.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub spsr_abt: BitVec<u32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 83 |     pub spsr_irq: BitVec<u32>,
[INFO] [stdout] 84 |     pub spsr_und: BitVec<u32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     status: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_16` is never used
[INFO] [stdout]   --> src/gameboy/mmu.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl RandomAccessMemory {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn write_16(&mut self, address: u32, val: u16) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/gameboy/cpu.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     0x00000000 <= x && x <= 0x00003FFF
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gameboy/mmu.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     writer.seek(SeekFrom::Start(0x08000000));
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = writer.seek(SeekFrom::Start(0x08000000));
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gameboy/mmu.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         self.cursor.write(&[val]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let _ = self.cursor.write(&[val]);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gameboy/mmu.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     writer.seek(SeekFrom::Start(0x08000000));
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = writer.seek(SeekFrom::Start(0x08000000));
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gameboy/mmu.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         self.cursor.write(&[val]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let _ = self.cursor.write(&[val]);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "7f4ba17a290aa62ba92a24058c226a04745522dc6752f69db93b1412001d1150", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f4ba17a290aa62ba92a24058c226a04745522dc6752f69db93b1412001d1150", kill_on_drop: false }`
[INFO] [stdout] 7f4ba17a290aa62ba92a24058c226a04745522dc6752f69db93b1412001d1150
