Oct 14 12:01:58.161 INFO testing mattbruv/Gameboy-Crust against try#40d4795669493f1965de7c44029c69552134fe1f for rustdoc-test-static-cling-1 Oct 14 12:01:58.161 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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.759 INFO blam! 4625b6fa6f16cb829279266690b9e2bf726e3d65fa95fe71d3eeb5506007ed60 Oct 14 12:01:58.787 INFO running `"docker" "start" "-a" "4625b6fa6f16cb829279266690b9e2bf726e3d65fa95fe71d3eeb5506007ed60"` Oct 14 12:02:00.091 INFO kablam! usermod: no changes Oct 14 12:02:00.183 INFO kablam! Compiling lazy_static v0.2.9 Oct 14 12:02:00.183 INFO kablam! Compiling libc v0.2.32 Oct 14 12:02:00.183 INFO kablam! Compiling x11-dl v2.14.0 Oct 14 12:02:00.183 INFO kablam! Compiling minifb v0.10.3 Oct 14 12:02:02.944 INFO kablam! Compiling time v0.1.38 Oct 14 12:02:11.240 INFO kablam! Compiling gameboy-crust v0.1.0 (/source) Oct 14 12:02:11.551 INFO kablam! warning: unused import: `std::io::*` Oct 14 12:02:11.551 INFO kablam! --> src/core/helper.rs:3:5 Oct 14 12:02:11.551 INFO kablam! | Oct 14 12:02:11.551 INFO kablam! 3 | use std::io::*; Oct 14 12:02:11.551 INFO kablam! | ^^^^^^^^^^ Oct 14 12:02:11.551 INFO kablam! | Oct 14 12:02:11.551 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:02:11.551 INFO kablam! Oct 14 12:02:11.551 INFO kablam! warning: unused macro definition Oct 14 12:02:11.551 INFO kablam! --> src/core/helper.rs:100:1 Oct 14 12:02:11.551 INFO kablam! | Oct 14 12:02:11.551 INFO kablam! 100 | / macro_rules! hex { Oct 14 12:02:11.551 INFO kablam! 101 | | ($val:expr) => {{ Oct 14 12:02:11.551 INFO kablam! 102 | | println!("${:02X}", $val); Oct 14 12:02:11.551 INFO kablam! 103 | | }} Oct 14 12:02:11.551 INFO kablam! 104 | | } Oct 14 12:02:11.551 INFO kablam! | |_^ Oct 14 12:02:11.551 INFO kablam! | Oct 14 12:02:11.551 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:02:11.552 INFO kablam! Oct 14 12:02:11.552 INFO kablam! warning: unused import: `core::helper::*` Oct 14 12:02:11.552 INFO kablam! --> src/core/register.rs:2:5 Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! 2 | use core::helper::*; Oct 14 12:02:11.552 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:11.552 INFO kablam! Oct 14 12:02:11.552 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.552 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.552 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! ::: src/core/register.rs:63:18 Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! 63 | self.a = high!(value); Oct 14 12:02:11.552 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 12:02:11.552 INFO kablam! Oct 14 12:02:11.552 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.552 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.552 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! ::: src/core/register.rs:64:18 Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! 64 | self.f = low!(value); Oct 14 12:02:11.552 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.552 INFO kablam! Oct 14 12:02:11.552 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.552 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.552 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.552 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.552 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! ::: src/core/register.rs:68:18 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 68 | self.b = high!(value); Oct 14 12:02:11.563 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.563 INFO kablam! Oct 14 12:02:11.563 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.563 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.563 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! ::: src/core/register.rs:69:18 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 69 | self.c = low!(value); Oct 14 12:02:11.563 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.563 INFO kablam! Oct 14 12:02:11.563 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.563 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.563 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! ::: src/core/register.rs:73:18 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 73 | self.d = high!(value); Oct 14 12:02:11.563 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.563 INFO kablam! Oct 14 12:02:11.563 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.563 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.563 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! ::: src/core/register.rs:74:18 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 74 | self.e = low!(value); Oct 14 12:02:11.563 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.563 INFO kablam! Oct 14 12:02:11.563 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.563 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.563 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.563 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.563 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! ::: src/core/register.rs:78:18 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 78 | self.h = high!(value); Oct 14 12:02:11.564 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.564 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! ::: src/core/register.rs:79:18 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 79 | self.l = low!(value); Oct 14 12:02:11.564 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.564 INFO kablam! --> src/core/register.rs:127:10 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 127 | match (self.f & Flag::Zero as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.564 INFO kablam! --> src/core/register.rs:132:10 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 132 | match (self.f & Flag::Sub as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.564 INFO kablam! --> src/core/register.rs:137:10 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 137 | match (self.f & Flag::HalfCarry as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:11.564 INFO kablam! --> src/core/register.rs:142:10 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 142 | match (self.f & Flag::Carry as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unused import: `core::disassembler::*` Oct 14 12:02:11.564 INFO kablam! --> src/core/cpu.rs:4:5 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 4 | use core::disassembler::*; Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.564 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! ::: src/core/cpu.rs:223:34 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 223 | memory.write(nn, low!(self.regs.sp)); Oct 14 12:02:11.564 INFO kablam! | ------------------ in this macro invocation Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.564 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! ::: src/core/cpu.rs:224:38 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 224 | memory.write(nn + 1, high!(self.regs.sp)); Oct 14 12:02:11.564 INFO kablam! | ------------------- in this macro invocation Oct 14 12:02:11.564 INFO kablam! Oct 14 12:02:11.564 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.564 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:11.564 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! ::: src/core/cpu.rs:745:36 Oct 14 12:02:11.564 INFO kablam! | Oct 14 12:02:11.564 INFO kablam! 745 | memory.write(self.regs.sp, high!(data)); Oct 14 12:02:11.564 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! ::: src/core/cpu.rs:747:36 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 747 | memory.write(self.regs.sp, low!(data)); Oct 14 12:02:11.565 INFO kablam! | ---------- in this macro invocation Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:770:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 770 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:783:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 783 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:792:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 792 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:801:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 801 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:810:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 810 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:826:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 826 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:835:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 835 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:855:35 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 855 | self.regs.set_flag(Flag::Carry, (bit7 == 1)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:858:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 858 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:870:35 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 870 | self.regs.set_flag(Flag::Carry, (bit1 == 1)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:11.565 INFO kablam! --> src/core/cpu.rs:873:34 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.565 INFO kablam! 873 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:11.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.565 INFO kablam! Oct 14 12:02:11.565 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.565 INFO kablam! --> src/core/gpu.rs:337:13 Oct 14 12:02:11.565 INFO kablam! | Oct 14 12:02:11.566 INFO kablam! 337 | let row = (y / 8); Oct 14 12:02:11.566 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:11.566 INFO kablam! Oct 14 12:02:11.566 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.566 INFO kablam! --> src/core/gpu.rs:342:17 Oct 14 12:02:11.566 INFO kablam! | Oct 14 12:02:11.566 INFO kablam! 342 | let column = (x / 8); Oct 14 12:02:11.566 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:11.566 INFO kablam! Oct 14 12:02:11.566 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:11.566 INFO kablam! --> src/core/gpu.rs:404:18 Oct 14 12:02:11.566 INFO kablam! | Oct 14 12:02:11.566 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:11.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.566 INFO kablam! Oct 14 12:02:11.566 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:11.566 INFO kablam! --> src/core/gpu.rs:473:9 Oct 14 12:02:11.566 INFO kablam! | Oct 14 12:02:11.566 INFO kablam! 473 | if (scanline_y.wrapping_sub(sprite_y) < 8) { // top half Oct 14 12:02:11.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.566 INFO kablam! Oct 14 12:02:11.566 INFO kablam! warning: unused import: `interconnect::*` Oct 14 12:02:11.566 INFO kablam! --> src/core/dma.rs:2:5 Oct 14 12:02:11.566 INFO kablam! | Oct 14 12:02:11.566 INFO kablam! 2 | use interconnect::*; Oct 14 12:02:11.566 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:11.566 INFO kablam! Oct 14 12:02:11.566 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:11.566 INFO kablam! --> src/core/dma.rs:36:12 Oct 14 12:02:11.566 INFO kablam! | Oct 14 12:02:11.566 INFO kablam! 36 | if (self.cycles - adjusted_cycles < 0) { Oct 14 12:02:11.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.566 INFO kablam! Oct 14 12:02:11.566 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:11.566 INFO kablam! --> src/core/timer.rs:55:20 Oct 14 12:02:11.566 INFO kablam! | Oct 14 12:02:11.566 INFO kablam! 55 | if (timer_value == 255) { Oct 14 12:02:11.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:11.566 INFO kablam! Oct 14 12:02:12.035 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.035 INFO kablam! --> src/core/cpu.rs:430:4 Oct 14 12:02:12.035 INFO kablam! | Oct 14 12:02:12.035 INFO kablam! 430 | 0xC3 => { self.regs.pc = self.next_pointer(memory); 4 }, Oct 14 12:02:12.035 INFO kablam! | ^^^^ Oct 14 12:02:12.035 INFO kablam! | Oct 14 12:02:12.035 INFO kablam! = note: #[warn(unreachable_patterns)] on by default Oct 14 12:02:12.035 INFO kablam! Oct 14 12:02:12.065 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.065 INFO kablam! --> src/core/cpu.rs:1007:7 Oct 14 12:02:12.065 INFO kablam! | Oct 14 12:02:12.065 INFO kablam! 1007 | }, _ => unreachable!() Oct 14 12:02:12.065 INFO kablam! | ^ Oct 14 12:02:12.065 INFO kablam! Oct 14 12:02:12.065 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.066 INFO kablam! --> src/core/cpu.rs:1037:7 Oct 14 12:02:12.066 INFO kablam! | Oct 14 12:02:12.066 INFO kablam! 1037 | }, _ => unreachable!() Oct 14 12:02:12.066 INFO kablam! | ^ Oct 14 12:02:12.066 INFO kablam! Oct 14 12:02:12.066 INFO kablam! warning: unreachable pattern Oct 14 12:02:12.066 INFO kablam! --> src/core/cpu.rs:1060:7 Oct 14 12:02:12.066 INFO kablam! | Oct 14 12:02:12.066 INFO kablam! 1060 | }, _ => unreachable!() Oct 14 12:02:12.066 INFO kablam! | ^ Oct 14 12:02:12.067 INFO kablam! Oct 14 12:02:12.074 INFO kablam! warning: unused variable: `n2` Oct 14 12:02:12.075 INFO kablam! --> src/core/disassembler.rs:7:6 Oct 14 12:02:12.075 INFO kablam! | Oct 14 12:02:12.075 INFO kablam! 7 | let n2 = mem.read(reg.pc + 1); // opcode + 2 Oct 14 12:02:12.075 INFO kablam! | ^^ help: consider using `_n2` instead Oct 14 12:02:12.076 INFO kablam! | Oct 14 12:02:12.076 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 14 12:02:12.076 INFO kablam! Oct 14 12:02:12.077 INFO kablam! warning: unused variable: `n3` Oct 14 12:02:12.077 INFO kablam! --> src/core/disassembler.rs:8:6 Oct 14 12:02:12.077 INFO kablam! | Oct 14 12:02:12.077 INFO kablam! 8 | let n3 = mem.read(reg.pc + 2); // opcode + 3 Oct 14 12:02:12.078 INFO kablam! | ^^ help: consider using `_n3` instead Oct 14 12:02:12.078 INFO kablam! Oct 14 12:02:12.081 INFO kablam! warning: unused variable: `new_mode` Oct 14 12:02:12.081 INFO kablam! --> src/core/gpu.rs:221:11 Oct 14 12:02:12.081 INFO kablam! | Oct 14 12:02:12.081 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:12.081 INFO kablam! | ^^^^^^^^ help: consider using `_new_mode` instead Oct 14 12:02:12.081 INFO kablam! Oct 14 12:02:12.083 INFO kablam! warning: variable `debug_color` is assigned to, but never used Oct 14 12:02:12.083 INFO kablam! --> src/core/gpu.rs:402:11 Oct 14 12:02:12.083 INFO kablam! | Oct 14 12:02:12.083 INFO kablam! 402 | let mut debug_color: u32 = (debug_line_color as u32) << 16; Oct 14 12:02:12.083 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:12.083 INFO kablam! | Oct 14 12:02:12.085 INFO kablam! = note: consider using `_debug_color` instead Oct 14 12:02:12.085 INFO kablam! Oct 14 12:02:12.086 INFO kablam! warning: value assigned to `debug_color` is never read Oct 14 12:02:12.086 INFO kablam! --> src/core/gpu.rs:404:3 Oct 14 12:02:12.086 INFO kablam! | Oct 14 12:02:12.086 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:12.086 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:12.086 INFO kablam! | Oct 14 12:02:12.087 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 12:02:12.087 INFO kablam! Oct 14 12:02:12.087 INFO kablam! warning: unused variable: `display_x` Oct 14 12:02:12.087 INFO kablam! --> src/core/gpu.rs:407:8 Oct 14 12:02:12.087 INFO kablam! | Oct 14 12:02:12.087 INFO kablam! 407 | let display_x = (i as u8).wrapping_add(window_x); Oct 14 12:02:12.087 INFO kablam! | ^^^^^^^^^ help: consider using `_display_x` instead Oct 14 12:02:12.087 INFO kablam! Oct 14 12:02:12.087 INFO kablam! warning: unused variable: `stat` Oct 14 12:02:12.088 INFO kablam! --> src/core/gpu.rs:589:7 Oct 14 12:02:12.088 INFO kablam! | Oct 14 12:02:12.088 INFO kablam! 589 | let stat = self.LCDC.get(); Oct 14 12:02:12.088 INFO kablam! | ^^^^ help: consider using `_stat` instead Oct 14 12:02:12.088 INFO kablam! Oct 14 12:02:12.088 INFO kablam! warning: unused variable: `address` Oct 14 12:02:12.088 INFO kablam! --> src/core/mbc/mbc0.rs:9:22 Oct 14 12:02:12.088 INFO kablam! | Oct 14 12:02:12.088 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:12.088 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:12.088 INFO kablam! Oct 14 12:02:12.088 INFO kablam! warning: unused variable: `data` Oct 14 12:02:12.088 INFO kablam! --> src/core/mbc/mbc0.rs:9:36 Oct 14 12:02:12.088 INFO kablam! | Oct 14 12:02:12.088 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:12.088 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:12.088 INFO kablam! Oct 14 12:02:12.088 INFO kablam! warning: unused variable: `name` Oct 14 12:02:12.088 INFO kablam! --> src/core/mbc/mbc0.rs:10:29 Oct 14 12:02:12.088 INFO kablam! | Oct 14 12:02:12.088 INFO kablam! 10 | fn set_title(&mut self, name: String) {} Oct 14 12:02:12.088 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:12.088 INFO kablam! Oct 14 12:02:12.089 INFO kablam! warning: unused variable: `address` Oct 14 12:02:12.089 INFO kablam! --> src/core/mbc/mbc2.rs:19:22 Oct 14 12:02:12.089 INFO kablam! | Oct 14 12:02:12.089 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:12.089 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:12.089 INFO kablam! Oct 14 12:02:12.089 INFO kablam! warning: unused variable: `data` Oct 14 12:02:12.089 INFO kablam! --> src/core/mbc/mbc2.rs:19:36 Oct 14 12:02:12.089 INFO kablam! | Oct 14 12:02:12.089 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:12.089 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:12.089 INFO kablam! Oct 14 12:02:12.089 INFO kablam! warning: unused variable: `name` Oct 14 12:02:12.089 INFO kablam! --> src/core/mbc/mbc2.rs:22:29 Oct 14 12:02:12.089 INFO kablam! | Oct 14 12:02:12.089 INFO kablam! 22 | fn set_title(&mut self, name: String) { Oct 14 12:02:12.089 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:12.089 INFO kablam! Oct 14 12:02:12.089 INFO kablam! warning: unused variable: `data` Oct 14 12:02:12.089 INFO kablam! --> src/core/timer.rs:101:33 Oct 14 12:02:12.089 INFO kablam! | Oct 14 12:02:12.089 INFO kablam! 101 | pub fn write_div(&mut self, data: u8) { Oct 14 12:02:12.089 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:12.089 INFO kablam! Oct 14 12:02:12.225 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.226 INFO kablam! --> src/core/gpu.rs:221:7 Oct 14 12:02:12.226 INFO kablam! | Oct 14 12:02:12.226 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:12.226 INFO kablam! | ----^^^^^^^^ Oct 14 12:02:12.226 INFO kablam! | | Oct 14 12:02:12.226 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.226 INFO kablam! | Oct 14 12:02:12.226 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 12:02:12.226 INFO kablam! Oct 14 12:02:12.243 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.243 INFO kablam! --> src/core/gpu.rs:454:7 Oct 14 12:02:12.243 INFO kablam! | Oct 14 12:02:12.244 INFO kablam! 454 | let mut iter = self.sprite_table.clone().into_iter().filter(|sprite| { Oct 14 12:02:12.244 INFO kablam! | ----^^^^ Oct 14 12:02:12.244 INFO kablam! | | Oct 14 12:02:12.244 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.244 INFO kablam! Oct 14 12:02:12.260 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.260 INFO kablam! --> src/core/joypad.rs:57:13 Oct 14 12:02:12.260 INFO kablam! | Oct 14 12:02:12.261 INFO kablam! 57 | let mut result = self.register.get() & 0x30; Oct 14 12:02:12.261 INFO kablam! | ----^^^^^^ Oct 14 12:02:12.261 INFO kablam! | | Oct 14 12:02:12.261 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.261 INFO kablam! Oct 14 12:02:12.270 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:12.271 INFO kablam! --> src/emu/emulator.rs:36:7 Oct 14 12:02:12.271 INFO kablam! | Oct 14 12:02:12.271 INFO kablam! 36 | let mut multiplier = 100; Oct 14 12:02:12.271 INFO kablam! | ----^^^^^^^^^^ Oct 14 12:02:12.271 INFO kablam! | | Oct 14 12:02:12.271 INFO kablam! | help: remove this `mut` Oct 14 12:02:12.271 INFO kablam! Oct 14 12:02:12.279 INFO kablam! warning: method is never used: `sub` Oct 14 12:02:12.279 INFO kablam! --> src/core/helper.rs:73:2 Oct 14 12:02:12.279 INFO kablam! | Oct 14 12:02:12.279 INFO kablam! 73 | pub fn sub(&mut self, data: u8) { Oct 14 12:02:12.279 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.279 INFO kablam! | Oct 14 12:02:12.279 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 12:02:12.279 INFO kablam! Oct 14 12:02:12.279 INFO kablam! warning: variant is never constructed: `Serial` Oct 14 12:02:12.279 INFO kablam! --> src/core/interrupt.rs:8:2 Oct 14 12:02:12.279 INFO kablam! | Oct 14 12:02:12.279 INFO kablam! 8 | Serial = 0b00001000, Oct 14 12:02:12.279 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.279 INFO kablam! Oct 14 12:02:12.279 INFO kablam! warning: field is never used: `counter` Oct 14 12:02:12.279 INFO kablam! --> src/core/interrupt.rs:23:2 Oct 14 12:02:12.279 INFO kablam! | Oct 14 12:02:12.279 INFO kablam! 23 | counter: u32, // counts the number of opcodes since interrupt status changed Oct 14 12:02:12.279 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:12.279 INFO kablam! Oct 14 12:02:12.279 INFO kablam! warning: method is never used: `read` Oct 14 12:02:12.279 INFO kablam! --> src/core/interrupt.rs:48:2 Oct 14 12:02:12.279 INFO kablam! | Oct 14 12:02:12.279 INFO kablam! 48 | pub fn read(&mut self, address: u16) -> u8 { Oct 14 12:02:12.279 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.279 INFO kablam! Oct 14 12:02:12.279 INFO kablam! warning: function is never used: `disassemble` Oct 14 12:02:12.279 INFO kablam! --> src/core/disassembler.rs:4:1 Oct 14 12:02:12.279 INFO kablam! | Oct 14 12:02:12.279 INFO kablam! 4 | pub fn disassemble(reg: &Registers, mem: &Interconnect, opcode: u8) -> String { Oct 14 12:02:12.279 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `SB` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:3:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 3 | pub const SB: u16 = 0xFF01; // Serial transfer data Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `SC` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:4:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 4 | pub const SC: u16 = 0xFF02; // SIO Control Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `NR10` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:10:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 10 | pub const NR10: u16 = 0xFF10; // Sound Mode 1 sweep Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `NR11` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:11:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 11 | pub const NR11: u16 = 0xFF11; // Sound Mode 1 wave pattern Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `NR12` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:12:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 12 | pub const NR12: u16 = 0xFF12; // Sound Mode 1 envelope Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `NR13` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:13:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 13 | pub const NR13: u16 = 0xFF13; // Sound Mode 1 frequency low Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `NR14` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:14:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 14 | pub const NR14: u16 = 0xFF14; // Sound Mode 1 frequency high Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `NR21` Oct 14 12:02:12.280 INFO kablam! --> src/core/memory_map.rs:15:1 Oct 14 12:02:12.280 INFO kablam! | Oct 14 12:02:12.280 INFO kablam! 15 | pub const NR21: u16 = 0xFF16; // Sound Mode 2 wave pattern Oct 14 12:02:12.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.280 INFO kablam! Oct 14 12:02:12.280 INFO kablam! warning: constant item is never used: `NR22` Oct 14 12:02:12.281 INFO kablam! --> src/core/memory_map.rs:16:1 Oct 14 12:02:12.281 INFO kablam! | Oct 14 12:02:12.281 INFO kablam! 16 | pub const NR22: u16 = 0xFF17; // Sound Mode 2 envelope Oct 14 12:02:12.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.281 INFO kablam! Oct 14 12:02:12.281 INFO kablam! warning: constant item is never used: `NR23` Oct 14 12:02:12.281 INFO kablam! --> src/core/memory_map.rs:17:1 Oct 14 12:02:12.281 INFO kablam! | Oct 14 12:02:12.281 INFO kablam! 17 | pub const NR23: u16 = 0xFF18; // Sound Mode 2 frequency low Oct 14 12:02:12.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.281 INFO kablam! Oct 14 12:02:12.281 INFO kablam! warning: constant item is never used: `NR24` Oct 14 12:02:12.281 INFO kablam! --> src/core/memory_map.rs:18:1 Oct 14 12:02:12.281 INFO kablam! | Oct 14 12:02:12.281 INFO kablam! 18 | pub const NR24: u16 = 0xFF19; // Sound Mode 2 frequency high Oct 14 12:02:12.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.281 INFO kablam! Oct 14 12:02:12.281 INFO kablam! warning: constant item is never used: `NR30` Oct 14 12:02:12.281 INFO kablam! --> src/core/memory_map.rs:19:1 Oct 14 12:02:12.281 INFO kablam! | Oct 14 12:02:12.281 INFO kablam! 19 | pub const NR30: u16 = 0xFF1A; // Sound Mode 3 sound on/off Oct 14 12:02:12.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.281 INFO kablam! Oct 14 12:02:12.281 INFO kablam! warning: constant item is never used: `NR31` Oct 14 12:02:12.281 INFO kablam! --> src/core/memory_map.rs:20:1 Oct 14 12:02:12.281 INFO kablam! | Oct 14 12:02:12.281 INFO kablam! 20 | pub const NR31: u16 = 0xFF1B; // Sound Mode 3 sound length Oct 14 12:02:12.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.281 INFO kablam! Oct 14 12:02:12.281 INFO kablam! warning: constant item is never used: `NR32` Oct 14 12:02:12.281 INFO kablam! --> src/core/memory_map.rs:21:1 Oct 14 12:02:12.281 INFO kablam! | Oct 14 12:02:12.281 INFO kablam! 21 | pub const NR32: u16 = 0xFF1C; // Sound Mode 3 output level Oct 14 12:02:12.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.281 INFO kablam! Oct 14 12:02:12.281 INFO kablam! warning: constant item is never used: `NR33` Oct 14 12:02:12.281 INFO kablam! --> src/core/memory_map.rs:22:1 Oct 14 12:02:12.281 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 22 | pub const NR33: u16 = 0xFF1D; // Sound Mode 3 frequency low Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR34` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:23:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 23 | pub const NR34: u16 = 0xFF1E; // Sound Mode 3 frequency high Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR41` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:24:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 24 | pub const NR41: u16 = 0xFF20; // Sound Mode 4 sound length Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR42` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:25:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 25 | pub const NR42: u16 = 0xFF21; // Sound Mode 4 envelope Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR43` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:26:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 26 | pub const NR43: u16 = 0xFF22; // Sound Mode 4 polynomial counter Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR44` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:27:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 27 | pub const NR44: u16 = 0xFF23; // Sound Mode 4 counter/consecutive Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR50` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:28:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 28 | pub const NR50: u16 = 0xFF24; // Channel Control/Volume Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR51` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:29:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 29 | pub const NR51: u16 = 0xFF25; // Sound output terminal Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: constant item is never used: `NR52` Oct 14 12:02:12.282 INFO kablam! --> src/core/memory_map.rs:30:1 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 30 | pub const NR52: u16 = 0xFF26; // Sound on/off Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.282 INFO kablam! warning: method is never used: `size` Oct 14 12:02:12.282 INFO kablam! --> src/core/rom.rs:46:2 Oct 14 12:02:12.282 INFO kablam! | Oct 14 12:02:12.282 INFO kablam! 46 | pub fn size(&self) -> usize { Oct 14 12:02:12.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.282 INFO kablam! Oct 14 12:02:12.283 INFO kablam! warning: enum is never used: `StatusInterrupt` Oct 14 12:02:12.283 INFO kablam! --> src/core/gpu.rs:33:1 Oct 14 12:02:12.283 INFO kablam! | Oct 14 12:02:12.283 INFO kablam! 33 | enum StatusInterrupt { Oct 14 12:02:12.283 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.283 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: method is never used: `set_stat` Oct 14 12:02:12.291 INFO kablam! --> src/core/gpu.rs:550:2 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 550 | fn set_stat(&mut self, mode: StatusInterrupt) { Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: method is never used: `size` Oct 14 12:02:12.291 INFO kablam! --> src/core/wram.rs:15:2 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: method is never used: `size` Oct 14 12:02:12.291 INFO kablam! --> src/core/hram.rs:15:2 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: field is never used: `rom_bank` Oct 14 12:02:12.291 INFO kablam! --> src/core/mbc/mbc2.rs:4:2 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 4 | rom_bank: u8 Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: field is never used: `rtc_register` Oct 14 12:02:12.291 INFO kablam! --> src/core/mbc/mbc3.rs:9:5 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 9 | rtc_register: u8, Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: field is never used: `select_ram_bank` Oct 14 12:02:12.291 INFO kablam! --> src/core/mbc/mbc3.rs:11:5 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 11 | select_ram_bank: bool, Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:12.291 INFO kablam! --> src/core/helper.rs:18:2 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 18 | file.write_all(bytes); Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 14 12:02:12.291 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:12.291 INFO kablam! --> src/core/helper.rs:28:13 Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! 28 | f.read_to_end(&mut temp_vec); Oct 14 12:02:12.291 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.291 INFO kablam! | Oct 14 12:02:12.291 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:12.291 INFO kablam! Oct 14 12:02:12.291 INFO kablam! warning: structure field `IE` should have a snake case name such as `ie` Oct 14 12:02:12.291 INFO kablam! --> src/core/interrupt.rs:26:2 Oct 14 12:02:12.292 INFO kablam! | Oct 14 12:02:12.292 INFO kablam! 26 | pub IE: MemoryRegister, // used to control intterupts Oct 14 12:02:12.292 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.292 INFO kablam! | Oct 14 12:02:12.292 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 12:02:12.292 INFO kablam! Oct 14 12:02:12.292 INFO kablam! warning: structure field `IF` should have a snake case name such as `if` Oct 14 12:02:12.292 INFO kablam! --> src/core/interrupt.rs:27:2 Oct 14 12:02:12.292 INFO kablam! | Oct 14 12:02:12.292 INFO kablam! 27 | pub IF: MemoryRegister, // indicates which type of interrupt is set Oct 14 12:02:12.292 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.292 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `Vram` should have a snake case name such as `vram` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:84:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.299 INFO kablam! 84 | Vram: Vec, Oct 14 12:02:12.299 INFO kablam! | ^^^^^^^^^^^^^ Oct 14 12:02:12.299 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `Oam` should have a snake case name such as `oam` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:85:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.299 INFO kablam! 85 | Oam: Vec, Oct 14 12:02:12.299 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:12.299 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `LCDC` should have a snake case name such as `lcdc` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:93:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.299 INFO kablam! 93 | pub LCDC: MemoryRegister, Oct 14 12:02:12.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.299 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `STAT` should have a snake case name such as `stat` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:94:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.299 INFO kablam! 94 | pub STAT: MemoryRegister, Oct 14 12:02:12.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.299 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `LYC` should have a snake case name such as `lyc` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:95:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.299 INFO kablam! 95 | pub LYC: MemoryRegister, Oct 14 12:02:12.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.299 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `LY` should have a snake case name such as `ly` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:96:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.299 INFO kablam! 96 | pub LY: MemoryRegister, Oct 14 12:02:12.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.299 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `BGP` should have a snake case name such as `bgp` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:97:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.299 INFO kablam! 97 | pub BGP: MemoryRegister, Oct 14 12:02:12.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.299 INFO kablam! Oct 14 12:02:12.299 INFO kablam! warning: structure field `OBP0` should have a snake case name such as `obp0` Oct 14 12:02:12.299 INFO kablam! --> src/core/gpu.rs:98:2 Oct 14 12:02:12.299 INFO kablam! | Oct 14 12:02:12.300 INFO kablam! 98 | pub OBP0: MemoryRegister, Oct 14 12:02:12.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.300 INFO kablam! Oct 14 12:02:12.300 INFO kablam! warning: structure field `OBP1` should have a snake case name such as `obp1` Oct 14 12:02:12.300 INFO kablam! --> src/core/gpu.rs:99:2 Oct 14 12:02:12.300 INFO kablam! | Oct 14 12:02:12.300 INFO kablam! 99 | pub OBP1: MemoryRegister, Oct 14 12:02:12.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.300 INFO kablam! Oct 14 12:02:12.300 INFO kablam! warning: structure field `SCY` should have a snake case name such as `scy` Oct 14 12:02:12.300 INFO kablam! --> src/core/gpu.rs:100:2 Oct 14 12:02:12.300 INFO kablam! | Oct 14 12:02:12.300 INFO kablam! 100 | pub SCY: MemoryRegister, Oct 14 12:02:12.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.300 INFO kablam! Oct 14 12:02:12.300 INFO kablam! warning: structure field `SCX` should have a snake case name such as `scx` Oct 14 12:02:12.300 INFO kablam! --> src/core/gpu.rs:101:2 Oct 14 12:02:12.300 INFO kablam! | Oct 14 12:02:12.300 INFO kablam! 101 | pub SCX: MemoryRegister, Oct 14 12:02:12.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.300 INFO kablam! Oct 14 12:02:12.300 INFO kablam! warning: structure field `WY` should have a snake case name such as `wy` Oct 14 12:02:12.300 INFO kablam! --> src/core/gpu.rs:102:2 Oct 14 12:02:12.300 INFO kablam! | Oct 14 12:02:12.300 INFO kablam! 102 | pub WY: MemoryRegister, Oct 14 12:02:12.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.300 INFO kablam! Oct 14 12:02:12.300 INFO kablam! warning: structure field `WX` should have a snake case name such as `wx` Oct 14 12:02:12.300 INFO kablam! --> src/core/gpu.rs:103:2 Oct 14 12:02:12.300 INFO kablam! | Oct 14 12:02:12.300 INFO kablam! 103 | pub WX: MemoryRegister, Oct 14 12:02:12.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.300 INFO kablam! Oct 14 12:02:12.307 INFO kablam! warning: structure field `DIV` should have a snake case name such as `div` Oct 14 12:02:12.307 INFO kablam! --> src/core/timer.rs:16:5 Oct 14 12:02:12.307 INFO kablam! | Oct 14 12:02:12.307 INFO kablam! 16 | DIV: MemoryRegister, Oct 14 12:02:12.307 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.307 INFO kablam! Oct 14 12:02:12.307 INFO kablam! warning: structure field `TIMA` should have a snake case name such as `tima` Oct 14 12:02:12.307 INFO kablam! --> src/core/timer.rs:17:5 Oct 14 12:02:12.307 INFO kablam! | Oct 14 12:02:12.307 INFO kablam! 17 | TIMA: MemoryRegister, Oct 14 12:02:12.307 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.307 INFO kablam! Oct 14 12:02:12.307 INFO kablam! warning: structure field `TMA` should have a snake case name such as `tma` Oct 14 12:02:12.307 INFO kablam! --> src/core/timer.rs:18:5 Oct 14 12:02:12.307 INFO kablam! | Oct 14 12:02:12.307 INFO kablam! 18 | TMA: MemoryRegister, Oct 14 12:02:12.307 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.307 INFO kablam! Oct 14 12:02:12.307 INFO kablam! warning: structure field `TAC` should have a snake case name such as `tac` Oct 14 12:02:12.307 INFO kablam! --> src/core/timer.rs:19:5 Oct 14 12:02:12.307 INFO kablam! | Oct 14 12:02:12.307 INFO kablam! 19 | TAC: MemoryRegister, Oct 14 12:02:12.307 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:12.307 INFO kablam! Oct 14 12:02:13.892 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 13.78s Oct 14 12:02:13.897 INFO kablam! su: No module specific data is present Oct 14 12:02:15.312 INFO running `"docker" "rm" "-f" "4625b6fa6f16cb829279266690b9e2bf726e3d65fa95fe71d3eeb5506007ed60"` Oct 14 12:02:15.627 INFO blam! 4625b6fa6f16cb829279266690b9e2bf726e3d65fa95fe71d3eeb5506007ed60 Oct 14 12:02:15.631 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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.257 INFO blam! c7085f571d905ced793515b8994fe34a603c05d2988f6f4707506a18dc2c20af Oct 14 12:02:16.267 INFO running `"docker" "start" "-a" "c7085f571d905ced793515b8994fe34a603c05d2988f6f4707506a18dc2c20af"` Oct 14 12:02:18.026 INFO kablam! usermod: no changes Oct 14 12:02:18.099 INFO kablam! Compiling gameboy-crust v0.1.0 (/source) Oct 14 12:02:18.451 INFO kablam! warning: unused import: `std::io::*` Oct 14 12:02:18.451 INFO kablam! --> src/core/helper.rs:3:5 Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! 3 | use std::io::*; Oct 14 12:02:18.451 INFO kablam! | ^^^^^^^^^^ Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:02:18.451 INFO kablam! Oct 14 12:02:18.451 INFO kablam! warning: unused macro definition Oct 14 12:02:18.451 INFO kablam! --> src/core/helper.rs:100:1 Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! 100 | / macro_rules! hex { Oct 14 12:02:18.451 INFO kablam! 101 | | ($val:expr) => {{ Oct 14 12:02:18.451 INFO kablam! 102 | | println!("${:02X}", $val); Oct 14 12:02:18.451 INFO kablam! 103 | | }} Oct 14 12:02:18.451 INFO kablam! 104 | | } Oct 14 12:02:18.451 INFO kablam! | |_^ Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:02:18.451 INFO kablam! Oct 14 12:02:18.451 INFO kablam! warning: unused import: `core::helper::*` Oct 14 12:02:18.451 INFO kablam! --> src/core/register.rs:2:5 Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! 2 | use core::helper::*; Oct 14 12:02:18.451 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:18.451 INFO kablam! Oct 14 12:02:18.451 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.451 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.451 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! ::: src/core/register.rs:63:18 Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! 63 | self.a = high!(value); Oct 14 12:02:18.451 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.451 INFO kablam! | Oct 14 12:02:18.451 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 12:02:18.451 INFO kablam! Oct 14 12:02:18.451 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.451 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.452 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! ::: src/core/register.rs:64:18 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 64 | self.f = low!(value); Oct 14 12:02:18.452 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.452 INFO kablam! Oct 14 12:02:18.452 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.452 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.452 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! ::: src/core/register.rs:68:18 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 68 | self.b = high!(value); Oct 14 12:02:18.452 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.452 INFO kablam! Oct 14 12:02:18.452 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.452 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.452 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! ::: src/core/register.rs:69:18 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 69 | self.c = low!(value); Oct 14 12:02:18.452 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.452 INFO kablam! Oct 14 12:02:18.452 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.452 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.452 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! ::: src/core/register.rs:73:18 Oct 14 12:02:18.452 INFO kablam! | Oct 14 12:02:18.452 INFO kablam! 73 | self.d = high!(value); Oct 14 12:02:18.467 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.467 INFO kablam! Oct 14 12:02:18.467 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.467 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! ::: src/core/register.rs:74:18 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 74 | self.e = low!(value); Oct 14 12:02:18.467 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.467 INFO kablam! Oct 14 12:02:18.467 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.467 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! ::: src/core/register.rs:78:18 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 78 | self.h = high!(value); Oct 14 12:02:18.467 INFO kablam! | ------------ in this macro invocation Oct 14 12:02:18.467 INFO kablam! Oct 14 12:02:18.467 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.467 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! ::: src/core/register.rs:79:18 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 79 | self.l = low!(value); Oct 14 12:02:18.467 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.467 INFO kablam! Oct 14 12:02:18.467 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.467 INFO kablam! --> src/core/register.rs:127:10 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 127 | match (self.f & Flag::Zero as u8) Oct 14 12:02:18.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.467 INFO kablam! Oct 14 12:02:18.467 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.467 INFO kablam! --> src/core/register.rs:132:10 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 132 | match (self.f & Flag::Sub as u8) Oct 14 12:02:18.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.467 INFO kablam! Oct 14 12:02:18.467 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.467 INFO kablam! --> src/core/register.rs:137:10 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 137 | match (self.f & Flag::HalfCarry as u8) Oct 14 12:02:18.467 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.467 INFO kablam! Oct 14 12:02:18.467 INFO kablam! warning: unnecessary parentheses around `match` head expression Oct 14 12:02:18.467 INFO kablam! --> src/core/register.rs:142:10 Oct 14 12:02:18.467 INFO kablam! | Oct 14 12:02:18.467 INFO kablam! 142 | match (self.f & Flag::Carry as u8) Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unused import: `core::disassembler::*` Oct 14 12:02:18.468 INFO kablam! --> src/core/cpu.rs:4:5 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 4 | use core::disassembler::*; Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! ::: src/core/cpu.rs:223:34 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 223 | memory.write(nn, low!(self.regs.sp)); Oct 14 12:02:18.468 INFO kablam! | ------------------ in this macro invocation Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! ::: src/core/cpu.rs:224:38 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 224 | memory.write(nn + 1, high!(self.regs.sp)); Oct 14 12:02:18.468 INFO kablam! | ------------------- in this macro invocation Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/helper.rs:88:3 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 88 | (($word >> 8) as u8) Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! ::: src/core/cpu.rs:745:36 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 745 | memory.write(self.regs.sp, high!(data)); Oct 14 12:02:18.468 INFO kablam! | ----------- in this macro invocation Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/helper.rs:95:3 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 95 | (($word & 0xFF) as u8) Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! ::: src/core/cpu.rs:747:36 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 747 | memory.write(self.regs.sp, low!(data)); Oct 14 12:02:18.468 INFO kablam! | ---------- in this macro invocation Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/cpu.rs:770:34 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 770 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/cpu.rs:783:34 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 783 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/cpu.rs:792:34 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 792 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/cpu.rs:801:34 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 801 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/cpu.rs:810:34 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 810 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.468 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.468 INFO kablam! Oct 14 12:02:18.468 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.468 INFO kablam! --> src/core/cpu.rs:826:34 Oct 14 12:02:18.468 INFO kablam! | Oct 14 12:02:18.468 INFO kablam! 826 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.469 INFO kablam! --> src/core/cpu.rs:835:34 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 835 | self.regs.set_flag(Flag::Zero, (result == 0)); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.469 INFO kablam! --> src/core/cpu.rs:855:35 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 855 | self.regs.set_flag(Flag::Carry, (bit7 == 1)); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.469 INFO kablam! --> src/core/cpu.rs:858:34 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 858 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.469 INFO kablam! --> src/core/cpu.rs:870:35 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 870 | self.regs.set_flag(Flag::Carry, (bit1 == 1)); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around method argument Oct 14 12:02:18.469 INFO kablam! --> src/core/cpu.rs:873:34 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 873 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.469 INFO kablam! --> src/core/gpu.rs:337:13 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 337 | let row = (y / 8); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.469 INFO kablam! --> src/core/gpu.rs:342:17 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 342 | let column = (x / 8); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around assigned value Oct 14 12:02:18.469 INFO kablam! --> src/core/gpu.rs:404:18 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:18.469 INFO kablam! --> src/core/gpu.rs:473:9 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 473 | if (scanline_y.wrapping_sub(sprite_y) < 8) { // top half Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unused import: `interconnect::*` Oct 14 12:02:18.469 INFO kablam! --> src/core/dma.rs:2:5 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 2 | use interconnect::*; Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:18.469 INFO kablam! --> src/core/dma.rs:36:12 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 36 | if (self.cycles - adjusted_cycles < 0) { Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:18.469 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 12:02:18.469 INFO kablam! --> src/core/timer.rs:55:20 Oct 14 12:02:18.469 INFO kablam! | Oct 14 12:02:18.469 INFO kablam! 55 | if (timer_value == 255) { Oct 14 12:02:18.469 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 12:02:18.469 INFO kablam! Oct 14 12:02:19.020 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.020 INFO kablam! --> src/core/cpu.rs:430:4 Oct 14 12:02:19.020 INFO kablam! | Oct 14 12:02:19.020 INFO kablam! 430 | 0xC3 => { self.regs.pc = self.next_pointer(memory); 4 }, Oct 14 12:02:19.020 INFO kablam! | ^^^^ Oct 14 12:02:19.020 INFO kablam! | Oct 14 12:02:19.020 INFO kablam! = note: #[warn(unreachable_patterns)] on by default Oct 14 12:02:19.020 INFO kablam! Oct 14 12:02:19.049 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.049 INFO kablam! --> src/core/cpu.rs:1007:7 Oct 14 12:02:19.049 INFO kablam! | Oct 14 12:02:19.049 INFO kablam! 1007 | }, _ => unreachable!() Oct 14 12:02:19.049 INFO kablam! | ^ Oct 14 12:02:19.049 INFO kablam! Oct 14 12:02:19.049 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.050 INFO kablam! --> src/core/cpu.rs:1037:7 Oct 14 12:02:19.050 INFO kablam! | Oct 14 12:02:19.050 INFO kablam! 1037 | }, _ => unreachable!() Oct 14 12:02:19.050 INFO kablam! | ^ Oct 14 12:02:19.050 INFO kablam! Oct 14 12:02:19.050 INFO kablam! warning: unreachable pattern Oct 14 12:02:19.050 INFO kablam! --> src/core/cpu.rs:1060:7 Oct 14 12:02:19.050 INFO kablam! | Oct 14 12:02:19.050 INFO kablam! 1060 | }, _ => unreachable!() Oct 14 12:02:19.050 INFO kablam! | ^ Oct 14 12:02:19.050 INFO kablam! Oct 14 12:02:19.054 INFO kablam! warning: unused variable: `n2` Oct 14 12:02:19.054 INFO kablam! --> src/core/disassembler.rs:7:6 Oct 14 12:02:19.054 INFO kablam! | Oct 14 12:02:19.054 INFO kablam! 7 | let n2 = mem.read(reg.pc + 1); // opcode + 2 Oct 14 12:02:19.054 INFO kablam! | ^^ help: consider using `_n2` instead Oct 14 12:02:19.054 INFO kablam! | Oct 14 12:02:19.054 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 14 12:02:19.054 INFO kablam! Oct 14 12:02:19.054 INFO kablam! warning: unused variable: `n3` Oct 14 12:02:19.054 INFO kablam! --> src/core/disassembler.rs:8:6 Oct 14 12:02:19.054 INFO kablam! | Oct 14 12:02:19.054 INFO kablam! 8 | let n3 = mem.read(reg.pc + 2); // opcode + 3 Oct 14 12:02:19.054 INFO kablam! | ^^ help: consider using `_n3` instead Oct 14 12:02:19.054 INFO kablam! Oct 14 12:02:19.057 INFO kablam! warning: unused variable: `new_mode` Oct 14 12:02:19.058 INFO kablam! --> src/core/gpu.rs:221:11 Oct 14 12:02:19.058 INFO kablam! | Oct 14 12:02:19.058 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:19.058 INFO kablam! | ^^^^^^^^ help: consider using `_new_mode` instead Oct 14 12:02:19.058 INFO kablam! Oct 14 12:02:19.058 INFO kablam! warning: variable `debug_color` is assigned to, but never used Oct 14 12:02:19.058 INFO kablam! --> src/core/gpu.rs:402:11 Oct 14 12:02:19.058 INFO kablam! | Oct 14 12:02:19.058 INFO kablam! 402 | let mut debug_color: u32 = (debug_line_color as u32) << 16; Oct 14 12:02:19.058 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:19.058 INFO kablam! | Oct 14 12:02:19.058 INFO kablam! = note: consider using `_debug_color` instead Oct 14 12:02:19.058 INFO kablam! Oct 14 12:02:19.058 INFO kablam! warning: value assigned to `debug_color` is never read Oct 14 12:02:19.058 INFO kablam! --> src/core/gpu.rs:404:3 Oct 14 12:02:19.058 INFO kablam! | Oct 14 12:02:19.058 INFO kablam! 404 | debug_color |= (debug_line_color as u32); Oct 14 12:02:19.059 INFO kablam! | ^^^^^^^^^^^ Oct 14 12:02:19.059 INFO kablam! | Oct 14 12:02:19.059 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 12:02:19.059 INFO kablam! Oct 14 12:02:19.059 INFO kablam! warning: unused variable: `display_x` Oct 14 12:02:19.059 INFO kablam! --> src/core/gpu.rs:407:8 Oct 14 12:02:19.059 INFO kablam! | Oct 14 12:02:19.059 INFO kablam! 407 | let display_x = (i as u8).wrapping_add(window_x); Oct 14 12:02:19.059 INFO kablam! | ^^^^^^^^^ help: consider using `_display_x` instead Oct 14 12:02:19.059 INFO kablam! Oct 14 12:02:19.060 INFO kablam! warning: unused variable: `stat` Oct 14 12:02:19.060 INFO kablam! --> src/core/gpu.rs:589:7 Oct 14 12:02:19.060 INFO kablam! | Oct 14 12:02:19.061 INFO kablam! 589 | let stat = self.LCDC.get(); Oct 14 12:02:19.061 INFO kablam! | ^^^^ help: consider using `_stat` instead Oct 14 12:02:19.061 INFO kablam! Oct 14 12:02:19.062 INFO kablam! warning: unused variable: `address` Oct 14 12:02:19.062 INFO kablam! --> src/core/mbc/mbc0.rs:9:22 Oct 14 12:02:19.062 INFO kablam! | Oct 14 12:02:19.063 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:19.063 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:19.063 INFO kablam! Oct 14 12:02:19.063 INFO kablam! warning: unused variable: `data` Oct 14 12:02:19.064 INFO kablam! --> src/core/mbc/mbc0.rs:9:36 Oct 14 12:02:19.064 INFO kablam! | Oct 14 12:02:19.064 INFO kablam! 9 | fn write(&mut self, address: u16, data: u8) {} Oct 14 12:02:19.065 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:19.065 INFO kablam! Oct 14 12:02:19.065 INFO kablam! warning: unused variable: `name` Oct 14 12:02:19.065 INFO kablam! --> src/core/mbc/mbc0.rs:10:29 Oct 14 12:02:19.066 INFO kablam! | Oct 14 12:02:19.066 INFO kablam! 10 | fn set_title(&mut self, name: String) {} Oct 14 12:02:19.066 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:19.067 INFO kablam! Oct 14 12:02:19.067 INFO kablam! warning: unused variable: `address` Oct 14 12:02:19.067 INFO kablam! --> src/core/mbc/mbc2.rs:19:22 Oct 14 12:02:19.068 INFO kablam! | Oct 14 12:02:19.068 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:19.068 INFO kablam! | ^^^^^^^ help: consider using `_address` instead Oct 14 12:02:19.068 INFO kablam! Oct 14 12:02:19.069 INFO kablam! warning: unused variable: `data` Oct 14 12:02:19.069 INFO kablam! --> src/core/mbc/mbc2.rs:19:36 Oct 14 12:02:19.069 INFO kablam! | Oct 14 12:02:19.070 INFO kablam! 19 | fn write(&mut self, address: u16, data: u8) { Oct 14 12:02:19.070 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:19.070 INFO kablam! Oct 14 12:02:19.071 INFO kablam! warning: unused variable: `name` Oct 14 12:02:19.071 INFO kablam! --> src/core/mbc/mbc2.rs:22:29 Oct 14 12:02:19.071 INFO kablam! | Oct 14 12:02:19.072 INFO kablam! 22 | fn set_title(&mut self, name: String) { Oct 14 12:02:19.072 INFO kablam! | ^^^^ help: consider using `_name` instead Oct 14 12:02:19.072 INFO kablam! Oct 14 12:02:19.073 INFO kablam! warning: unused variable: `data` Oct 14 12:02:19.073 INFO kablam! --> src/core/timer.rs:101:33 Oct 14 12:02:19.073 INFO kablam! | Oct 14 12:02:19.074 INFO kablam! 101 | pub fn write_div(&mut self, data: u8) { Oct 14 12:02:19.074 INFO kablam! | ^^^^ help: consider using `_data` instead Oct 14 12:02:19.074 INFO kablam! Oct 14 12:02:19.202 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.202 INFO kablam! --> src/core/gpu.rs:221:7 Oct 14 12:02:19.202 INFO kablam! | Oct 14 12:02:19.203 INFO kablam! 221 | let mut new_mode: StatusMode; Oct 14 12:02:19.203 INFO kablam! | ----^^^^^^^^ Oct 14 12:02:19.203 INFO kablam! | | Oct 14 12:02:19.203 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.203 INFO kablam! | Oct 14 12:02:19.203 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 12:02:19.203 INFO kablam! Oct 14 12:02:19.214 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.214 INFO kablam! --> src/core/gpu.rs:454:7 Oct 14 12:02:19.214 INFO kablam! | Oct 14 12:02:19.214 INFO kablam! 454 | let mut iter = self.sprite_table.clone().into_iter().filter(|sprite| { Oct 14 12:02:19.214 INFO kablam! | ----^^^^ Oct 14 12:02:19.214 INFO kablam! | | Oct 14 12:02:19.214 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.214 INFO kablam! Oct 14 12:02:19.229 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.229 INFO kablam! --> src/core/joypad.rs:57:13 Oct 14 12:02:19.229 INFO kablam! | Oct 14 12:02:19.229 INFO kablam! 57 | let mut result = self.register.get() & 0x30; Oct 14 12:02:19.229 INFO kablam! | ----^^^^^^ Oct 14 12:02:19.229 INFO kablam! | | Oct 14 12:02:19.229 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.229 INFO kablam! Oct 14 12:02:19.237 INFO kablam! warning: variable does not need to be mutable Oct 14 12:02:19.237 INFO kablam! --> src/emu/emulator.rs:36:7 Oct 14 12:02:19.237 INFO kablam! | Oct 14 12:02:19.237 INFO kablam! 36 | let mut multiplier = 100; Oct 14 12:02:19.237 INFO kablam! | ----^^^^^^^^^^ Oct 14 12:02:19.237 INFO kablam! | | Oct 14 12:02:19.237 INFO kablam! | help: remove this `mut` Oct 14 12:02:19.237 INFO kablam! Oct 14 12:02:19.243 INFO kablam! warning: method is never used: `sub` Oct 14 12:02:19.243 INFO kablam! --> src/core/helper.rs:73:2 Oct 14 12:02:19.244 INFO kablam! | Oct 14 12:02:19.244 INFO kablam! 73 | pub fn sub(&mut self, data: u8) { Oct 14 12:02:19.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.244 INFO kablam! | Oct 14 12:02:19.244 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 12:02:19.244 INFO kablam! Oct 14 12:02:19.244 INFO kablam! warning: variant is never constructed: `Serial` Oct 14 12:02:19.244 INFO kablam! --> src/core/interrupt.rs:8:2 Oct 14 12:02:19.244 INFO kablam! | Oct 14 12:02:19.244 INFO kablam! 8 | Serial = 0b00001000, Oct 14 12:02:19.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.244 INFO kablam! Oct 14 12:02:19.245 INFO kablam! warning: field is never used: `counter` Oct 14 12:02:19.245 INFO kablam! --> src/core/interrupt.rs:23:2 Oct 14 12:02:19.245 INFO kablam! | Oct 14 12:02:19.245 INFO kablam! 23 | counter: u32, // counts the number of opcodes since interrupt status changed Oct 14 12:02:19.245 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:19.245 INFO kablam! Oct 14 12:02:19.246 INFO kablam! warning: method is never used: `read` Oct 14 12:02:19.246 INFO kablam! --> src/core/interrupt.rs:48:2 Oct 14 12:02:19.246 INFO kablam! | Oct 14 12:02:19.246 INFO kablam! 48 | pub fn read(&mut self, address: u16) -> u8 { Oct 14 12:02:19.246 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.246 INFO kablam! Oct 14 12:02:19.246 INFO kablam! warning: function is never used: `disassemble` Oct 14 12:02:19.246 INFO kablam! --> src/core/disassembler.rs:4:1 Oct 14 12:02:19.246 INFO kablam! | Oct 14 12:02:19.246 INFO kablam! 4 | pub fn disassemble(reg: &Registers, mem: &Interconnect, opcode: u8) -> String { Oct 14 12:02:19.246 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.246 INFO kablam! Oct 14 12:02:19.246 INFO kablam! warning: constant item is never used: `SB` Oct 14 12:02:19.246 INFO kablam! --> src/core/memory_map.rs:3:1 Oct 14 12:02:19.246 INFO kablam! | Oct 14 12:02:19.246 INFO kablam! 3 | pub const SB: u16 = 0xFF01; // Serial transfer data Oct 14 12:02:19.246 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.246 INFO kablam! Oct 14 12:02:19.246 INFO kablam! warning: constant item is never used: `SC` Oct 14 12:02:19.246 INFO kablam! --> src/core/memory_map.rs:4:1 Oct 14 12:02:19.246 INFO kablam! | Oct 14 12:02:19.247 INFO kablam! 4 | pub const SC: u16 = 0xFF02; // SIO Control Oct 14 12:02:19.247 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.247 INFO kablam! Oct 14 12:02:19.247 INFO kablam! warning: constant item is never used: `NR10` Oct 14 12:02:19.247 INFO kablam! --> src/core/memory_map.rs:10:1 Oct 14 12:02:19.247 INFO kablam! | Oct 14 12:02:19.247 INFO kablam! 10 | pub const NR10: u16 = 0xFF10; // Sound Mode 1 sweep Oct 14 12:02:19.247 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.247 INFO kablam! Oct 14 12:02:19.247 INFO kablam! warning: constant item is never used: `NR11` Oct 14 12:02:19.247 INFO kablam! --> src/core/memory_map.rs:11:1 Oct 14 12:02:19.247 INFO kablam! | Oct 14 12:02:19.247 INFO kablam! 11 | pub const NR11: u16 = 0xFF11; // Sound Mode 1 wave pattern Oct 14 12:02:19.247 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.247 INFO kablam! Oct 14 12:02:19.247 INFO kablam! warning: constant item is never used: `NR12` Oct 14 12:02:19.247 INFO kablam! --> src/core/memory_map.rs:12:1 Oct 14 12:02:19.247 INFO kablam! | Oct 14 12:02:19.247 INFO kablam! 12 | pub const NR12: u16 = 0xFF12; // Sound Mode 1 envelope Oct 14 12:02:19.247 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.247 INFO kablam! Oct 14 12:02:19.247 INFO kablam! warning: constant item is never used: `NR13` Oct 14 12:02:19.247 INFO kablam! --> src/core/memory_map.rs:13:1 Oct 14 12:02:19.247 INFO kablam! | Oct 14 12:02:19.247 INFO kablam! 13 | pub const NR13: u16 = 0xFF13; // Sound Mode 1 frequency low Oct 14 12:02:19.247 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.247 INFO kablam! Oct 14 12:02:19.247 INFO kablam! warning: constant item is never used: `NR14` Oct 14 12:02:19.247 INFO kablam! --> src/core/memory_map.rs:14:1 Oct 14 12:02:19.248 INFO kablam! | Oct 14 12:02:19.248 INFO kablam! 14 | pub const NR14: u16 = 0xFF14; // Sound Mode 1 frequency high Oct 14 12:02:19.248 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.248 INFO kablam! Oct 14 12:02:19.248 INFO kablam! warning: constant item is never used: `NR21` Oct 14 12:02:19.248 INFO kablam! --> src/core/memory_map.rs:15:1 Oct 14 12:02:19.248 INFO kablam! | Oct 14 12:02:19.248 INFO kablam! 15 | pub const NR21: u16 = 0xFF16; // Sound Mode 2 wave pattern Oct 14 12:02:19.248 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.248 INFO kablam! Oct 14 12:02:19.248 INFO kablam! warning: constant item is never used: `NR22` Oct 14 12:02:19.248 INFO kablam! --> src/core/memory_map.rs:16:1 Oct 14 12:02:19.248 INFO kablam! | Oct 14 12:02:19.248 INFO kablam! 16 | pub const NR22: u16 = 0xFF17; // Sound Mode 2 envelope Oct 14 12:02:19.248 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.248 INFO kablam! Oct 14 12:02:19.248 INFO kablam! warning: constant item is never used: `NR23` Oct 14 12:02:19.248 INFO kablam! --> src/core/memory_map.rs:17:1 Oct 14 12:02:19.248 INFO kablam! | Oct 14 12:02:19.248 INFO kablam! 17 | pub const NR23: u16 = 0xFF18; // Sound Mode 2 frequency low Oct 14 12:02:19.248 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.248 INFO kablam! Oct 14 12:02:19.248 INFO kablam! warning: constant item is never used: `NR24` Oct 14 12:02:19.248 INFO kablam! --> src/core/memory_map.rs:18:1 Oct 14 12:02:19.248 INFO kablam! | Oct 14 12:02:19.248 INFO kablam! 18 | pub const NR24: u16 = 0xFF19; // Sound Mode 2 frequency high Oct 14 12:02:19.248 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.248 INFO kablam! Oct 14 12:02:19.248 INFO kablam! warning: constant item is never used: `NR30` Oct 14 12:02:19.248 INFO kablam! --> src/core/memory_map.rs:19:1 Oct 14 12:02:19.248 INFO kablam! | Oct 14 12:02:19.248 INFO kablam! 19 | pub const NR30: u16 = 0xFF1A; // Sound Mode 3 sound on/off Oct 14 12:02:19.248 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.248 INFO kablam! Oct 14 12:02:19.249 INFO kablam! warning: constant item is never used: `NR31` Oct 14 12:02:19.249 INFO kablam! --> src/core/memory_map.rs:20:1 Oct 14 12:02:19.249 INFO kablam! | Oct 14 12:02:19.249 INFO kablam! 20 | pub const NR31: u16 = 0xFF1B; // Sound Mode 3 sound length Oct 14 12:02:19.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.249 INFO kablam! Oct 14 12:02:19.249 INFO kablam! warning: constant item is never used: `NR32` Oct 14 12:02:19.249 INFO kablam! --> src/core/memory_map.rs:21:1 Oct 14 12:02:19.249 INFO kablam! | Oct 14 12:02:19.249 INFO kablam! 21 | pub const NR32: u16 = 0xFF1C; // Sound Mode 3 output level Oct 14 12:02:19.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.249 INFO kablam! Oct 14 12:02:19.249 INFO kablam! warning: constant item is never used: `NR33` Oct 14 12:02:19.249 INFO kablam! --> src/core/memory_map.rs:22:1 Oct 14 12:02:19.249 INFO kablam! | Oct 14 12:02:19.249 INFO kablam! 22 | pub const NR33: u16 = 0xFF1D; // Sound Mode 3 frequency low Oct 14 12:02:19.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.249 INFO kablam! Oct 14 12:02:19.249 INFO kablam! warning: constant item is never used: `NR34` Oct 14 12:02:19.249 INFO kablam! --> src/core/memory_map.rs:23:1 Oct 14 12:02:19.249 INFO kablam! | Oct 14 12:02:19.249 INFO kablam! 23 | pub const NR34: u16 = 0xFF1E; // Sound Mode 3 frequency high Oct 14 12:02:19.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.249 INFO kablam! Oct 14 12:02:19.249 INFO kablam! warning: constant item is never used: `NR41` Oct 14 12:02:19.249 INFO kablam! --> src/core/memory_map.rs:24:1 Oct 14 12:02:19.249 INFO kablam! | Oct 14 12:02:19.250 INFO kablam! 24 | pub const NR41: u16 = 0xFF20; // Sound Mode 4 sound length Oct 14 12:02:19.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.250 INFO kablam! Oct 14 12:02:19.250 INFO kablam! warning: constant item is never used: `NR42` Oct 14 12:02:19.250 INFO kablam! --> src/core/memory_map.rs:25:1 Oct 14 12:02:19.250 INFO kablam! | Oct 14 12:02:19.250 INFO kablam! 25 | pub const NR42: u16 = 0xFF21; // Sound Mode 4 envelope Oct 14 12:02:19.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.250 INFO kablam! Oct 14 12:02:19.250 INFO kablam! warning: constant item is never used: `NR43` Oct 14 12:02:19.250 INFO kablam! --> src/core/memory_map.rs:26:1 Oct 14 12:02:19.250 INFO kablam! | Oct 14 12:02:19.250 INFO kablam! 26 | pub const NR43: u16 = 0xFF22; // Sound Mode 4 polynomial counter Oct 14 12:02:19.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.250 INFO kablam! Oct 14 12:02:19.250 INFO kablam! warning: constant item is never used: `NR44` Oct 14 12:02:19.250 INFO kablam! --> src/core/memory_map.rs:27:1 Oct 14 12:02:19.250 INFO kablam! | Oct 14 12:02:19.250 INFO kablam! 27 | pub const NR44: u16 = 0xFF23; // Sound Mode 4 counter/consecutive Oct 14 12:02:19.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.250 INFO kablam! Oct 14 12:02:19.250 INFO kablam! warning: constant item is never used: `NR50` Oct 14 12:02:19.250 INFO kablam! --> src/core/memory_map.rs:28:1 Oct 14 12:02:19.250 INFO kablam! | Oct 14 12:02:19.250 INFO kablam! 28 | pub const NR50: u16 = 0xFF24; // Channel Control/Volume Oct 14 12:02:19.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.250 INFO kablam! Oct 14 12:02:19.250 INFO kablam! warning: constant item is never used: `NR51` Oct 14 12:02:19.250 INFO kablam! --> src/core/memory_map.rs:29:1 Oct 14 12:02:19.250 INFO kablam! | Oct 14 12:02:19.250 INFO kablam! 29 | pub const NR51: u16 = 0xFF25; // Sound output terminal Oct 14 12:02:19.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.250 INFO kablam! Oct 14 12:02:19.250 INFO kablam! warning: constant item is never used: `NR52` Oct 14 12:02:19.251 INFO kablam! --> src/core/memory_map.rs:30:1 Oct 14 12:02:19.251 INFO kablam! | Oct 14 12:02:19.251 INFO kablam! 30 | pub const NR52: u16 = 0xFF26; // Sound on/off Oct 14 12:02:19.251 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.251 INFO kablam! Oct 14 12:02:19.251 INFO kablam! warning: method is never used: `size` Oct 14 12:02:19.251 INFO kablam! --> src/core/rom.rs:46:2 Oct 14 12:02:19.251 INFO kablam! | Oct 14 12:02:19.251 INFO kablam! 46 | pub fn size(&self) -> usize { Oct 14 12:02:19.251 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.251 INFO kablam! Oct 14 12:02:19.251 INFO kablam! warning: enum is never used: `StatusInterrupt` Oct 14 12:02:19.252 INFO kablam! --> src/core/gpu.rs:33:1 Oct 14 12:02:19.252 INFO kablam! | Oct 14 12:02:19.252 INFO kablam! 33 | enum StatusInterrupt { Oct 14 12:02:19.252 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.252 INFO kablam! Oct 14 12:02:19.253 INFO kablam! warning: method is never used: `set_stat` Oct 14 12:02:19.253 INFO kablam! --> src/core/gpu.rs:550:2 Oct 14 12:02:19.253 INFO kablam! | Oct 14 12:02:19.253 INFO kablam! 550 | fn set_stat(&mut self, mode: StatusInterrupt) { Oct 14 12:02:19.253 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.253 INFO kablam! Oct 14 12:02:19.254 INFO kablam! warning: method is never used: `size` Oct 14 12:02:19.254 INFO kablam! --> src/core/wram.rs:15:2 Oct 14 12:02:19.254 INFO kablam! | Oct 14 12:02:19.254 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:19.254 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.255 INFO kablam! Oct 14 12:02:19.255 INFO kablam! warning: method is never used: `size` Oct 14 12:02:19.255 INFO kablam! --> src/core/hram.rs:15:2 Oct 14 12:02:19.255 INFO kablam! | Oct 14 12:02:19.255 INFO kablam! 15 | pub fn size(&self) -> usize { Oct 14 12:02:19.255 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.256 INFO kablam! Oct 14 12:02:19.256 INFO kablam! warning: field is never used: `rom_bank` Oct 14 12:02:19.256 INFO kablam! --> src/core/mbc/mbc2.rs:4:2 Oct 14 12:02:19.256 INFO kablam! | Oct 14 12:02:19.256 INFO kablam! 4 | rom_bank: u8 Oct 14 12:02:19.257 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:19.257 INFO kablam! Oct 14 12:02:19.257 INFO kablam! warning: field is never used: `rtc_register` Oct 14 12:02:19.257 INFO kablam! --> src/core/mbc/mbc3.rs:9:5 Oct 14 12:02:19.257 INFO kablam! | Oct 14 12:02:19.258 INFO kablam! 9 | rtc_register: u8, Oct 14 12:02:19.258 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 14 12:02:19.258 INFO kablam! Oct 14 12:02:19.258 INFO kablam! warning: field is never used: `select_ram_bank` Oct 14 12:02:19.258 INFO kablam! --> src/core/mbc/mbc3.rs:11:5 Oct 14 12:02:19.259 INFO kablam! | Oct 14 12:02:19.259 INFO kablam! 11 | select_ram_bank: bool, Oct 14 12:02:19.259 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.259 INFO kablam! Oct 14 12:02:19.261 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:19.261 INFO kablam! --> src/core/helper.rs:18:2 Oct 14 12:02:19.261 INFO kablam! | Oct 14 12:02:19.261 INFO kablam! 18 | file.write_all(bytes); Oct 14 12:02:19.261 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.261 INFO kablam! | Oct 14 12:02:19.261 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 14 12:02:19.262 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:19.262 INFO kablam! Oct 14 12:02:19.262 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 12:02:19.262 INFO kablam! --> src/core/helper.rs:28:13 Oct 14 12:02:19.262 INFO kablam! | Oct 14 12:02:19.262 INFO kablam! 28 | f.read_to_end(&mut temp_vec); Oct 14 12:02:19.262 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.263 INFO kablam! | Oct 14 12:02:19.263 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 12:02:19.263 INFO kablam! Oct 14 12:02:19.264 INFO kablam! warning: structure field `IE` should have a snake case name such as `ie` Oct 14 12:02:19.264 INFO kablam! --> src/core/interrupt.rs:26:2 Oct 14 12:02:19.264 INFO kablam! | Oct 14 12:02:19.264 INFO kablam! 26 | pub IE: MemoryRegister, // used to control intterupts Oct 14 12:02:19.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.264 INFO kablam! | Oct 14 12:02:19.264 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 12:02:19.265 INFO kablam! Oct 14 12:02:19.265 INFO kablam! warning: structure field `IF` should have a snake case name such as `if` Oct 14 12:02:19.265 INFO kablam! --> src/core/interrupt.rs:27:2 Oct 14 12:02:19.265 INFO kablam! | Oct 14 12:02:19.265 INFO kablam! 27 | pub IF: MemoryRegister, // indicates which type of interrupt is set Oct 14 12:02:19.265 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.265 INFO kablam! Oct 14 12:02:19.276 INFO kablam! warning: structure field `Vram` should have a snake case name such as `vram` Oct 14 12:02:19.276 INFO kablam! --> src/core/gpu.rs:84:2 Oct 14 12:02:19.276 INFO kablam! | Oct 14 12:02:19.276 INFO kablam! 84 | Vram: Vec, Oct 14 12:02:19.276 INFO kablam! | ^^^^^^^^^^^^^ Oct 14 12:02:19.276 INFO kablam! Oct 14 12:02:19.277 INFO kablam! warning: structure field `Oam` should have a snake case name such as `oam` Oct 14 12:02:19.277 INFO kablam! --> src/core/gpu.rs:85:2 Oct 14 12:02:19.277 INFO kablam! | Oct 14 12:02:19.277 INFO kablam! 85 | Oam: Vec, Oct 14 12:02:19.277 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:02:19.277 INFO kablam! Oct 14 12:02:19.277 INFO kablam! warning: structure field `LCDC` should have a snake case name such as `lcdc` Oct 14 12:02:19.277 INFO kablam! --> src/core/gpu.rs:93:2 Oct 14 12:02:19.277 INFO kablam! | Oct 14 12:02:19.277 INFO kablam! 93 | pub LCDC: MemoryRegister, Oct 14 12:02:19.277 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.277 INFO kablam! Oct 14 12:02:19.278 INFO kablam! warning: structure field `STAT` should have a snake case name such as `stat` Oct 14 12:02:19.278 INFO kablam! --> src/core/gpu.rs:94:2 Oct 14 12:02:19.278 INFO kablam! | Oct 14 12:02:19.278 INFO kablam! 94 | pub STAT: MemoryRegister, Oct 14 12:02:19.278 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.278 INFO kablam! Oct 14 12:02:19.278 INFO kablam! warning: structure field `LYC` should have a snake case name such as `lyc` Oct 14 12:02:19.279 INFO kablam! --> src/core/gpu.rs:95:2 Oct 14 12:02:19.279 INFO kablam! | Oct 14 12:02:19.279 INFO kablam! 95 | pub LYC: MemoryRegister, Oct 14 12:02:19.279 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.280 INFO kablam! Oct 14 12:02:19.280 INFO kablam! warning: structure field `LY` should have a snake case name such as `ly` Oct 14 12:02:19.280 INFO kablam! --> src/core/gpu.rs:96:2 Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! 96 | pub LY: MemoryRegister, Oct 14 12:02:19.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.281 INFO kablam! Oct 14 12:02:19.281 INFO kablam! warning: structure field `BGP` should have a snake case name such as `bgp` Oct 14 12:02:19.281 INFO kablam! --> src/core/gpu.rs:97:2 Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! 97 | pub BGP: MemoryRegister, Oct 14 12:02:19.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.281 INFO kablam! Oct 14 12:02:19.281 INFO kablam! warning: structure field `OBP0` should have a snake case name such as `obp0` Oct 14 12:02:19.281 INFO kablam! --> src/core/gpu.rs:98:2 Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.281 INFO kablam! 98 | pub OBP0: MemoryRegister, Oct 14 12:02:19.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.281 INFO kablam! Oct 14 12:02:19.281 INFO kablam! warning: structure field `OBP1` should have a snake case name such as `obp1` Oct 14 12:02:19.281 INFO kablam! --> src/core/gpu.rs:99:2 Oct 14 12:02:19.281 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 99 | pub OBP1: MemoryRegister, Oct 14 12:02:19.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: structure field `SCY` should have a snake case name such as `scy` Oct 14 12:02:19.282 INFO kablam! --> src/core/gpu.rs:100:2 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 100 | pub SCY: MemoryRegister, Oct 14 12:02:19.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: structure field `SCX` should have a snake case name such as `scx` Oct 14 12:02:19.282 INFO kablam! --> src/core/gpu.rs:101:2 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 101 | pub SCX: MemoryRegister, Oct 14 12:02:19.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.282 INFO kablam! warning: structure field `WY` should have a snake case name such as `wy` Oct 14 12:02:19.282 INFO kablam! --> src/core/gpu.rs:102:2 Oct 14 12:02:19.282 INFO kablam! | Oct 14 12:02:19.282 INFO kablam! 102 | pub WY: MemoryRegister, Oct 14 12:02:19.282 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.282 INFO kablam! Oct 14 12:02:19.283 INFO kablam! warning: structure field `WX` should have a snake case name such as `wx` Oct 14 12:02:19.283 INFO kablam! --> src/core/gpu.rs:103:2 Oct 14 12:02:19.283 INFO kablam! | Oct 14 12:02:19.283 INFO kablam! 103 | pub WX: MemoryRegister, Oct 14 12:02:19.283 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.288 INFO kablam! Oct 14 12:02:19.288 INFO kablam! warning: structure field `DIV` should have a snake case name such as `div` Oct 14 12:02:19.288 INFO kablam! --> src/core/timer.rs:16:5 Oct 14 12:02:19.288 INFO kablam! | Oct 14 12:02:19.288 INFO kablam! 16 | DIV: MemoryRegister, Oct 14 12:02:19.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.288 INFO kablam! Oct 14 12:02:19.288 INFO kablam! warning: structure field `TIMA` should have a snake case name such as `tima` Oct 14 12:02:19.288 INFO kablam! --> src/core/timer.rs:17:5 Oct 14 12:02:19.288 INFO kablam! | Oct 14 12:02:19.288 INFO kablam! 17 | TIMA: MemoryRegister, Oct 14 12:02:19.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.288 INFO kablam! Oct 14 12:02:19.288 INFO kablam! warning: structure field `TMA` should have a snake case name such as `tma` Oct 14 12:02:19.288 INFO kablam! --> src/core/timer.rs:18:5 Oct 14 12:02:19.288 INFO kablam! | Oct 14 12:02:19.288 INFO kablam! 18 | TMA: MemoryRegister, Oct 14 12:02:19.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.288 INFO kablam! Oct 14 12:02:19.288 INFO kablam! warning: structure field `TAC` should have a snake case name such as `tac` Oct 14 12:02:19.288 INFO kablam! --> src/core/timer.rs:19:5 Oct 14 12:02:19.288 INFO kablam! | Oct 14 12:02:19.288 INFO kablam! 19 | TAC: MemoryRegister, Oct 14 12:02:19.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:02:19.288 INFO kablam! Oct 14 12:02:19.944 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.88s Oct 14 12:02:19.948 INFO kablam! su: No module specific data is present Oct 14 12:02:21.018 INFO running `"docker" "rm" "-f" "c7085f571d905ced793515b8994fe34a603c05d2988f6f4707506a18dc2c20af"` Oct 14 12:02:21.339 INFO blam! c7085f571d905ced793515b8994fe34a603c05d2988f6f4707506a18dc2c20af Oct 14 12:02:21.343 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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:21.759 INFO blam! 7d0a5aa9a779c9e26848ed4375a439703abdbf6b9f970129008efddb5c6d5113 Oct 14 12:02:21.761 INFO running `"docker" "start" "-a" "7d0a5aa9a779c9e26848ed4375a439703abdbf6b9f970129008efddb5c6d5113"` Oct 14 12:02:23.006 INFO kablam! usermod: no changes Oct 14 12:02:23.139 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.10s Oct 14 12:02:23.141 INFO kablam! Running /target/debug/deps/gameboy_crust-e5fa03a3e52a7777 Oct 14 12:02:23.143 INFO blam! Oct 14 12:02:23.143 INFO blam! running 0 tests Oct 14 12:02:23.143 INFO blam! Oct 14 12:02:23.143 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 14 12:02:23.143 INFO blam! Oct 14 12:02:23.149 INFO kablam! su: No module specific data is present Oct 14 12:02:23.817 INFO running `"docker" "rm" "-f" "7d0a5aa9a779c9e26848ed4375a439703abdbf6b9f970129008efddb5c6d5113"` Oct 14 12:02:24.087 INFO blam! 7d0a5aa9a779c9e26848ed4375a439703abdbf6b9f970129008efddb5c6d5113