[INFO] cloning repository https://github.com/epizzella/Rust-Boy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epizzella/Rust-Boy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepizzella%2FRust-Boy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepizzella%2FRust-Boy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0063e707a5b1b574999dc887f32b179e2c3e014e [INFO] checking epizzella/Rust-Boy against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepizzella%2FRust-Boy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/epizzella/Rust-Boy [INFO] finished tweaking git repo https://github.com/epizzella/Rust-Boy [INFO] tweaked toml for git repo https://github.com/epizzella/Rust-Boy written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/epizzella/Rust-Boy on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/epizzella/Rust-Boy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3a4501425d08fdf252571c816f61e28cb85c762e2ee6adaa6bf6284aa726157 [INFO] running `Command { std: "docker" "start" "-a" "c3a4501425d08fdf252571c816f61e28cb85c762e2ee6adaa6bf6284aa726157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3a4501425d08fdf252571c816f61e28cb85c762e2ee6adaa6bf6284aa726157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a4501425d08fdf252571c816f61e28cb85c762e2ee6adaa6bf6284aa726157", kill_on_drop: false }` [INFO] [stdout] c3a4501425d08fdf252571c816f61e28cb85c762e2ee6adaa6bf6284aa726157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ff31798410894b2ee8450407c9567b47712666028f23d21c820492fce0679b [INFO] running `Command { std: "docker" "start" "-a" "17ff31798410894b2ee8450407c9567b47712666028f23d21c820492fce0679b", kill_on_drop: false }` [INFO] [stderr] Checking gbc_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `windows` [INFO] [stdout] --> src/cpu.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | windows: &mut WindowsInterface, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_windows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:738:24 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn stop(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vram.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn read_vram_map(&self, mut address: usize) -> u8 { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vram.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn write_vram_map(&mut self, mut address: usize, data: u8) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `B`, `D`, `E`, `H`, and `L` are never constructed [INFO] [stdout] --> src/cpu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Reg8bit { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 39 | B = 0, [INFO] [stdout] | ^ [INFO] [stdout] 40 | C, [INFO] [stdout] 41 | D, [INFO] [stdout] | ^ [INFO] [stdout] 42 | E, [INFO] [stdout] | ^ [INFO] [stdout] 43 | H, [INFO] [stdout] | ^ [INFO] [stdout] 44 | L, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Reg8bit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_add_sub_flag` is never used [INFO] [stdout] --> src/cpu.rs:930:8 [INFO] [stdout] | [INFO] [stdout] 897 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 930 | fn set_add_sub_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_RAM_START` is never used [INFO] [stdout] --> src/cpu.rs:1084:7 [INFO] [stdout] | [INFO] [stdout] 1084 | const EXTERNAL_RAM_START: usize = 0xa000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_RAM_END` is never used [INFO] [stdout] --> src/cpu.rs:1085:7 [INFO] [stdout] | [INFO] [stdout] 1085 | const EXTERNAL_RAM_END: usize = 0xbfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_0_START` is never used [INFO] [stdout] --> src/cpu.rs:1086:7 [INFO] [stdout] | [INFO] [stdout] 1086 | const WRAM_BANK_0_START: usize = 0xc000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_0_END` is never used [INFO] [stdout] --> src/cpu.rs:1087:7 [INFO] [stdout] | [INFO] [stdout] 1087 | const WRAM_BANK_0_END: usize = 0xcfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_1_START` is never used [INFO] [stdout] --> src/cpu.rs:1088:7 [INFO] [stdout] | [INFO] [stdout] 1088 | const WRAM_BANK_1_START: usize = 0xd000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_1_END` is never used [INFO] [stdout] --> src/cpu.rs:1089:7 [INFO] [stdout] | [INFO] [stdout] 1089 | const WRAM_BANK_1_END: usize = 0xdfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ECHO_START` is never used [INFO] [stdout] --> src/cpu.rs:1090:7 [INFO] [stdout] | [INFO] [stdout] 1090 | const ECHO_START: usize = 0xe000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ECHO_END` is never used [INFO] [stdout] --> src/cpu.rs:1091:7 [INFO] [stdout] | [INFO] [stdout] 1091 | const ECHO_END: usize = 0xfdff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAM_START` is never used [INFO] [stdout] --> src/cpu.rs:1092:7 [INFO] [stdout] | [INFO] [stdout] 1092 | const OAM_START: usize = 0xfe00; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAM_END` is never used [INFO] [stdout] --> src/cpu.rs:1093:7 [INFO] [stdout] | [INFO] [stdout] 1093 | const OAM_END: usize = 0xfe9f; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_USABLE_START` is never used [INFO] [stdout] --> src/cpu.rs:1094:7 [INFO] [stdout] | [INFO] [stdout] 1094 | const NOT_USABLE_START: usize = 0xfea0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_USABLE_END` is never used [INFO] [stdout] --> src/cpu.rs:1095:7 [INFO] [stdout] | [INFO] [stdout] 1095 | const NOT_USABLE_END: usize = 0xfeff; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_START` is never used [INFO] [stdout] --> src/cpu.rs:1096:7 [INFO] [stdout] | [INFO] [stdout] 1096 | const IO_START: usize = 0xff00; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_END` is never used [INFO] [stdout] --> src/cpu.rs:1097:7 [INFO] [stdout] | [INFO] [stdout] 1097 | const IO_END: usize = 0xff7f; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `windows` [INFO] [stdout] --> src/cpu.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | windows: &mut WindowsInterface, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_windows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HRAM_START` is never used [INFO] [stdout] --> src/cpu.rs:1098:7 [INFO] [stdout] | [INFO] [stdout] 1098 | const HRAM_START: usize = 0xff80; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HRAM_END` is never used [INFO] [stdout] --> src/cpu.rs:1099:7 [INFO] [stdout] | [INFO] [stdout] 1099 | const HRAM_END: usize = 0xfffe; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode_name` is never read [INFO] [stdout] --> src/instructions.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Opcode { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | opcode_byte: u8, //hex representatoin of the opcode [INFO] [stdout] 10 | pub opcode_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_CRTL_REG` is never used [INFO] [stdout] --> src/ppu.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LCD_CRTL_REG: usize = 0xff40; //LCD Control Register [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dot_counter`, `current_row`, `current_col`, `screen_buffer_a`, and `screen_buffer_b` are never read [INFO] [stdout] --> src/ppu.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Lcd { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | dot_counter: u32, //Keeps track of the number of dot clock cyles. Max 70244 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | current_row: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | current_col: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | screen_buffer_a: [u8; SCREEN_RESOLUTION], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | screen_buffer_b: [u8; SCREEN_RESOLUTION], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_lcd` is never used [INFO] [stdout] --> src/ppu.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Lcd { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_lcd(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP_1_END` is never used [INFO] [stdout] --> src/vram.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const TILE_MAP_1_END: usize = 0x9BFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP_2_START` is never used [INFO] [stdout] --> src/vram.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const TILE_MAP_2_START: usize = 0x9C00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cache_tile_line` is never used [INFO] [stdout] --> src/vram.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Vram { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn cache_tile_line(&self, block_index: usize, title_index: usize, line_index: usize) -> TilePixelLine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TilePixelLine` is never constructed [INFO] [stdout] --> src/vram.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct TilePixelLine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vram.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl TilePixelLine { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 148 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buff` is never read [INFO] [stdout] --> src/Windows_Interface/windows_interface.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WindowsInterface { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | buff: BufWriter, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_log_file` is never used [INFO] [stdout] --> src/Windows_Interface/windows_interface.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl WindowsInterface { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn print_log_file(&mut self, cpu: &Cpu) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:738:24 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn stop(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vram.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn read_vram_map(&self, mut address: usize) -> u8 { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vram.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn write_vram_map(&mut self, mut address: usize, data: u8) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `B`, `D`, `E`, `H`, and `L` are never constructed [INFO] [stdout] --> src/cpu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Reg8bit { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 39 | B = 0, [INFO] [stdout] | ^ [INFO] [stdout] 40 | C, [INFO] [stdout] 41 | D, [INFO] [stdout] | ^ [INFO] [stdout] 42 | E, [INFO] [stdout] | ^ [INFO] [stdout] 43 | H, [INFO] [stdout] | ^ [INFO] [stdout] 44 | L, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Reg8bit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_add_sub_flag` is never used [INFO] [stdout] --> src/cpu.rs:930:8 [INFO] [stdout] | [INFO] [stdout] 897 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 930 | fn set_add_sub_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_RAM_START` is never used [INFO] [stdout] --> src/cpu.rs:1084:7 [INFO] [stdout] | [INFO] [stdout] 1084 | const EXTERNAL_RAM_START: usize = 0xa000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_RAM_END` is never used [INFO] [stdout] --> src/cpu.rs:1085:7 [INFO] [stdout] | [INFO] [stdout] 1085 | const EXTERNAL_RAM_END: usize = 0xbfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_0_START` is never used [INFO] [stdout] --> src/cpu.rs:1086:7 [INFO] [stdout] | [INFO] [stdout] 1086 | const WRAM_BANK_0_START: usize = 0xc000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_0_END` is never used [INFO] [stdout] --> src/cpu.rs:1087:7 [INFO] [stdout] | [INFO] [stdout] 1087 | const WRAM_BANK_0_END: usize = 0xcfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_1_START` is never used [INFO] [stdout] --> src/cpu.rs:1088:7 [INFO] [stdout] | [INFO] [stdout] 1088 | const WRAM_BANK_1_START: usize = 0xd000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRAM_BANK_1_END` is never used [INFO] [stdout] --> src/cpu.rs:1089:7 [INFO] [stdout] | [INFO] [stdout] 1089 | const WRAM_BANK_1_END: usize = 0xdfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ECHO_START` is never used [INFO] [stdout] --> src/cpu.rs:1090:7 [INFO] [stdout] | [INFO] [stdout] 1090 | const ECHO_START: usize = 0xe000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ECHO_END` is never used [INFO] [stdout] --> src/cpu.rs:1091:7 [INFO] [stdout] | [INFO] [stdout] 1091 | const ECHO_END: usize = 0xfdff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAM_START` is never used [INFO] [stdout] --> src/cpu.rs:1092:7 [INFO] [stdout] | [INFO] [stdout] 1092 | const OAM_START: usize = 0xfe00; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAM_END` is never used [INFO] [stdout] --> src/cpu.rs:1093:7 [INFO] [stdout] | [INFO] [stdout] 1093 | const OAM_END: usize = 0xfe9f; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_USABLE_START` is never used [INFO] [stdout] --> src/cpu.rs:1094:7 [INFO] [stdout] | [INFO] [stdout] 1094 | const NOT_USABLE_START: usize = 0xfea0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_USABLE_END` is never used [INFO] [stdout] --> src/cpu.rs:1095:7 [INFO] [stdout] | [INFO] [stdout] 1095 | const NOT_USABLE_END: usize = 0xfeff; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_START` is never used [INFO] [stdout] --> src/cpu.rs:1096:7 [INFO] [stdout] | [INFO] [stdout] 1096 | const IO_START: usize = 0xff00; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_END` is never used [INFO] [stdout] --> src/cpu.rs:1097:7 [INFO] [stdout] | [INFO] [stdout] 1097 | const IO_END: usize = 0xff7f; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HRAM_START` is never used [INFO] [stdout] --> src/cpu.rs:1098:7 [INFO] [stdout] | [INFO] [stdout] 1098 | const HRAM_START: usize = 0xff80; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HRAM_END` is never used [INFO] [stdout] --> src/cpu.rs:1099:7 [INFO] [stdout] | [INFO] [stdout] 1099 | const HRAM_END: usize = 0xfffe; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode_name` is never read [INFO] [stdout] --> src/instructions.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Opcode { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | opcode_byte: u8, //hex representatoin of the opcode [INFO] [stdout] 10 | pub opcode_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_CRTL_REG` is never used [INFO] [stdout] --> src/ppu.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LCD_CRTL_REG: usize = 0xff40; //LCD Control Register [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dot_counter`, `current_row`, `current_col`, `screen_buffer_a`, and `screen_buffer_b` are never read [INFO] [stdout] --> src/ppu.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Lcd { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | dot_counter: u32, //Keeps track of the number of dot clock cyles. Max 70244 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | current_row: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | current_col: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | screen_buffer_a: [u8; SCREEN_RESOLUTION], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | screen_buffer_b: [u8; SCREEN_RESOLUTION], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_lcd` is never used [INFO] [stdout] --> src/ppu.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Lcd { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_lcd(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP_1_END` is never used [INFO] [stdout] --> src/vram.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const TILE_MAP_1_END: usize = 0x9BFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP_2_START` is never used [INFO] [stdout] --> src/vram.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const TILE_MAP_2_START: usize = 0x9C00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cache_tile_line` is never used [INFO] [stdout] --> src/vram.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Vram { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn cache_tile_line(&self, block_index: usize, title_index: usize, line_index: usize) -> TilePixelLine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TilePixelLine` is never constructed [INFO] [stdout] --> src/vram.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct TilePixelLine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vram.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl TilePixelLine { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 148 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buff` is never read [INFO] [stdout] --> src/Windows_Interface/windows_interface.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WindowsInterface { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | buff: BufWriter, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_log_file` is never used [INFO] [stdout] --> src/Windows_Interface/windows_interface.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl WindowsInterface { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn print_log_file(&mut self, cpu: &Cpu) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "17ff31798410894b2ee8450407c9567b47712666028f23d21c820492fce0679b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ff31798410894b2ee8450407c9567b47712666028f23d21c820492fce0679b", kill_on_drop: false }` [INFO] [stdout] 17ff31798410894b2ee8450407c9567b47712666028f23d21c820492fce0679b