Oct 14 12:01:58.502 INFO testing mattbruv/Gameboy-Crust against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 14 12:01:58.503 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 14 12:01:58.943 INFO blam! e0ab208590626eeaf1070e85cf6805471e16b10e10c416973e869d21f87a9982 Oct 14 12:01:58.947 INFO running `"docker" "start" "-a" "e0ab208590626eeaf1070e85cf6805471e16b10e10c416973e869d21f87a9982"` Oct 14 12:02:00.517 INFO kablam! usermod: no changes Oct 14 12:02:00.613 INFO kablam! Compiling libc v0.2.32 Oct 14 12:02:00.623 INFO kablam! Compiling x11-dl v2.14.0 Oct 14 12:02:00.631 INFO kablam! Compiling minifb v0.10.3 Oct 14 12:02:03.082 INFO kablam! Compiling time v0.1.38 Oct 14 12:02:11.357 INFO kablam! Compiling gameboy-crust v0.1.0 (/source) Oct 14 12:02:11.671 INFO kablam! warning: unused import: `std::io::*` Oct 14 12:02:11.671 INFO kablam! --> src/core/helper.rs:3:5 Oct 14 12:02:11.671 INFO kablam! | Oct 14 12:02:11.671 INFO kablam! 3 | use std::io::*; Oct 14 12:02:11.671 INFO kablam! | ^^^^^^^^^^ Oct 14 12:02:11.671 INFO kablam! | Oct 14 12:02:11.671 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:02:11.671 INFO kablam! Oct 14 12:02:11.671 INFO kablam! warning: unused macro definition Oct 14 12:02:11.671 INFO kablam! --> src/core/helper.rs:100:1 Oct 14 12:02:11.671 INFO kablam! | Oct 14 12:02:11.671 INFO kablam! 100 | / macro_rules! hex { Oct 14 12:02:11.671 INFO kablam! 101 | | ($val:expr) => {{ Oct 14 12:02:11.671 INFO kablam! 102 | | println!("${:02X}", $val); Oct 14 12:02:11.671 INFO kablam! 103 | | }} Oct 14 12:02:11.671 INFO kablam! 104 | | } Oct 14 12:02:11.671 INFO kablam! | |_^ Oct 14 12:02:11.671 INFO kablam! | Oct 14 12:02:11.671 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:02:11.671 INFO kablam! Oct 14 12:02:11.671 INFO kablam! warning: unused import: `core::helper::*` Oct 14 12:02:11.671 INFO kablam! --> src/core/register.rs:2:5 Oct 14 12:02:11.671 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 2 | use core::helper::*; Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! ::: src/core/register.rs:63:18 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 63 | self.a = high!(value); Oct 14 12:02:11.672 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! ::: src/core/register.rs:64:18 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 64 | self.f = low!(value); Oct 14 12:02:11.672 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! ::: src/core/register.rs:68:18 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 68 | self.b = high!(value); Oct 14 12:02:11.672 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! ::: src/core/register.rs:69:18 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 69 | self.c = low!(value); Oct 14 12:02:11.672 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! ::: src/core/register.rs:73:18 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 73 | self.d = high!(value); Oct 14 12:02:11.672 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! ::: src/core/register.rs:74:18 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 74 | self.e = low!(value); Oct 14 12:02:11.672 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.672 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! ::: src/core/register.rs:78:18 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 78 | self.h = high!(value); Oct 14 12:02:11.672 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.672 INFO kablam! Oct 14 12:02:11.672 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.672 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.672 INFO kablam! | Oct 14 12:02:11.672 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.673 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.673 INFO kablam! | Oct 14 12:02:11.673 INFO kablam! ::: src/core/register.rs:79:18 Oct 14 12:02:11.673 INFO kablam! | Oct 14 12:02:11.673 INFO kablam! 79 | self.l = low!(value); Oct 14 12:02:11.673 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.673 INFO kablam! Oct 14 12:02:11.673 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.673 INFO kablam! --> src/core/register.rs:127:10 Oct 14 12:02:11.673 INFO kablam! | Oct 14 12:02:11.673 INFO kablam! 127 | match (self.f & Flag::Zero as u8) Oct 14 12:02:11.673 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.673 INFO kablam! Oct 14 12:02:11.673 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.673 INFO kablam! --> src/core/register.rs:132:10 Oct 14 12:02:11.673 INFO kablam! | Oct 14 12:02:11.673 INFO kablam! 132 | match (self.f & Flag::Sub as u8) Oct 14 12:02:11.673 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.673 INFO kablam! Oct 14 12:02:11.673 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.673 INFO kablam! --> src/core/register.rs:137:10 Oct 14 12:02:11.673 INFO kablam! | Oct 14 12:02:11.673 INFO kablam! 137 | match (self.f & Flag::HalfCarry as u8) Oct 14 12:02:11.673 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.673 INFO kablam! Oct 14 12:02:11.673 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.673 INFO kablam! --> src/core/register.rs:142:10 Oct 14 12:02:11.673 INFO kablam! | Oct 14 12:02:11.673 INFO kablam! 142 | match (self.f & Flag::Carry as u8) Oct 14 12:02:11.673 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.673 INFO kablam! Oct 14 12:02:11.675 INFO kablam! warning: unused import: `core::disassembler::*` Oct 14 12:02:11.675 INFO kablam! --> src/core/cpu.rs:4:5 Oct 14 12:02:11.675 INFO kablam! | Oct 14 12:02:11.675 INFO kablam! 4 | use core::disassembler::*; Oct 14 12:02:11.675 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:11.675 INFO kablam! Oct 14 12:02:11.675 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.675 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.676 INFO kablam! | Oct 14 12:02:11.676 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.676 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.677 INFO kablam! | Oct 14 12:02:11.677 INFO kablam! ::: src/core/cpu.rs:223:34 Oct 14 12:02:11.677 INFO kablam! | Oct 14 12:02:11.678 INFO kablam! 223 | memory.write(nn, low!(self.regs.sp)); Oct 14 12:02:11.678 INFO kablam! | ------------------ in this macro invocation Oct 14 12:02:11.678 INFO kablam! Oct 14 12:02:11.678 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.678 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.678 INFO kablam! | Oct 14 12:02:11.678 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.679 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.679 INFO kablam! | Oct 14 12:02:11.679 INFO kablam! ::: src/core/cpu.rs:224:38 Oct 14 12:02:11.679 INFO kablam! | Oct 14 12:02:11.679 INFO kablam! 224 | memory.write(nn + 1, high!(self.regs.sp)); Oct 14 12:02:11.679 INFO kablam! | ------------------- in this macro invocation Oct 14 12:02:11.679 INFO kablam! Oct 14 12:02:11.679 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.679 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.679 INFO kablam! | Oct 14 12:02:11.679 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.679 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.679 INFO kablam! | Oct 14 12:02:11.679 INFO kablam! ::: src/core/cpu.rs:745:36 Oct 14 12:02:11.679 INFO kablam! | Oct 14 12:02:11.679 INFO kablam! 745 | memory.write(self.regs.sp, high!(data)); Oct 14 12:02:11.679 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.679 INFO kablam! Oct 14 12:02:11.679 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.679 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.679 INFO kablam! | Oct 14 12:02:11.679 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.679 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.679 INFO kablam! | Oct 14 12:02:11.680 INFO kablam! ::: src/core/cpu.rs:747:36 Oct 14 12:02:11.680 INFO kablam! | Oct 14 12:02:11.680 INFO kablam! 747 | memory.write(self.regs.sp, low!(data)); Oct 14 12:02:11.680 INFO kablam! | ---------- in this macro invocation Oct 14 12:02:11.680 INFO kablam! Oct 14 12:02:11.680 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.680 INFO kablam! --> src/core/cpu.rs:770:34 Oct 14 12:02:11.680 INFO kablam! | Oct 14 12:02:11.680 INFO kablam! 770 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.680 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.680 INFO kablam! Oct 14 12:02:11.680 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.680 INFO kablam! --> src/core/cpu.rs:783:34 Oct 14 12:02:11.680 INFO kablam! | Oct 14 12:02:11.680 INFO kablam! 783 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.680 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.680 INFO kablam! Oct 14 12:02:11.680 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.680 INFO kablam! --> src/core/cpu.rs:792:34 Oct 14 12:02:11.680 INFO kablam! | Oct 14 12:02:11.680 INFO kablam! 792 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.680 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.680 INFO kablam! Oct 14 12:02:11.680 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.680 INFO kablam! --> src/core/cpu.rs:801:34 Oct 14 12:02:11.680 INFO kablam! | Oct 14 12:02:11.680 INFO kablam! 801 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.680 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.681 INFO kablam! Oct 14 12:02:11.681 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.681 INFO kablam! --> src/core/cpu.rs:810:34 Oct 14 12:02:11.681 INFO kablam! | Oct 14 12:02:11.681 INFO kablam! 810 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.681 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.681 INFO kablam! Oct 14 12:02:11.681 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.681 INFO kablam! --> src/core/cpu.rs:826:34 Oct 14 12:02:11.681 INFO kablam! | Oct 14 12:02:11.681 INFO kablam! 826 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.681 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.681 INFO kablam! Oct 14 12:02:11.681 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.681 INFO kablam! --> src/core/cpu.rs:835:34 Oct 14 12:02:11.681 INFO kablam! | Oct 14 12:02:11.681 INFO kablam! 835 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.681 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.681 INFO kablam! Oct 14 12:02:11.681 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.681 INFO kablam! --> src/core/cpu.rs:855:35 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 855 | self.regs.set_flag(Flag::Carry, (bit7 == 1)); Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.682 INFO kablam! --> src/core/cpu.rs:858:34 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 858 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.682 INFO kablam! --> src/core/cpu.rs:870:35 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 870 | self.regs.set_flag(Flag::Carry, (bit1 == 1)); Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.682 INFO kablam! --> src/core/cpu.rs:873:34 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 873 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.682 INFO kablam! --> src/core/gpu.rs:337:13 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 337 | let row = (y / 8); Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.682 INFO kablam! --> src/core/gpu.rs:342:17 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 342 | let column = (x / 8); Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.682 INFO kablam! --> src/core/gpu.rs:404:18 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:11.682 INFO kablam! --> src/core/gpu.rs:473:9 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 473 | if (scanline_y.wrapping_sub(sprite_y) < 8) { // top half Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unused import: `interconnect::*` Oct 14 12:02:11.682 INFO kablam! --> src/core/dma.rs:2:5 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 2 | use interconnect::*; Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:11.682 INFO kablam! --> src/core/dma.rs:36:12 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 36 | if (self.cycles - adjusted_cycles < 0) { Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:11.682 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:11.682 INFO kablam! --> src/core/timer.rs:55:20 Oct 14 12:02:11.682 INFO kablam! | Oct 14 12:02:11.682 INFO kablam! 55 | if (timer_value == 255) { Oct 14 12:02:11.682 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.682 INFO kablam! Oct 14 12:02:12.223 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.223 INFO kablam! --> src/core/cpu.rs:430:4 Oct 14 12:02:12.224 INFO kablam! | Oct 14 12:02:12.224 INFO kablam! 430 | 0xC3 => { self.regs.pc = self.next_pointer(memory); 4 }, Oct 14 12:02:12.225 INFO kablam! | ^^^^ Oct 14 12:02:12.225 INFO kablam! | Oct 14 12:02:12.225 INFO kablam! = note: #[warn(unreachable_patterns)] on by default Oct 14 12:02:12.225 INFO kablam! Oct 14 12:02:12.256 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.256 INFO kablam! --> src/core/cpu.rs:1007:7 Oct 14 12:02:12.256 INFO kablam! | Oct 14 12:02:12.257 INFO kablam! 1007 | }, _ => unreachable!() Oct 14 12:02:12.257 INFO kablam! | ^ Oct 14 12:02:12.257 INFO kablam! Oct 14 12:02:12.257 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.257 INFO kablam! --> src/core/cpu.rs:1037:7 Oct 14 12:02:12.257 INFO kablam! | Oct 14 12:02:12.257 INFO kablam! 1037 | }, _ => unreachable!() Oct 14 12:02:12.258 INFO kablam! | ^ Oct 14 12:02:12.258 INFO kablam! Oct 14 12:02:12.258 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.258 INFO kablam! --> src/core/cpu.rs:1060:7 Oct 14 12:02:12.258 INFO kablam! | Oct 14 12:02:12.258 INFO kablam! 1060 | }, _ => unreachable!() Oct 14 12:02:12.258 INFO kablam! | ^ Oct 14 12:02:12.258 INFO kablam! Oct 14 12:02:12.262 INFO kablam! warning: unused variable: `n2` Oct 14 12:02:12.262 INFO kablam! --> src/core/disassembler.rs:7:6 Oct 14 12:02:12.262 INFO kablam! | Oct 14 12:02:12.262 INFO kablam! 7 | let n2 = mem.read(reg.pc + 1); // opcode + 2 Oct 14 12:02:12.262 INFO kablam! | ^^ help: consider using `_n2` instead Oct 14 12:02:12.262 INFO kablam! | Oct 14 12:02:12.262 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 14 12:02:12.262 INFO kablam! Oct 14 12:02:12.262 INFO kablam! warning: unused variable: `n3` Oct 14 12:02:12.262 INFO kablam! --> src/core/disassembler.rs:8:6 Oct 14 12:02:12.262 INFO kablam! | Oct 14 12:02:12.262 INFO kablam! 8 | let n3 = mem.read(reg.pc + 2); // opcode + 3 Oct 14 12:02:12.262 INFO kablam! | ^^ help: consider using `_n3` instead Oct 14 12:02:12.262 INFO kablam! Oct 14 12:02:12.265 INFO kablam! warning: unused variable: `new_mode` Oct 14 12:02:12.265 INFO kablam! --> src/core/gpu.rs:221:11 Oct 14 12:02:12.265 INFO kablam! | Oct 14 12:02:12.265 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:12.265 INFO kablam! | ^^^^^^^^ help: consider using `_new_mode` instead Oct 14 12:02:12.265 INFO kablam! Oct 14 12:02:12.265 INFO kablam! warning: variable `debug_color` is assigned to, but never used Oct 14 12:02:12.265 INFO kablam! --> src/core/gpu.rs:402:11 Oct 14 12:02:12.265 INFO kablam! | Oct 14 12:02:12.265 INFO kablam! 402 | let mut debug_color: u32 = (debug_line_color as u32) << 16; Oct 14 12:02:12.265 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:12.265 INFO kablam! | Oct 14 12:02:12.265 INFO kablam! = note: consider using `_debug_color` instead Oct 14 12:02:12.265 INFO kablam! Oct 14 12:02:12.265 INFO kablam! warning: value assigned to `debug_color` is never read Oct 14 12:02:12.265 INFO kablam! --> src/core/gpu.rs:404:3 Oct 14 12:02:12.265 INFO kablam! | Oct 14 12:02:12.265 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:12.265 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:12.265 INFO kablam! | Oct 14 12:02:12.266 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 12:02:12.266 INFO kablam! Oct 14 12:02:12.266 INFO kablam! warning: unused variable: `display_x` Oct 14 12:02:12.266 INFO kablam! --> src/core/gpu.rs:407:8 Oct 14 12:02:12.266 INFO kablam! | Oct 14 12:02:12.266 INFO kablam! 407 | let display_x = (i as u8).wrapping_add(window_x); Oct 14 12:02:12.266 INFO kablam! | ^^^^^^^^^ help: consider using `_display_x` instead Oct 14 12:02:12.266 INFO kablam! Oct 14 12:02:12.266 INFO kablam! warning: unused variable: `stat` Oct 14 12:02:12.266 INFO kablam! --> src/core/gpu.rs:589:7 Oct 14 12:02:12.266 INFO kablam! | Oct 14 12:02:12.266 INFO kablam! 589 | let stat = self.LCDC.get(); Oct 14 12:02:12.266 INFO kablam! | ^^^^ help: consider using `_stat` instead Oct 14 12:02:12.266 INFO kablam! Oct 14 12:02:12.271 INFO kablam! warning: unused variable: `address` Oct 14 12:02:12.271 INFO kablam! --> src/core/mbc/mbc0.rs:9:22 Oct 14 12:02:12.271 INFO kablam! | Oct 14 12:02:12.271 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:12.271 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:12.271 INFO kablam! Oct 14 12:02:12.271 INFO kablam! warning: unused variable: `data` Oct 14 12:02:12.271 INFO kablam! --> src/core/mbc/mbc0.rs:9:36 Oct 14 12:02:12.271 INFO kablam! | Oct 14 12:02:12.271 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:12.271 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:12.271 INFO kablam! Oct 14 12:02:12.271 INFO kablam! warning: unused variable: `name` Oct 14 12:02:12.271 INFO kablam! --> src/core/mbc/mbc0.rs:10:29 Oct 14 12:02:12.271 INFO kablam! | Oct 14 12:02:12.271 INFO kablam! 10 | fn set_title(&mut self, name: String) {} Oct 14 12:02:12.271 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:12.271 INFO kablam! Oct 14 12:02:12.272 INFO kablam! warning: unused variable: `address` Oct 14 12:02:12.272 INFO kablam! --> src/core/mbc/mbc2.rs:19:22 Oct 14 12:02:12.272 INFO kablam! | Oct 14 12:02:12.272 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:12.272 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:12.272 INFO kablam! Oct 14 12:02:12.272 INFO kablam! warning: unused variable: `data` Oct 14 12:02:12.272 INFO kablam! --> src/core/mbc/mbc2.rs:19:36 Oct 14 12:02:12.272 INFO kablam! | Oct 14 12:02:12.272 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:12.272 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:12.272 INFO kablam! Oct 14 12:02:12.272 INFO kablam! warning: unused variable: `name` Oct 14 12:02:12.272 INFO kablam! --> src/core/mbc/mbc2.rs:22:29 Oct 14 12:02:12.272 INFO kablam! | Oct 14 12:02:12.272 INFO kablam! 22 | fn set_title(&mut self, name: String) { Oct 14 12:02:12.273 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:12.273 INFO kablam! Oct 14 12:02:12.273 INFO kablam! warning: unused variable: `data` Oct 14 12:02:12.273 INFO kablam! --> src/core/timer.rs:101:33 Oct 14 12:02:12.273 INFO kablam! | Oct 14 12:02:12.273 INFO kablam! 101 | pub fn write_div(&mut self, data: u8) { Oct 14 12:02:12.273 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:12.273 INFO kablam! Oct 14 12:02:12.427 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.427 INFO kablam! --> src/core/gpu.rs:221:7 Oct 14 12:02:12.427 INFO kablam! | Oct 14 12:02:12.427 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:12.427 INFO kablam! | ----^^^^^^^^ Oct 14 12:02:12.427 INFO kablam! | | Oct 14 12:02:12.427 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.427 INFO kablam! | Oct 14 12:02:12.427 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 12:02:12.427 INFO kablam! Oct 14 12:02:12.431 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.431 INFO kablam! --> src/core/gpu.rs:454:7 Oct 14 12:02:12.431 INFO kablam! | Oct 14 12:02:12.431 INFO kablam! 454 | let mut iter = self.sprite_table.clone().into_iter().filter(|sprite| { Oct 14 12:02:12.431 INFO kablam! | ----^^^^ Oct 14 12:02:12.431 INFO kablam! | | Oct 14 12:02:12.431 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.431 INFO kablam! Oct 14 12:02:12.447 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.447 INFO kablam! --> src/core/joypad.rs:57:13 Oct 14 12:02:12.447 INFO kablam! | Oct 14 12:02:12.447 INFO kablam! 57 | let mut result = self.register.get() & 0x30; Oct 14 12:02:12.447 INFO kablam! | ----^^^^^^ Oct 14 12:02:12.447 INFO kablam! | | Oct 14 12:02:12.447 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.447 INFO kablam! Oct 14 12:02:12.457 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.457 INFO kablam! --> src/emu/emulator.rs:36:7 Oct 14 12:02:12.457 INFO kablam! | Oct 14 12:02:12.457 INFO kablam! 36 | let mut multiplier = 100; Oct 14 12:02:12.457 INFO kablam! | ----^^^^^^^^^^ Oct 14 12:02:12.457 INFO kablam! | | Oct 14 12:02:12.457 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.457 INFO kablam! Oct 14 12:02:12.464 INFO kablam! warning: method is never used: `sub` Oct 14 12:02:12.464 INFO kablam! --> src/core/helper.rs:73:2 Oct 14 12:02:12.464 INFO kablam! | Oct 14 12:02:12.464 INFO kablam! 73 | pub fn sub(&mut self, data: u8) { Oct 14 12:02:12.464 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.464 INFO kablam! | Oct 14 12:02:12.464 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 12:02:12.464 INFO kablam! Oct 14 12:02:12.465 INFO kablam! warning: variant is never constructed: `Serial` Oct 14 12:02:12.465 INFO kablam! --> src/core/interrupt.rs:8:2 Oct 14 12:02:12.465 INFO kablam! | Oct 14 12:02:12.465 INFO kablam! 8 | Serial = 0b00001000, Oct 14 12:02:12.465 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.465 INFO kablam! Oct 14 12:02:12.465 INFO kablam! warning: field is never used: `counter` Oct 14 12:02:12.465 INFO kablam! --> src/core/interrupt.rs:23:2 Oct 14 12:02:12.465 INFO kablam! | Oct 14 12:02:12.465 INFO kablam! 23 | counter: u32, // counts the number of opcodes since interrupt status changed Oct 14 12:02:12.465 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:12.465 INFO kablam! Oct 14 12:02:12.465 INFO kablam! warning: method is never used: `read` Oct 14 12:02:12.465 INFO kablam! --> src/core/interrupt.rs:48:2 Oct 14 12:02:12.465 INFO kablam! | Oct 14 12:02:12.465 INFO kablam! 48 | pub fn read(&mut self, address: u16) -> u8 { Oct 14 12:02:12.465 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.465 INFO kablam! Oct 14 12:02:12.465 INFO kablam! warning: function is never used: `disassemble` Oct 14 12:02:12.465 INFO kablam! --> src/core/disassembler.rs:4:1 Oct 14 12:02:12.465 INFO kablam! | Oct 14 12:02:12.465 INFO kablam! 4 | pub fn disassemble(reg: &Registers, mem: &Interconnect, opcode: u8) -> String { Oct 14 12:02:12.465 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.466 INFO kablam! Oct 14 12:02:12.466 INFO kablam! warning: constant item is never used: `SB` Oct 14 12:02:12.466 INFO kablam! --> src/core/memory_map.rs:3:1 Oct 14 12:02:12.466 INFO kablam! | Oct 14 12:02:12.466 INFO kablam! 3 | pub const SB: u16 = 0xFF01; // Serial transfer data Oct 14 12:02:12.466 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.466 INFO kablam! Oct 14 12:02:12.466 INFO kablam! warning: constant item is never used: `SC` Oct 14 12:02:12.466 INFO kablam! --> src/core/memory_map.rs:4:1 Oct 14 12:02:12.466 INFO kablam! | Oct 14 12:02:12.466 INFO kablam! 4 | pub const SC: u16 = 0xFF02; // SIO Control Oct 14 12:02:12.466 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.466 INFO kablam! Oct 14 12:02:12.466 INFO kablam! warning: constant item is never used: `NR10` Oct 14 12:02:12.466 INFO kablam! --> src/core/memory_map.rs:10:1 Oct 14 12:02:12.466 INFO kablam! | Oct 14 12:02:12.466 INFO kablam! 10 | pub const NR10: u16 = 0xFF10; // Sound Mode 1 sweep Oct 14 12:02:12.466 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.466 INFO kablam! Oct 14 12:02:12.466 INFO kablam! warning: constant item is never used: `NR11` Oct 14 12:02:12.466 INFO kablam! --> src/core/memory_map.rs:11:1 Oct 14 12:02:12.466 INFO kablam! | Oct 14 12:02:12.466 INFO kablam! 11 | pub const NR11: u16 = 0xFF11; // Sound Mode 1 wave pattern Oct 14 12:02:12.466 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.466 INFO kablam! Oct 14 12:02:12.466 INFO kablam! warning: constant item is never used: `NR12` Oct 14 12:02:12.466 INFO kablam! --> src/core/memory_map.rs:12:1 Oct 14 12:02:12.467 INFO kablam! | Oct 14 12:02:12.467 INFO kablam! 12 | pub const NR12: u16 = 0xFF12; // Sound Mode 1 envelope Oct 14 12:02:12.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.467 INFO kablam! Oct 14 12:02:12.467 INFO kablam! warning: constant item is never used: `NR13` Oct 14 12:02:12.467 INFO kablam! --> src/core/memory_map.rs:13:1 Oct 14 12:02:12.467 INFO kablam! | Oct 14 12:02:12.467 INFO kablam! 13 | pub const NR13: u16 = 0xFF13; // Sound Mode 1 frequency low Oct 14 12:02:12.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.467 INFO kablam! Oct 14 12:02:12.467 INFO kablam! warning: constant item is never used: `NR14` Oct 14 12:02:12.467 INFO kablam! --> src/core/memory_map.rs:14:1 Oct 14 12:02:12.467 INFO kablam! | Oct 14 12:02:12.467 INFO kablam! 14 | pub const NR14: u16 = 0xFF14; // Sound Mode 1 frequency high Oct 14 12:02:12.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.467 INFO kablam! Oct 14 12:02:12.467 INFO kablam! warning: constant item is never used: `NR21` Oct 14 12:02:12.467 INFO kablam! --> src/core/memory_map.rs:15:1 Oct 14 12:02:12.467 INFO kablam! | Oct 14 12:02:12.467 INFO kablam! 15 | pub const NR21: u16 = 0xFF16; // Sound Mode 2 wave pattern Oct 14 12:02:12.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.467 INFO kablam! Oct 14 12:02:12.467 INFO kablam! warning: constant item is never used: `NR22` Oct 14 12:02:12.467 INFO kablam! --> src/core/memory_map.rs:16:1 Oct 14 12:02:12.467 INFO kablam! | Oct 14 12:02:12.467 INFO kablam! 16 | pub const NR22: u16 = 0xFF17; // Sound Mode 2 envelope Oct 14 12:02:12.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.467 INFO kablam! Oct 14 12:02:12.468 INFO kablam! warning: constant item is never used: `NR23` Oct 14 12:02:12.468 INFO kablam! --> src/core/memory_map.rs:17:1 Oct 14 12:02:12.468 INFO kablam! | Oct 14 12:02:12.468 INFO kablam! 17 | pub const NR23: u16 = 0xFF18; // Sound Mode 2 frequency low Oct 14 12:02:12.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.468 INFO kablam! Oct 14 12:02:12.468 INFO kablam! warning: constant item is never used: `NR24` Oct 14 12:02:12.468 INFO kablam! --> src/core/memory_map.rs:18:1 Oct 14 12:02:12.468 INFO kablam! | Oct 14 12:02:12.468 INFO kablam! 18 | pub const NR24: u16 = 0xFF19; // Sound Mode 2 frequency high Oct 14 12:02:12.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.468 INFO kablam! Oct 14 12:02:12.468 INFO kablam! warning: constant item is never used: `NR30` Oct 14 12:02:12.468 INFO kablam! --> src/core/memory_map.rs:19:1 Oct 14 12:02:12.468 INFO kablam! | Oct 14 12:02:12.468 INFO kablam! 19 | pub const NR30: u16 = 0xFF1A; // Sound Mode 3 sound on/off Oct 14 12:02:12.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.468 INFO kablam! Oct 14 12:02:12.468 INFO kablam! warning: constant item is never used: `NR31` Oct 14 12:02:12.468 INFO kablam! --> src/core/memory_map.rs:20:1 Oct 14 12:02:12.468 INFO kablam! | Oct 14 12:02:12.468 INFO kablam! 20 | pub const NR31: u16 = 0xFF1B; // Sound Mode 3 sound length Oct 14 12:02:12.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.468 INFO kablam! Oct 14 12:02:12.469 INFO kablam! warning: constant item is never used: `NR32` Oct 14 12:02:12.469 INFO kablam! --> src/core/memory_map.rs:21:1 Oct 14 12:02:12.469 INFO kablam! | Oct 14 12:02:12.469 INFO kablam! 21 | pub const NR32: u16 = 0xFF1C; // Sound Mode 3 output level Oct 14 12:02:12.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.469 INFO kablam! Oct 14 12:02:12.469 INFO kablam! warning: constant item is never used: `NR33` Oct 14 12:02:12.469 INFO kablam! --> src/core/memory_map.rs:22:1 Oct 14 12:02:12.469 INFO kablam! | Oct 14 12:02:12.469 INFO kablam! 22 | pub const NR33: u16 = 0xFF1D; // Sound Mode 3 frequency low Oct 14 12:02:12.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.469 INFO kablam! Oct 14 12:02:12.469 INFO kablam! warning: constant item is never used: `NR34` Oct 14 12:02:12.469 INFO kablam! --> src/core/memory_map.rs:23:1 Oct 14 12:02:12.469 INFO kablam! | Oct 14 12:02:12.469 INFO kablam! 23 | pub const NR34: u16 = 0xFF1E; // Sound Mode 3 frequency high Oct 14 12:02:12.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.469 INFO kablam! Oct 14 12:02:12.469 INFO kablam! warning: constant item is never used: `NR41` Oct 14 12:02:12.469 INFO kablam! --> src/core/memory_map.rs:24:1 Oct 14 12:02:12.469 INFO kablam! | Oct 14 12:02:12.469 INFO kablam! 24 | pub const NR41: u16 = 0xFF20; // Sound Mode 4 sound length Oct 14 12:02:12.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.469 INFO kablam! Oct 14 12:02:12.469 INFO kablam! warning: constant item is never used: `NR42` Oct 14 12:02:12.469 INFO kablam! --> src/core/memory_map.rs:25:1 Oct 14 12:02:12.470 INFO kablam! | Oct 14 12:02:12.470 INFO kablam! 25 | pub const NR42: u16 = 0xFF21; // Sound Mode 4 envelope Oct 14 12:02:12.470 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.470 INFO kablam! Oct 14 12:02:12.470 INFO kablam! warning: constant item is never used: `NR43` Oct 14 12:02:12.470 INFO kablam! --> src/core/memory_map.rs:26:1 Oct 14 12:02:12.470 INFO kablam! | Oct 14 12:02:12.470 INFO kablam! 26 | pub const NR43: u16 = 0xFF22; // Sound Mode 4 polynomial counter Oct 14 12:02:12.470 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.470 INFO kablam! Oct 14 12:02:12.470 INFO kablam! warning: constant item is never used: `NR44` Oct 14 12:02:12.470 INFO kablam! --> src/core/memory_map.rs:27:1 Oct 14 12:02:12.470 INFO kablam! | Oct 14 12:02:12.470 INFO kablam! 27 | pub const NR44: u16 = 0xFF23; // Sound Mode 4 counter/consecutive Oct 14 12:02:12.470 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.470 INFO kablam! Oct 14 12:02:12.470 INFO kablam! warning: constant item is never used: `NR50` Oct 14 12:02:12.470 INFO kablam! --> src/core/memory_map.rs:28:1 Oct 14 12:02:12.470 INFO kablam! | Oct 14 12:02:12.470 INFO kablam! 28 | pub const NR50: u16 = 0xFF24; // Channel Control/Volume Oct 14 12:02:12.470 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.470 INFO kablam! Oct 14 12:02:12.471 INFO kablam! warning: constant item is never used: `NR51` Oct 14 12:02:12.471 INFO kablam! --> src/core/memory_map.rs:29:1 Oct 14 12:02:12.471 INFO kablam! | Oct 14 12:02:12.471 INFO kablam! 29 | pub const NR51: u16 = 0xFF25; // Sound output terminal Oct 14 12:02:12.471 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.471 INFO kablam! Oct 14 12:02:12.471 INFO kablam! warning: constant item is never used: `NR52` Oct 14 12:02:12.471 INFO kablam! --> src/core/memory_map.rs:30:1 Oct 14 12:02:12.471 INFO kablam! | Oct 14 12:02:12.471 INFO kablam! 30 | pub const NR52: u16 = 0xFF26; // Sound on/off Oct 14 12:02:12.471 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.471 INFO kablam! Oct 14 12:02:12.471 INFO kablam! warning: method is never used: `size` Oct 14 12:02:12.471 INFO kablam! --> src/core/rom.rs:46:2 Oct 14 12:02:12.471 INFO kablam! | Oct 14 12:02:12.472 INFO kablam! 46 | pub fn size(&self) -> usize { Oct 14 12:02:12.472 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.472 INFO kablam! Oct 14 12:02:12.472 INFO kablam! warning: enum is never used: `StatusInterrupt` Oct 14 12:02:12.472 INFO kablam! --> src/core/gpu.rs:33:1 Oct 14 12:02:12.472 INFO kablam! | Oct 14 12:02:12.472 INFO kablam! 33 | enum StatusInterrupt { Oct 14 12:02:12.472 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.472 INFO kablam! Oct 14 12:02:12.473 INFO kablam! warning: method is never used: `set_stat` Oct 14 12:02:12.473 INFO kablam! --> src/core/gpu.rs:550:2 Oct 14 12:02:12.473 INFO kablam! | Oct 14 12:02:12.473 INFO kablam! 550 | fn set_stat(&mut self, mode: StatusInterrupt) { Oct 14 12:02:12.473 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.473 INFO kablam! Oct 14 12:02:12.473 INFO kablam! warning: method is never used: `size` Oct 14 12:02:12.473 INFO kablam! --> src/core/wram.rs:15:2 Oct 14 12:02:12.473 INFO kablam! | Oct 14 12:02:12.473 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:12.473 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.473 INFO kablam! Oct 14 12:02:12.473 INFO kablam! warning: method is never used: `size` Oct 14 12:02:12.473 INFO kablam! --> src/core/hram.rs:15:2 Oct 14 12:02:12.473 INFO kablam! | Oct 14 12:02:12.473 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:12.473 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.473 INFO kablam! Oct 14 12:02:12.474 INFO kablam! warning: field is never used: `rom_bank` Oct 14 12:02:12.474 INFO kablam! --> src/core/mbc/mbc2.rs:4:2 Oct 14 12:02:12.474 INFO kablam! | Oct 14 12:02:12.474 INFO kablam! 4 | rom_bank: u8 Oct 14 12:02:12.474 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:12.474 INFO kablam! Oct 14 12:02:12.474 INFO kablam! warning: field is never used: `rtc_register` Oct 14 12:02:12.474 INFO kablam! --> src/core/mbc/mbc3.rs:9:5 Oct 14 12:02:12.474 INFO kablam! | Oct 14 12:02:12.474 INFO kablam! 9 | rtc_register: u8, Oct 14 12:02:12.474 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 14 12:02:12.474 INFO kablam! Oct 14 12:02:12.474 INFO kablam! warning: field is never used: `select_ram_bank` Oct 14 12:02:12.474 INFO kablam! --> src/core/mbc/mbc3.rs:11:5 Oct 14 12:02:12.474 INFO kablam! | Oct 14 12:02:12.474 INFO kablam! 11 | select_ram_bank: bool, Oct 14 12:02:12.474 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.476 INFO kablam! Oct 14 12:02:12.476 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:12.476 INFO kablam! --> src/core/helper.rs:18:2 Oct 14 12:02:12.476 INFO kablam! | Oct 14 12:02:12.476 INFO kablam! 18 | file.write_all(bytes); Oct 14 12:02:12.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.476 INFO kablam! | Oct 14 12:02:12.476 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 14 12:02:12.476 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:12.476 INFO kablam! Oct 14 12:02:12.477 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:12.477 INFO kablam! --> src/core/helper.rs:28:13 Oct 14 12:02:12.477 INFO kablam! | Oct 14 12:02:12.477 INFO kablam! 28 | f.read_to_end(&mut temp_vec); Oct 14 12:02:12.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.477 INFO kablam! | Oct 14 12:02:12.477 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:12.477 INFO kablam! Oct 14 12:02:12.477 INFO kablam! warning: structure field `IE` should have a snake case name such as `ie` Oct 14 12:02:12.477 INFO kablam! --> src/core/interrupt.rs:26:2 Oct 14 12:02:12.477 INFO kablam! | Oct 14 12:02:12.477 INFO kablam! 26 | pub IE: MemoryRegister, // used to control intterupts Oct 14 12:02:12.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.477 INFO kablam! | Oct 14 12:02:12.477 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 12:02:12.477 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `IF` should have a snake case name such as `if` Oct 14 12:02:12.487 INFO kablam! --> src/core/interrupt.rs:27:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 27 | pub IF: MemoryRegister, // indicates which type of interrupt is set Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `Vram` should have a snake case name such as `vram` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:84:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 84 | Vram: Vec, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `Oam` should have a snake case name such as `oam` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:85:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 85 | Oam: Vec, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `LCDC` should have a snake case name such as `lcdc` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:93:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 93 | pub LCDC: MemoryRegister, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `STAT` should have a snake case name such as `stat` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:94:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 94 | pub STAT: MemoryRegister, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `LYC` should have a snake case name such as `lyc` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:95:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 95 | pub LYC: MemoryRegister, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `LY` should have a snake case name such as `ly` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:96:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 96 | pub LY: MemoryRegister, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `BGP` should have a snake case name such as `bgp` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:97:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 97 | pub BGP: MemoryRegister, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `OBP0` should have a snake case name such as `obp0` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:98:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 98 | pub OBP0: MemoryRegister, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.487 INFO kablam! Oct 14 12:02:12.487 INFO kablam! warning: structure field `OBP1` should have a snake case name such as `obp1` Oct 14 12:02:12.487 INFO kablam! --> src/core/gpu.rs:99:2 Oct 14 12:02:12.487 INFO kablam! | Oct 14 12:02:12.487 INFO kablam! 99 | pub OBP1: MemoryRegister, Oct 14 12:02:12.487 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.488 INFO kablam! Oct 14 12:02:12.488 INFO kablam! warning: structure field `SCY` should have a snake case name such as `scy` Oct 14 12:02:12.488 INFO kablam! --> src/core/gpu.rs:100:2 Oct 14 12:02:12.488 INFO kablam! | Oct 14 12:02:12.488 INFO kablam! 100 | pub SCY: MemoryRegister, Oct 14 12:02:12.488 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.488 INFO kablam! Oct 14 12:02:12.488 INFO kablam! warning: structure field `SCX` should have a snake case name such as `scx` Oct 14 12:02:12.488 INFO kablam! --> src/core/gpu.rs:101:2 Oct 14 12:02:12.488 INFO kablam! | Oct 14 12:02:12.488 INFO kablam! 101 | pub SCX: MemoryRegister, Oct 14 12:02:12.488 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.488 INFO kablam! Oct 14 12:02:12.488 INFO kablam! warning: structure field `WY` should have a snake case name such as `wy` Oct 14 12:02:12.488 INFO kablam! --> src/core/gpu.rs:102:2 Oct 14 12:02:12.488 INFO kablam! | Oct 14 12:02:12.488 INFO kablam! 102 | pub WY: MemoryRegister, Oct 14 12:02:12.488 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.488 INFO kablam! Oct 14 12:02:12.488 INFO kablam! warning: structure field `WX` should have a snake case name such as `wx` Oct 14 12:02:12.488 INFO kablam! --> src/core/gpu.rs:103:2 Oct 14 12:02:12.488 INFO kablam! | Oct 14 12:02:12.488 INFO kablam! 103 | pub WX: MemoryRegister, Oct 14 12:02:12.488 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.488 INFO kablam! Oct 14 12:02:12.502 INFO kablam! warning: structure field `DIV` should have a snake case name such as `div` Oct 14 12:02:12.503 INFO kablam! --> src/core/timer.rs:16:5 Oct 14 12:02:12.503 INFO kablam! | Oct 14 12:02:12.503 INFO kablam! 16 | DIV: MemoryRegister, Oct 14 12:02:12.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.503 INFO kablam! Oct 14 12:02:12.503 INFO kablam! warning: structure field `TIMA` should have a snake case name such as `tima` Oct 14 12:02:12.503 INFO kablam! --> src/core/timer.rs:17:5 Oct 14 12:02:12.503 INFO kablam! | Oct 14 12:02:12.503 INFO kablam! 17 | TIMA: MemoryRegister, Oct 14 12:02:12.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.503 INFO kablam! Oct 14 12:02:12.503 INFO kablam! warning: structure field `TMA` should have a snake case name such as `tma` Oct 14 12:02:12.503 INFO kablam! --> src/core/timer.rs:18:5 Oct 14 12:02:12.503 INFO kablam! | Oct 14 12:02:12.503 INFO kablam! 18 | TMA: MemoryRegister, Oct 14 12:02:12.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.503 INFO kablam! Oct 14 12:02:12.503 INFO kablam! warning: structure field `TAC` should have a snake case name such as `tac` Oct 14 12:02:12.503 INFO kablam! --> src/core/timer.rs:19:5 Oct 14 12:02:12.503 INFO kablam! | Oct 14 12:02:12.503 INFO kablam! 19 | TAC: MemoryRegister, Oct 14 12:02:12.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.503 INFO kablam! Oct 14 12:02:14.115 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 13.57s Oct 14 12:02:14.123 INFO kablam! su: No module specific data is present Oct 14 12:02:15.335 INFO running `"docker" "rm" "-f" "e0ab208590626eeaf1070e85cf6805471e16b10e10c416973e869d21f87a9982"` Oct 14 12:02:15.639 INFO blam! e0ab208590626eeaf1070e85cf6805471e16b10e10c416973e869d21f87a9982 Oct 14 12:02:15.653 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 14 12:02:16.187 INFO blam! 1eb032a43644ec7870490ac0646e1334616d1891356999f2ce93781c3235d908 Oct 14 12:02:16.190 INFO running `"docker" "start" "-a" "1eb032a43644ec7870490ac0646e1334616d1891356999f2ce93781c3235d908"` Oct 14 12:02:18.306 INFO kablam! usermod: no changes Oct 14 12:02:18.403 INFO kablam! Compiling gameboy-crust v0.1.0 (/source) Oct 14 12:02:18.731 INFO kablam! warning: unused import: `std::io::*` Oct 14 12:02:18.731 INFO kablam! --> src/core/helper.rs:3:5 Oct 14 12:02:18.731 INFO kablam! | Oct 14 12:02:18.731 INFO kablam! 3 | use std::io::*; Oct 14 12:02:18.731 INFO kablam! | ^^^^^^^^^^ Oct 14 12:02:18.731 INFO kablam! | Oct 14 12:02:18.731 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:02:18.731 INFO kablam! Oct 14 12:02:18.731 INFO kablam! warning: unused macro definition Oct 14 12:02:18.731 INFO kablam! --> src/core/helper.rs:100:1 Oct 14 12:02:18.731 INFO kablam! | Oct 14 12:02:18.731 INFO kablam! 100 | / macro_rules! hex { Oct 14 12:02:18.732 INFO kablam! 101 | | ($val:expr) => {{ Oct 14 12:02:18.732 INFO kablam! 102 | | println!("${:02X}", $val); Oct 14 12:02:18.732 INFO kablam! 103 | | }} Oct 14 12:02:18.732 INFO kablam! 104 | | } Oct 14 12:02:18.732 INFO kablam! | |_^ Oct 14 12:02:18.732 INFO kablam! | Oct 14 12:02:18.732 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:02:18.732 INFO kablam! Oct 14 12:02:18.732 INFO kablam! warning: unused import: `core::helper::*` Oct 14 12:02:18.732 INFO kablam! --> src/core/register.rs:2:5 Oct 14 12:02:18.732 INFO kablam! | Oct 14 12:02:18.732 INFO kablam! 2 | use core::helper::*; Oct 14 12:02:18.733 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:18.733 INFO kablam! Oct 14 12:02:18.733 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.734 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.734 INFO kablam! | Oct 14 12:02:18.734 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.735 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.735 INFO kablam! | Oct 14 12:02:18.735 INFO kablam! ::: src/core/register.rs:63:18 Oct 14 12:02:18.735 INFO kablam! | Oct 14 12:02:18.735 INFO kablam! 63 | self.a = high!(value); Oct 14 12:02:18.735 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.736 INFO kablam! | Oct 14 12:02:18.736 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 12:02:18.736 INFO kablam! Oct 14 12:02:18.736 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.736 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.736 INFO kablam! | Oct 14 12:02:18.736 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.736 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.736 INFO kablam! | Oct 14 12:02:18.736 INFO kablam! ::: src/core/register.rs:64:18 Oct 14 12:02:18.736 INFO kablam! | Oct 14 12:02:18.736 INFO kablam! 64 | self.f = low!(value); Oct 14 12:02:18.736 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.736 INFO kablam! Oct 14 12:02:18.736 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.737 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.737 INFO kablam! | Oct 14 12:02:18.737 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.737 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.737 INFO kablam! | Oct 14 12:02:18.737 INFO kablam! ::: src/core/register.rs:68:18 Oct 14 12:02:18.737 INFO kablam! | Oct 14 12:02:18.737 INFO kablam! 68 | self.b = high!(value); Oct 14 12:02:18.737 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.737 INFO kablam! Oct 14 12:02:18.737 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.737 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.737 INFO kablam! | Oct 14 12:02:18.737 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.738 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! ::: src/core/register.rs:69:18 Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! 69 | self.c = low!(value); Oct 14 12:02:18.738 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.738 INFO kablam! Oct 14 12:02:18.738 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.738 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.738 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! ::: src/core/register.rs:73:18 Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! 73 | self.d = high!(value); Oct 14 12:02:18.738 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.738 INFO kablam! Oct 14 12:02:18.738 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.738 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.738 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! ::: src/core/register.rs:74:18 Oct 14 12:02:18.738 INFO kablam! | Oct 14 12:02:18.738 INFO kablam! 74 | self.e = low!(value); Oct 14 12:02:18.738 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.739 INFO kablam! Oct 14 12:02:18.739 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.739 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.739 INFO kablam! | Oct 14 12:02:18.739 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.739 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.739 INFO kablam! | Oct 14 12:02:18.739 INFO kablam! ::: src/core/register.rs:78:18 Oct 14 12:02:18.739 INFO kablam! | Oct 14 12:02:18.739 INFO kablam! 78 | self.h = high!(value); Oct 14 12:02:18.739 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.739 INFO kablam! Oct 14 12:02:18.739 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.739 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! ::: src/core/register.rs:79:18 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 79 | self.l = low!(value); Oct 14 12:02:18.740 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.740 INFO kablam! Oct 14 12:02:18.740 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.740 INFO kablam! --> src/core/register.rs:127:10 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 127 | match (self.f & Flag::Zero as u8) Oct 14 12:02:18.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.740 INFO kablam! Oct 14 12:02:18.740 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.740 INFO kablam! --> src/core/register.rs:132:10 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 132 | match (self.f & Flag::Sub as u8) Oct 14 12:02:18.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.740 INFO kablam! Oct 14 12:02:18.740 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.740 INFO kablam! --> src/core/register.rs:137:10 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 137 | match (self.f & Flag::HalfCarry as u8) Oct 14 12:02:18.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.740 INFO kablam! Oct 14 12:02:18.740 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.740 INFO kablam! --> src/core/register.rs:142:10 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 142 | match (self.f & Flag::Carry as u8) Oct 14 12:02:18.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.740 INFO kablam! Oct 14 12:02:18.740 INFO kablam! warning: unused import: `core::disassembler::*` Oct 14 12:02:18.740 INFO kablam! --> src/core/cpu.rs:4:5 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 4 | use core::disassembler::*; Oct 14 12:02:18.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:18.740 INFO kablam! Oct 14 12:02:18.740 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.740 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! ::: src/core/cpu.rs:223:34 Oct 14 12:02:18.740 INFO kablam! | Oct 14 12:02:18.740 INFO kablam! 223 | memory.write(nn, low!(self.regs.sp)); Oct 14 12:02:18.740 INFO kablam! | ------------------ in this macro invocation Oct 14 12:02:18.740 INFO kablam! Oct 14 12:02:18.741 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.741 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.741 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! ::: src/core/cpu.rs:224:38 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 224 | memory.write(nn + 1, high!(self.regs.sp)); Oct 14 12:02:18.741 INFO kablam! | ------------------- in this macro invocation Oct 14 12:02:18.741 INFO kablam! Oct 14 12:02:18.741 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.741 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.741 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! ::: src/core/cpu.rs:745:36 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 745 | memory.write(self.regs.sp, high!(data)); Oct 14 12:02:18.741 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.741 INFO kablam! Oct 14 12:02:18.741 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.741 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.741 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! ::: src/core/cpu.rs:747:36 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 747 | memory.write(self.regs.sp, low!(data)); Oct 14 12:02:18.741 INFO kablam! | ---------- in this macro invocation Oct 14 12:02:18.741 INFO kablam! Oct 14 12:02:18.741 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.741 INFO kablam! --> src/core/cpu.rs:770:34 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 770 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.741 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.741 INFO kablam! Oct 14 12:02:18.741 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.741 INFO kablam! --> src/core/cpu.rs:783:34 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 783 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.741 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.741 INFO kablam! Oct 14 12:02:18.741 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.741 INFO kablam! --> src/core/cpu.rs:792:34 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.741 INFO kablam! 792 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.741 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.741 INFO kablam! Oct 14 12:02:18.741 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.741 INFO kablam! --> src/core/cpu.rs:801:34 Oct 14 12:02:18.741 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 801 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.742 INFO kablam! --> src/core/cpu.rs:810:34 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 810 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.742 INFO kablam! --> src/core/cpu.rs:826:34 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 826 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.742 INFO kablam! --> src/core/cpu.rs:835:34 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 835 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.742 INFO kablam! --> src/core/cpu.rs:855:35 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 855 | self.regs.set_flag(Flag::Carry, (bit7 == 1)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.742 INFO kablam! --> src/core/cpu.rs:858:34 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 858 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.742 INFO kablam! --> src/core/cpu.rs:870:35 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 870 | self.regs.set_flag(Flag::Carry, (bit1 == 1)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.742 INFO kablam! --> src/core/cpu.rs:873:34 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.742 INFO kablam! 873 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:18.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.742 INFO kablam! Oct 14 12:02:18.742 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.742 INFO kablam! --> src/core/gpu.rs:337:13 Oct 14 12:02:18.742 INFO kablam! | Oct 14 12:02:18.743 INFO kablam! 337 | let row = (y / 8); Oct 14 12:02:18.743 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:18.743 INFO kablam! Oct 14 12:02:18.743 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.743 INFO kablam! --> src/core/gpu.rs:342:17 Oct 14 12:02:18.743 INFO kablam! | Oct 14 12:02:18.743 INFO kablam! 342 | let column = (x / 8); Oct 14 12:02:18.743 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:18.743 INFO kablam! Oct 14 12:02:18.743 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.743 INFO kablam! --> src/core/gpu.rs:404:18 Oct 14 12:02:18.743 INFO kablam! | Oct 14 12:02:18.743 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:18.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.743 INFO kablam! Oct 14 12:02:18.743 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:18.743 INFO kablam! --> src/core/gpu.rs:473:9 Oct 14 12:02:18.743 INFO kablam! | Oct 14 12:02:18.743 INFO kablam! 473 | if (scanline_y.wrapping_sub(sprite_y) < 8) { // top half Oct 14 12:02:18.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.743 INFO kablam! Oct 14 12:02:18.743 INFO kablam! warning: unused import: `interconnect::*` Oct 14 12:02:18.743 INFO kablam! --> src/core/dma.rs:2:5 Oct 14 12:02:18.743 INFO kablam! | Oct 14 12:02:18.743 INFO kablam! 2 | use interconnect::*; Oct 14 12:02:18.743 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:18.743 INFO kablam! Oct 14 12:02:18.743 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:18.743 INFO kablam! --> src/core/dma.rs:36:12 Oct 14 12:02:18.743 INFO kablam! | Oct 14 12:02:18.743 INFO kablam! 36 | if (self.cycles - adjusted_cycles < 0) { Oct 14 12:02:18.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.743 INFO kablam! Oct 14 12:02:18.743 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:18.743 INFO kablam! --> src/core/timer.rs:55:20 Oct 14 12:02:18.743 INFO kablam! | Oct 14 12:02:18.743 INFO kablam! 55 | if (timer_value == 255) { Oct 14 12:02:18.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.743 INFO kablam! Oct 14 12:02:19.242 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.243 INFO kablam! --> src/core/cpu.rs:430:4 Oct 14 12:02:19.243 INFO kablam! | Oct 14 12:02:19.243 INFO kablam! 430 | 0xC3 => { self.regs.pc = self.next_pointer(memory); 4 }, Oct 14 12:02:19.245 INFO kablam! | ^^^^ Oct 14 12:02:19.245 INFO kablam! | Oct 14 12:02:19.245 INFO kablam! = note: #[warn(unreachable_patterns)] on by default Oct 14 12:02:19.245 INFO kablam! Oct 14 12:02:19.272 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.273 INFO kablam! --> src/core/cpu.rs:1007:7 Oct 14 12:02:19.273 INFO kablam! | Oct 14 12:02:19.273 INFO kablam! 1007 | }, _ => unreachable!() Oct 14 12:02:19.273 INFO kablam! | ^ Oct 14 12:02:19.273 INFO kablam! Oct 14 12:02:19.273 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.273 INFO kablam! --> src/core/cpu.rs:1037:7 Oct 14 12:02:19.274 INFO kablam! | Oct 14 12:02:19.274 INFO kablam! 1037 | }, _ => unreachable!() Oct 14 12:02:19.274 INFO kablam! | ^ Oct 14 12:02:19.274 INFO kablam! Oct 14 12:02:19.274 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.275 INFO kablam! --> src/core/cpu.rs:1060:7 Oct 14 12:02:19.275 INFO kablam! | Oct 14 12:02:19.275 INFO kablam! 1060 | }, _ => unreachable!() Oct 14 12:02:19.275 INFO kablam! | ^ Oct 14 12:02:19.275 INFO kablam! Oct 14 12:02:19.277 INFO kablam! warning: unused variable: `n2` Oct 14 12:02:19.277 INFO kablam! --> src/core/disassembler.rs:7:6 Oct 14 12:02:19.277 INFO kablam! | Oct 14 12:02:19.278 INFO kablam! 7 | let n2 = mem.read(reg.pc + 1); // opcode + 2 Oct 14 12:02:19.278 INFO kablam! | ^^ help: consider using `_n2` instead Oct 14 12:02:19.278 INFO kablam! | Oct 14 12:02:19.278 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 14 12:02:19.278 INFO kablam! Oct 14 12:02:19.279 INFO kablam! warning: unused variable: `n3` Oct 14 12:02:19.279 INFO kablam! --> src/core/disassembler.rs:8:6 Oct 14 12:02:19.279 INFO kablam! | Oct 14 12:02:19.279 INFO kablam! 8 | let n3 = mem.read(reg.pc + 2); // opcode + 3 Oct 14 12:02:19.279 INFO kablam! | ^^ help: consider using `_n3` instead Oct 14 12:02:19.279 INFO kablam! Oct 14 12:02:19.280 INFO kablam! warning: unused variable: `new_mode` Oct 14 12:02:19.280 INFO kablam! --> src/core/gpu.rs:221:11 Oct 14 12:02:19.280 INFO kablam! | Oct 14 12:02:19.280 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:19.280 INFO kablam! | ^^^^^^^^ help: consider using `_new_mode` instead Oct 14 12:02:19.280 INFO kablam! Oct 14 12:02:19.280 INFO kablam! warning: variable `debug_color` is assigned to, but never used Oct 14 12:02:19.280 INFO kablam! --> src/core/gpu.rs:402:11 Oct 14 12:02:19.280 INFO kablam! | Oct 14 12:02:19.280 INFO kablam! 402 | let mut debug_color: u32 = (debug_line_color as u32) << 16; Oct 14 12:02:19.280 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:19.280 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! = note: consider using `_debug_color` instead Oct 14 12:02:19.281 INFO kablam! Oct 14 12:02:19.281 INFO kablam! warning: value assigned to `debug_color` is never read Oct 14 12:02:19.281 INFO kablam! --> src/core/gpu.rs:404:3 Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:19.281 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 12:02:19.281 INFO kablam! Oct 14 12:02:19.281 INFO kablam! warning: unused variable: `display_x` Oct 14 12:02:19.281 INFO kablam! --> src/core/gpu.rs:407:8 Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! 407 | let display_x = (i as u8).wrapping_add(window_x); Oct 14 12:02:19.281 INFO kablam! | ^^^^^^^^^ help: consider using `_display_x` instead Oct 14 12:02:19.281 INFO kablam! Oct 14 12:02:19.281 INFO kablam! warning: unused variable: `stat` Oct 14 12:02:19.281 INFO kablam! --> src/core/gpu.rs:589:7 Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! 589 | let stat = self.LCDC.get(); Oct 14 12:02:19.281 INFO kablam! | ^^^^ help: consider using `_stat` instead Oct 14 12:02:19.281 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: unused variable: `address` Oct 14 12:02:19.282 INFO kablam! --> src/core/mbc/mbc0.rs:9:22 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:19.282 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: unused variable: `data` Oct 14 12:02:19.282 INFO kablam! --> src/core/mbc/mbc0.rs:9:36 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:19.282 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: unused variable: `name` Oct 14 12:02:19.282 INFO kablam! --> src/core/mbc/mbc0.rs:10:29 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 10 | fn set_title(&mut self, name: String) {} Oct 14 12:02:19.282 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: unused variable: `address` Oct 14 12:02:19.282 INFO kablam! --> src/core/mbc/mbc2.rs:19:22 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:19.282 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: unused variable: `data` Oct 14 12:02:19.282 INFO kablam! --> src/core/mbc/mbc2.rs:19:36 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:19.282 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: unused variable: `name` Oct 14 12:02:19.282 INFO kablam! --> src/core/mbc/mbc2.rs:22:29 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 22 | fn set_title(&mut self, name: String) { Oct 14 12:02:19.282 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.288 INFO kablam! warning: unused variable: `data` Oct 14 12:02:19.288 INFO kablam! --> src/core/timer.rs:101:33 Oct 14 12:02:19.288 INFO kablam! | Oct 14 12:02:19.288 INFO kablam! 101 | pub fn write_div(&mut self, data: u8) { Oct 14 12:02:19.288 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:19.288 INFO kablam! Oct 14 12:02:19.425 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.425 INFO kablam! --> src/core/gpu.rs:221:7 Oct 14 12:02:19.425 INFO kablam! | Oct 14 12:02:19.425 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:19.425 INFO kablam! | ----^^^^^^^^ Oct 14 12:02:19.425 INFO kablam! | | Oct 14 12:02:19.425 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.425 INFO kablam! | Oct 14 12:02:19.425 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 12:02:19.425 INFO kablam! Oct 14 12:02:19.440 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.440 INFO kablam! --> src/core/gpu.rs:454:7 Oct 14 12:02:19.440 INFO kablam! | Oct 14 12:02:19.440 INFO kablam! 454 | let mut iter = self.sprite_table.clone().into_iter().filter(|sprite| { Oct 14 12:02:19.440 INFO kablam! | ----^^^^ Oct 14 12:02:19.440 INFO kablam! | | Oct 14 12:02:19.440 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.440 INFO kablam! Oct 14 12:02:19.458 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.458 INFO kablam! --> src/core/joypad.rs:57:13 Oct 14 12:02:19.458 INFO kablam! | Oct 14 12:02:19.458 INFO kablam! 57 | let mut result = self.register.get() & 0x30; Oct 14 12:02:19.458 INFO kablam! | ----^^^^^^ Oct 14 12:02:19.458 INFO kablam! | | Oct 14 12:02:19.458 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.458 INFO kablam! Oct 14 12:02:19.469 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.469 INFO kablam! --> src/emu/emulator.rs:36:7 Oct 14 12:02:19.469 INFO kablam! | Oct 14 12:02:19.469 INFO kablam! 36 | let mut multiplier = 100; Oct 14 12:02:19.469 INFO kablam! | ----^^^^^^^^^^ Oct 14 12:02:19.469 INFO kablam! | | Oct 14 12:02:19.469 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.469 INFO kablam! Oct 14 12:02:19.477 INFO kablam! warning: method is never used: `sub` Oct 14 12:02:19.477 INFO kablam! --> src/core/helper.rs:73:2 Oct 14 12:02:19.477 INFO kablam! | Oct 14 12:02:19.477 INFO kablam! 73 | pub fn sub(&mut self, data: u8) { Oct 14 12:02:19.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.477 INFO kablam! | Oct 14 12:02:19.477 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 12:02:19.477 INFO kablam! Oct 14 12:02:19.478 INFO kablam! warning: variant is never constructed: `Serial` Oct 14 12:02:19.478 INFO kablam! --> src/core/interrupt.rs:8:2 Oct 14 12:02:19.478 INFO kablam! | Oct 14 12:02:19.478 INFO kablam! 8 | Serial = 0b00001000, Oct 14 12:02:19.478 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.478 INFO kablam! Oct 14 12:02:19.478 INFO kablam! warning: field is never used: `counter` Oct 14 12:02:19.478 INFO kablam! --> src/core/interrupt.rs:23:2 Oct 14 12:02:19.478 INFO kablam! | Oct 14 12:02:19.478 INFO kablam! 23 | counter: u32, // counts the number of opcodes since interrupt status changed Oct 14 12:02:19.478 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:19.478 INFO kablam! Oct 14 12:02:19.478 INFO kablam! warning: method is never used: `read` Oct 14 12:02:19.478 INFO kablam! --> src/core/interrupt.rs:48:2 Oct 14 12:02:19.478 INFO kablam! | Oct 14 12:02:19.478 INFO kablam! 48 | pub fn read(&mut self, address: u16) -> u8 { Oct 14 12:02:19.478 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.478 INFO kablam! Oct 14 12:02:19.478 INFO kablam! warning: function is never used: `disassemble` Oct 14 12:02:19.478 INFO kablam! --> src/core/disassembler.rs:4:1 Oct 14 12:02:19.478 INFO kablam! | Oct 14 12:02:19.478 INFO kablam! 4 | pub fn disassemble(reg: &Registers, mem: &Interconnect, opcode: u8) -> String { Oct 14 12:02:19.478 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.478 INFO kablam! Oct 14 12:02:19.485 INFO kablam! warning: constant item is never used: `SB` Oct 14 12:02:19.485 INFO kablam! --> src/core/memory_map.rs:3:1 Oct 14 12:02:19.485 INFO kablam! | Oct 14 12:02:19.485 INFO kablam! 3 | pub const SB: u16 = 0xFF01; // Serial transfer data Oct 14 12:02:19.485 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.485 INFO kablam! Oct 14 12:02:19.485 INFO kablam! warning: constant item is never used: `SC` Oct 14 12:02:19.485 INFO kablam! --> src/core/memory_map.rs:4:1 Oct 14 12:02:19.485 INFO kablam! | Oct 14 12:02:19.485 INFO kablam! 4 | pub const SC: u16 = 0xFF02; // SIO Control Oct 14 12:02:19.485 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.485 INFO kablam! Oct 14 12:02:19.485 INFO kablam! warning: constant item is never used: `NR10` Oct 14 12:02:19.485 INFO kablam! --> src/core/memory_map.rs:10:1 Oct 14 12:02:19.485 INFO kablam! | Oct 14 12:02:19.485 INFO kablam! 10 | pub const NR10: u16 = 0xFF10; // Sound Mode 1 sweep Oct 14 12:02:19.485 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.485 INFO kablam! Oct 14 12:02:19.489 INFO kablam! warning: constant item is never used: `NR11` Oct 14 12:02:19.489 INFO kablam! --> src/core/memory_map.rs:11:1 Oct 14 12:02:19.489 INFO kablam! | Oct 14 12:02:19.489 INFO kablam! 11 | pub const NR11: u16 = 0xFF11; // Sound Mode 1 wave pattern Oct 14 12:02:19.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.489 INFO kablam! Oct 14 12:02:19.489 INFO kablam! warning: constant item is never used: `NR12` Oct 14 12:02:19.489 INFO kablam! --> src/core/memory_map.rs:12:1 Oct 14 12:02:19.489 INFO kablam! | Oct 14 12:02:19.489 INFO kablam! 12 | pub const NR12: u16 = 0xFF12; // Sound Mode 1 envelope Oct 14 12:02:19.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.489 INFO kablam! Oct 14 12:02:19.489 INFO kablam! warning: constant item is never used: `NR13` Oct 14 12:02:19.489 INFO kablam! --> src/core/memory_map.rs:13:1 Oct 14 12:02:19.489 INFO kablam! | Oct 14 12:02:19.489 INFO kablam! 13 | pub const NR13: u16 = 0xFF13; // Sound Mode 1 frequency low Oct 14 12:02:19.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.489 INFO kablam! Oct 14 12:02:19.489 INFO kablam! warning: constant item is never used: `NR14` Oct 14 12:02:19.489 INFO kablam! --> src/core/memory_map.rs:14:1 Oct 14 12:02:19.489 INFO kablam! | Oct 14 12:02:19.489 INFO kablam! 14 | pub const NR14: u16 = 0xFF14; // Sound Mode 1 frequency high Oct 14 12:02:19.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.489 INFO kablam! Oct 14 12:02:19.489 INFO kablam! warning: constant item is never used: `NR21` Oct 14 12:02:19.489 INFO kablam! --> src/core/memory_map.rs:15:1 Oct 14 12:02:19.490 INFO kablam! | Oct 14 12:02:19.490 INFO kablam! 15 | pub const NR21: u16 = 0xFF16; // Sound Mode 2 wave pattern Oct 14 12:02:19.490 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.490 INFO kablam! Oct 14 12:02:19.490 INFO kablam! warning: constant item is never used: `NR22` Oct 14 12:02:19.490 INFO kablam! --> src/core/memory_map.rs:16:1 Oct 14 12:02:19.490 INFO kablam! | Oct 14 12:02:19.490 INFO kablam! 16 | pub const NR22: u16 = 0xFF17; // Sound Mode 2 envelope Oct 14 12:02:19.490 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.495 INFO kablam! Oct 14 12:02:19.495 INFO kablam! warning: constant item is never used: `NR23` Oct 14 12:02:19.495 INFO kablam! --> src/core/memory_map.rs:17:1 Oct 14 12:02:19.495 INFO kablam! | Oct 14 12:02:19.495 INFO kablam! 17 | pub const NR23: u16 = 0xFF18; // Sound Mode 2 frequency low Oct 14 12:02:19.495 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.495 INFO kablam! Oct 14 12:02:19.495 INFO kablam! warning: constant item is never used: `NR24` Oct 14 12:02:19.495 INFO kablam! --> src/core/memory_map.rs:18:1 Oct 14 12:02:19.495 INFO kablam! | Oct 14 12:02:19.495 INFO kablam! 18 | pub const NR24: u16 = 0xFF19; // Sound Mode 2 frequency high Oct 14 12:02:19.495 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.495 INFO kablam! Oct 14 12:02:19.495 INFO kablam! warning: constant item is never used: `NR30` Oct 14 12:02:19.495 INFO kablam! --> src/core/memory_map.rs:19:1 Oct 14 12:02:19.495 INFO kablam! | Oct 14 12:02:19.495 INFO kablam! 19 | pub const NR30: u16 = 0xFF1A; // Sound Mode 3 sound on/off Oct 14 12:02:19.495 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.495 INFO kablam! Oct 14 12:02:19.495 INFO kablam! warning: constant item is never used: `NR31` Oct 14 12:02:19.495 INFO kablam! --> src/core/memory_map.rs:20:1 Oct 14 12:02:19.495 INFO kablam! | Oct 14 12:02:19.495 INFO kablam! 20 | pub const NR31: u16 = 0xFF1B; // Sound Mode 3 sound length Oct 14 12:02:19.495 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.495 INFO kablam! Oct 14 12:02:19.495 INFO kablam! warning: constant item is never used: `NR32` Oct 14 12:02:19.495 INFO kablam! --> src/core/memory_map.rs:21:1 Oct 14 12:02:19.495 INFO kablam! | Oct 14 12:02:19.495 INFO kablam! 21 | pub const NR32: u16 = 0xFF1C; // Sound Mode 3 output level Oct 14 12:02:19.495 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.495 INFO kablam! Oct 14 12:02:19.495 INFO kablam! warning: constant item is never used: `NR33` Oct 14 12:02:19.495 INFO kablam! --> src/core/memory_map.rs:22:1 Oct 14 12:02:19.495 INFO kablam! | Oct 14 12:02:19.495 INFO kablam! 22 | pub const NR33: u16 = 0xFF1D; // Sound Mode 3 frequency low Oct 14 12:02:19.496 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.496 INFO kablam! Oct 14 12:02:19.496 INFO kablam! warning: constant item is never used: `NR34` Oct 14 12:02:19.496 INFO kablam! --> src/core/memory_map.rs:23:1 Oct 14 12:02:19.496 INFO kablam! | Oct 14 12:02:19.496 INFO kablam! 23 | pub const NR34: u16 = 0xFF1E; // Sound Mode 3 frequency high Oct 14 12:02:19.496 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.496 INFO kablam! Oct 14 12:02:19.496 INFO kablam! warning: constant item is never used: `NR41` Oct 14 12:02:19.496 INFO kablam! --> src/core/memory_map.rs:24:1 Oct 14 12:02:19.496 INFO kablam! | Oct 14 12:02:19.496 INFO kablam! 24 | pub const NR41: u16 = 0xFF20; // Sound Mode 4 sound length Oct 14 12:02:19.496 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.496 INFO kablam! Oct 14 12:02:19.496 INFO kablam! warning: constant item is never used: `NR42` Oct 14 12:02:19.496 INFO kablam! --> src/core/memory_map.rs:25:1 Oct 14 12:02:19.496 INFO kablam! | Oct 14 12:02:19.496 INFO kablam! 25 | pub const NR42: u16 = 0xFF21; // Sound Mode 4 envelope Oct 14 12:02:19.496 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.496 INFO kablam! Oct 14 12:02:19.496 INFO kablam! warning: constant item is never used: `NR43` Oct 14 12:02:19.496 INFO kablam! --> src/core/memory_map.rs:26:1 Oct 14 12:02:19.496 INFO kablam! | Oct 14 12:02:19.496 INFO kablam! 26 | pub const NR43: u16 = 0xFF22; // Sound Mode 4 polynomial counter Oct 14 12:02:19.496 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.496 INFO kablam! Oct 14 12:02:19.496 INFO kablam! warning: constant item is never used: `NR44` Oct 14 12:02:19.496 INFO kablam! --> src/core/memory_map.rs:27:1 Oct 14 12:02:19.496 INFO kablam! | Oct 14 12:02:19.496 INFO kablam! 27 | pub const NR44: u16 = 0xFF23; // Sound Mode 4 counter/consecutive Oct 14 12:02:19.496 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.511 INFO kablam! Oct 14 12:02:19.511 INFO kablam! warning: constant item is never used: `NR50` Oct 14 12:02:19.511 INFO kablam! --> src/core/memory_map.rs:28:1 Oct 14 12:02:19.511 INFO kablam! | Oct 14 12:02:19.511 INFO kablam! 28 | pub const NR50: u16 = 0xFF24; // Channel Control/Volume Oct 14 12:02:19.511 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.511 INFO kablam! Oct 14 12:02:19.511 INFO kablam! warning: constant item is never used: `NR51` Oct 14 12:02:19.511 INFO kablam! --> src/core/memory_map.rs:29:1 Oct 14 12:02:19.511 INFO kablam! | Oct 14 12:02:19.511 INFO kablam! 29 | pub const NR51: u16 = 0xFF25; // Sound output terminal Oct 14 12:02:19.511 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.511 INFO kablam! Oct 14 12:02:19.511 INFO kablam! warning: constant item is never used: `NR52` Oct 14 12:02:19.511 INFO kablam! --> src/core/memory_map.rs:30:1 Oct 14 12:02:19.511 INFO kablam! | Oct 14 12:02:19.511 INFO kablam! 30 | pub const NR52: u16 = 0xFF26; // Sound on/off Oct 14 12:02:19.511 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.511 INFO kablam! Oct 14 12:02:19.511 INFO kablam! warning: method is never used: `size` Oct 14 12:02:19.511 INFO kablam! --> src/core/rom.rs:46:2 Oct 14 12:02:19.511 INFO kablam! | Oct 14 12:02:19.511 INFO kablam! 46 | pub fn size(&self) -> usize { Oct 14 12:02:19.512 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.512 INFO kablam! Oct 14 12:02:19.512 INFO kablam! warning: enum is never used: `StatusInterrupt` Oct 14 12:02:19.512 INFO kablam! --> src/core/gpu.rs:33:1 Oct 14 12:02:19.512 INFO kablam! | Oct 14 12:02:19.512 INFO kablam! 33 | enum StatusInterrupt { Oct 14 12:02:19.512 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.512 INFO kablam! Oct 14 12:02:19.512 INFO kablam! warning: method is never used: `set_stat` Oct 14 12:02:19.512 INFO kablam! --> src/core/gpu.rs:550:2 Oct 14 12:02:19.512 INFO kablam! | Oct 14 12:02:19.512 INFO kablam! 550 | fn set_stat(&mut self, mode: StatusInterrupt) { Oct 14 12:02:19.512 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.512 INFO kablam! Oct 14 12:02:19.512 INFO kablam! warning: method is never used: `size` Oct 14 12:02:19.512 INFO kablam! --> src/core/wram.rs:15:2 Oct 14 12:02:19.512 INFO kablam! | Oct 14 12:02:19.512 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:19.512 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.512 INFO kablam! Oct 14 12:02:19.512 INFO kablam! warning: method is never used: `size` Oct 14 12:02:19.512 INFO kablam! --> src/core/hram.rs:15:2 Oct 14 12:02:19.512 INFO kablam! | Oct 14 12:02:19.512 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:19.512 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.512 INFO kablam! Oct 14 12:02:19.512 INFO kablam! warning: field is never used: `rom_bank` Oct 14 12:02:19.512 INFO kablam! --> src/core/mbc/mbc2.rs:4:2 Oct 14 12:02:19.512 INFO kablam! | Oct 14 12:02:19.512 INFO kablam! 4 | rom_bank: u8 Oct 14 12:02:19.512 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:19.512 INFO kablam! Oct 14 12:02:19.512 INFO kablam! warning: field is never used: `rtc_register` Oct 14 12:02:19.512 INFO kablam! --> src/core/mbc/mbc3.rs:9:5 Oct 14 12:02:19.512 INFO kablam! | Oct 14 12:02:19.512 INFO kablam! 9 | rtc_register: u8, Oct 14 12:02:19.512 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 14 12:02:19.513 INFO kablam! Oct 14 12:02:19.513 INFO kablam! warning: field is never used: `select_ram_bank` Oct 14 12:02:19.513 INFO kablam! --> src/core/mbc/mbc3.rs:11:5 Oct 14 12:02:19.513 INFO kablam! | Oct 14 12:02:19.513 INFO kablam! 11 | select_ram_bank: bool, Oct 14 12:02:19.513 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.513 INFO kablam! Oct 14 12:02:19.527 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:19.527 INFO kablam! --> src/core/helper.rs:18:2 Oct 14 12:02:19.527 INFO kablam! | Oct 14 12:02:19.527 INFO kablam! 18 | file.write_all(bytes); Oct 14 12:02:19.527 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.527 INFO kablam! | Oct 14 12:02:19.527 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 14 12:02:19.527 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:19.527 INFO kablam! Oct 14 12:02:19.527 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:19.527 INFO kablam! --> src/core/helper.rs:28:13 Oct 14 12:02:19.527 INFO kablam! | Oct 14 12:02:19.527 INFO kablam! 28 | f.read_to_end(&mut temp_vec); Oct 14 12:02:19.527 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.527 INFO kablam! | Oct 14 12:02:19.528 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:19.528 INFO kablam! Oct 14 12:02:19.529 INFO kablam! warning: structure field `IE` should have a snake case name such as `ie` Oct 14 12:02:19.529 INFO kablam! --> src/core/interrupt.rs:26:2 Oct 14 12:02:19.529 INFO kablam! | Oct 14 12:02:19.529 INFO kablam! 26 | pub IE: MemoryRegister, // used to control intterupts Oct 14 12:02:19.529 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.529 INFO kablam! | Oct 14 12:02:19.529 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 12:02:19.529 INFO kablam! Oct 14 12:02:19.529 INFO kablam! warning: structure field `IF` should have a snake case name such as `if` Oct 14 12:02:19.529 INFO kablam! --> src/core/interrupt.rs:27:2 Oct 14 12:02:19.529 INFO kablam! | Oct 14 12:02:19.529 INFO kablam! 27 | pub IF: MemoryRegister, // indicates which type of interrupt is set Oct 14 12:02:19.529 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.529 INFO kablam! Oct 14 12:02:19.539 INFO kablam! warning: structure field `Vram` should have a snake case name such as `vram` Oct 14 12:02:19.539 INFO kablam! --> src/core/gpu.rs:84:2 Oct 14 12:02:19.539 INFO kablam! | Oct 14 12:02:19.539 INFO kablam! 84 | Vram: Vec, Oct 14 12:02:19.539 INFO kablam! | ^^^^^^^^^^^^^ Oct 14 12:02:19.539 INFO kablam! Oct 14 12:02:19.547 INFO kablam! warning: structure field `Oam` should have a snake case name such as `oam` Oct 14 12:02:19.547 INFO kablam! --> src/core/gpu.rs:85:2 Oct 14 12:02:19.547 INFO kablam! | Oct 14 12:02:19.547 INFO kablam! 85 | Oam: Vec, Oct 14 12:02:19.547 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:19.547 INFO kablam! Oct 14 12:02:19.547 INFO kablam! warning: structure field `LCDC` should have a snake case name such as `lcdc` Oct 14 12:02:19.547 INFO kablam! --> src/core/gpu.rs:93:2 Oct 14 12:02:19.547 INFO kablam! | Oct 14 12:02:19.547 INFO kablam! 93 | pub LCDC: MemoryRegister, Oct 14 12:02:19.547 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.547 INFO kablam! Oct 14 12:02:19.547 INFO kablam! warning: structure field `STAT` should have a snake case name such as `stat` Oct 14 12:02:19.547 INFO kablam! --> src/core/gpu.rs:94:2 Oct 14 12:02:19.547 INFO kablam! | Oct 14 12:02:19.547 INFO kablam! 94 | pub STAT: MemoryRegister, Oct 14 12:02:19.547 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.547 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `LYC` should have a snake case name such as `lyc` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:95:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 95 | pub LYC: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `LY` should have a snake case name such as `ly` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:96:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 96 | pub LY: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `BGP` should have a snake case name such as `bgp` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:97:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 97 | pub BGP: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `OBP0` should have a snake case name such as `obp0` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:98:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 98 | pub OBP0: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `OBP1` should have a snake case name such as `obp1` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:99:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 99 | pub OBP1: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `SCY` should have a snake case name such as `scy` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:100:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 100 | pub SCY: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `SCX` should have a snake case name such as `scx` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:101:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 101 | pub SCX: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `WY` should have a snake case name such as `wy` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:102:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 102 | pub WY: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.548 INFO kablam! warning: structure field `WX` should have a snake case name such as `wx` Oct 14 12:02:19.548 INFO kablam! --> src/core/gpu.rs:103:2 Oct 14 12:02:19.548 INFO kablam! | Oct 14 12:02:19.548 INFO kablam! 103 | pub WX: MemoryRegister, Oct 14 12:02:19.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.548 INFO kablam! Oct 14 12:02:19.553 INFO kablam! warning: structure field `DIV` should have a snake case name such as `div` Oct 14 12:02:19.553 INFO kablam! --> src/core/timer.rs:16:5 Oct 14 12:02:19.553 INFO kablam! | Oct 14 12:02:19.553 INFO kablam! 16 | DIV: MemoryRegister, Oct 14 12:02:19.553 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.553 INFO kablam! Oct 14 12:02:19.553 INFO kablam! warning: structure field `TIMA` should have a snake case name such as `tima` Oct 14 12:02:19.553 INFO kablam! --> src/core/timer.rs:17:5 Oct 14 12:02:19.553 INFO kablam! | Oct 14 12:02:19.553 INFO kablam! 17 | TIMA: MemoryRegister, Oct 14 12:02:19.553 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.553 INFO kablam! Oct 14 12:02:19.553 INFO kablam! warning: structure field `TMA` should have a snake case name such as `tma` Oct 14 12:02:19.553 INFO kablam! --> src/core/timer.rs:18:5 Oct 14 12:02:19.553 INFO kablam! | Oct 14 12:02:19.553 INFO kablam! 18 | TMA: MemoryRegister, Oct 14 12:02:19.553 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.553 INFO kablam! Oct 14 12:02:19.553 INFO kablam! warning: structure field `TAC` should have a snake case name such as `tac` Oct 14 12:02:19.553 INFO kablam! --> src/core/timer.rs:19:5 Oct 14 12:02:19.553 INFO kablam! | Oct 14 12:02:19.553 INFO kablam! 19 | TAC: MemoryRegister, Oct 14 12:02:19.553 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.553 INFO kablam! Oct 14 12:02:20.123 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.80s Oct 14 12:02:20.128 INFO kablam! su: No module specific data is present Oct 14 12:02:21.281 INFO running `"docker" "rm" "-f" "1eb032a43644ec7870490ac0646e1334616d1891356999f2ce93781c3235d908"` Oct 14 12:02:21.667 INFO blam! 1eb032a43644ec7870490ac0646e1334616d1891356999f2ce93781c3235d908 Oct 14 12:02:21.671 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 14 12:02:22.105 INFO blam! 375039a162ea308216ef677e562dfbf3b717cd648131770277f4de9546e57abd Oct 14 12:02:22.108 INFO running `"docker" "start" "-a" "375039a162ea308216ef677e562dfbf3b717cd648131770277f4de9546e57abd"` Oct 14 12:02:23.392 INFO kablam! usermod: no changes Oct 14 12:02:23.475 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.06s Oct 14 12:02:23.475 INFO kablam! Running /target/debug/deps/gameboy_crust-07ebb7e8ec81e985 Oct 14 12:02:23.483 INFO blam! Oct 14 12:02:23.483 INFO blam! running 0 tests Oct 14 12:02:23.483 INFO blam! Oct 14 12:02:23.483 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 14 12:02:23.483 INFO blam! Oct 14 12:02:23.484 INFO kablam! su: No module specific data is present Oct 14 12:02:24.023 INFO running `"docker" "rm" "-f" "375039a162ea308216ef677e562dfbf3b717cd648131770277f4de9546e57abd"` Oct 14 12:02:24.335 INFO blam! 375039a162ea308216ef677e562dfbf3b717cd648131770277f4de9546e57abd