[INFO] cloning repository https://github.com/tfinnegan937/GBEmu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tfinnegan937/GBEmu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfinnegan937%2FGBEmu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfinnegan937%2FGBEmu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3ff3427e7862b251adfbfd8e1f08a527e0c6e1c [INFO] checking tfinnegan937/GBEmu against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfinnegan937%2FGBEmu" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tfinnegan937/GBEmu on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tfinnegan937/GBEmu [INFO] finished tweaking git repo https://github.com/tfinnegan937/GBEmu [INFO] tweaked toml for git repo https://github.com/tfinnegan937/GBEmu written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tfinnegan937/GBEmu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2b2018b59dced6b3f659a867bdb53fc040a289e4860cc60fd9e38835c3bcb48 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f2b2018b59dced6b3f659a867bdb53fc040a289e4860cc60fd9e38835c3bcb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2b2018b59dced6b3f659a867bdb53fc040a289e4860cc60fd9e38835c3bcb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b2018b59dced6b3f659a867bdb53fc040a289e4860cc60fd9e38835c3bcb48", kill_on_drop: false }` [INFO] [stdout] f2b2018b59dced6b3f659a867bdb53fc040a289e4860cc60fd9e38835c3bcb48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4fe6743cbd664fdd699be068bbe88b48119e9ba8c90e5ec2c2f89a73387c3a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b4fe6743cbd664fdd699be068bbe88b48119e9ba8c90e5ec2c2f89a73387c3a", kill_on_drop: false }` [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking itertools v0.8.1 [INFO] [stderr] Checking gb_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/emulator_main/mod.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | while(num_cycles < 69833){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/emulator_main/mod.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | while(num_cycles < 69833){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_time` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut end_time = time::Duration::from_millis(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `two_byte_data` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let mut two_byte_data : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `contains_data` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let mut contains_data : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `contains_displacement` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut contains_displacement : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_cycles` [INFO] [stdout] --> src/emulator_main/mod.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut num_cycles : u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut x : u8 = 0x00; //opcode's 1st octal digit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut y : u8 = 0x00; //opcode's 2nd octal digit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `z` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let mut z : u8 = 0x00; //opcode's 3rd octal digit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut q : u8 = 0x00; //bits 5-4 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `p` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut p : u8 = 0x00; //bit 3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nothing` [INFO] [stdout] --> src/emulator_main/mod.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | Ok(nothing) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nothing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator_main/mod.rs:492:30 [INFO] [stdout] | [INFO] [stdout] 492 | fn write_rom(& mut self, address : u16, data : u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/emulator_main/mod.rs:492:45 [INFO] [stdout] | [INFO] [stdout] 492 | fn write_rom(& mut self, address : u16, data : u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/emulator_main/mod.rs:515:18 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `displacement` [INFO] [stdout] --> src/emulator_main/mod.rs:515:43 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_displacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/emulator_main/mod.rs:515:102 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/emulator_main/mod.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | p : u8, q: u8) -> u32{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/emulator_main/mod.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | p : u8, q: u8) -> u32{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut emulator : emulator_main::Emulator = emulator_main::build(args); [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/emulator_main/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut start_time = time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator_main/mod.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut end_instant = time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator_main/mod.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut num_cycles : u32 = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator_main/mod.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | let mut num_cycles : u32 = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a_r` [INFO] [stdout] --> src/emulator_main/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | a_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_r` [INFO] [stdout] --> src/emulator_main/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | b_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c_r` [INFO] [stdout] --> src/emulator_main/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | c_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `d_r` [INFO] [stdout] --> src/emulator_main/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | d_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `e_r` [INFO] [stdout] --> src/emulator_main/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | e_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f_r` [INFO] [stdout] --> src/emulator_main/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | f_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h_r` [INFO] [stdout] --> src/emulator_main/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | h_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `l_r` [INFO] [stdout] --> src/emulator_main/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | l_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp_r` [INFO] [stdout] --> src/emulator_main/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | sp_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom_path` [INFO] [stdout] --> src/emulator_main/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | rom_path : String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_rom_pri` [INFO] [stdout] --> src/emulator_main/mod.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn load_rom_pri(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_memory` [INFO] [stdout] --> src/emulator_main/mod.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | fn read_memory(&self, address : u16) -> Result, &'static str>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_rom` [INFO] [stdout] --> src/emulator_main/mod.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn read_rom(&self, address:u16) -> Result, &'static str>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_memory` [INFO] [stdout] --> src/emulator_main/mod.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | fn write_memory(& mut self, address:u16, data: u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_rom` [INFO] [stdout] --> src/emulator_main/mod.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn write_rom(& mut self, address : u16, data : u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mbc_offset` [INFO] [stdout] --> src/emulator_main/mod.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 497 | fn get_mbc_offset(&self) -> u16{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `NOP` [INFO] [stdout] --> src/emulator_main/mod.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn NOP(&self) -> u32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `LD` [INFO] [stdout] --> src/emulator_main/mod.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_file` [INFO] [stdout] --> src/emulator_main/mod.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | fn print_file(&self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_system_ROM` [INFO] [stdout] --> src/emulator_main/mod.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | fn print_system_ROM(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | contains_data == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | contains_data == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | contains_data == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | if address < 0x0000 || address > 0xFFFF{ //Are we within a legitimate memory range? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:422:32 [INFO] [stdout] | [INFO] [stdout] 422 | if address < 0x0000 || address > 0xFFFF{ //Are we within a legitimate memory range? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | if address >= 0x0000 && address <= 0x7FFF{ //Are we reading from the ROM? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | if address < 0x0000 || address > 0x7FFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | if address < 0x0000 || address > 0xFFFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:465:32 [INFO] [stdout] | [INFO] [stdout] 465 | if address < 0x0000 || address > 0xFFFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:470:16 [INFO] [stdout] | [INFO] [stdout] 470 | if address >= 0x0000 || address <= 0x7FFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NOP` should have a snake case name [INFO] [stdout] --> src/emulator_main/mod.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn NOP(&self) -> u32{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `LD` should have a snake case name [INFO] [stdout] --> src/emulator_main/mod.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_system_ROM` should have a snake case name [INFO] [stdout] --> src/emulator_main/mod.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | fn print_system_ROM(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_system_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_time` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut end_time = time::Duration::from_millis(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `two_byte_data` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let mut two_byte_data : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `contains_data` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let mut contains_data : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `contains_displacement` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut contains_displacement : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_cycles` [INFO] [stdout] --> src/emulator_main/mod.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut num_cycles : u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut x : u8 = 0x00; //opcode's 1st octal digit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut y : u8 = 0x00; //opcode's 2nd octal digit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `z` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let mut z : u8 = 0x00; //opcode's 3rd octal digit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut q : u8 = 0x00; //bits 5-4 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `p` is never read [INFO] [stdout] --> src/emulator_main/mod.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut p : u8 = 0x00; //bit 3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nothing` [INFO] [stdout] --> src/emulator_main/mod.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | Ok(nothing) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nothing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator_main/mod.rs:492:30 [INFO] [stdout] | [INFO] [stdout] 492 | fn write_rom(& mut self, address : u16, data : u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/emulator_main/mod.rs:492:45 [INFO] [stdout] | [INFO] [stdout] 492 | fn write_rom(& mut self, address : u16, data : u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/emulator_main/mod.rs:515:18 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `displacement` [INFO] [stdout] --> src/emulator_main/mod.rs:515:43 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_displacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/emulator_main/mod.rs:515:102 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/emulator_main/mod.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | p : u8, q: u8) -> u32{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/emulator_main/mod.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | p : u8, q: u8) -> u32{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut emulator : emulator_main::Emulator = emulator_main::build(args); [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/emulator_main/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut start_time = time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator_main/mod.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut end_instant = time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator_main/mod.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut num_cycles : u32 = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator_main/mod.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | let mut num_cycles : u32 = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | file.read_to_end(&mut buffer); //ERROR HANDLING NEEDED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a_r` [INFO] [stdout] --> src/emulator_main/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | a_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_r` [INFO] [stdout] --> src/emulator_main/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | b_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c_r` [INFO] [stdout] --> src/emulator_main/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | c_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `d_r` [INFO] [stdout] --> src/emulator_main/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | d_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `e_r` [INFO] [stdout] --> src/emulator_main/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | e_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f_r` [INFO] [stdout] --> src/emulator_main/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | f_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h_r` [INFO] [stdout] --> src/emulator_main/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | h_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `l_r` [INFO] [stdout] --> src/emulator_main/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | l_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp_r` [INFO] [stdout] --> src/emulator_main/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | sp_r : Wrapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom_path` [INFO] [stdout] --> src/emulator_main/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | rom_path : String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_rom_pri` [INFO] [stdout] --> src/emulator_main/mod.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn load_rom_pri(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_memory` [INFO] [stdout] --> src/emulator_main/mod.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | fn read_memory(&self, address : u16) -> Result, &'static str>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_rom` [INFO] [stdout] --> src/emulator_main/mod.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn read_rom(&self, address:u16) -> Result, &'static str>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_memory` [INFO] [stdout] --> src/emulator_main/mod.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | fn write_memory(& mut self, address:u16, data: u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_rom` [INFO] [stdout] --> src/emulator_main/mod.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn write_rom(& mut self, address : u16, data : u8) -> Result<(), &'static str>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mbc_offset` [INFO] [stdout] --> src/emulator_main/mod.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 497 | fn get_mbc_offset(&self) -> u16{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `NOP` [INFO] [stdout] --> src/emulator_main/mod.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn NOP(&self) -> u32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `LD` [INFO] [stdout] --> src/emulator_main/mod.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_file` [INFO] [stdout] --> src/emulator_main/mod.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | fn print_file(&self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_system_ROM` [INFO] [stdout] --> src/emulator_main/mod.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | fn print_system_ROM(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | contains_data == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | contains_data == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | contains_data == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | if address < 0x0000 || address > 0xFFFF{ //Are we within a legitimate memory range? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:422:32 [INFO] [stdout] | [INFO] [stdout] 422 | if address < 0x0000 || address > 0xFFFF{ //Are we within a legitimate memory range? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | if address >= 0x0000 && address <= 0x7FFF{ //Are we reading from the ROM? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | if address < 0x0000 || address > 0x7FFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | if address < 0x0000 || address > 0xFFFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:465:32 [INFO] [stdout] | [INFO] [stdout] 465 | if address < 0x0000 || address > 0xFFFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator_main/mod.rs:470:16 [INFO] [stdout] | [INFO] [stdout] 470 | if address >= 0x0000 || address <= 0x7FFF{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NOP` should have a snake case name [INFO] [stdout] --> src/emulator_main/mod.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn NOP(&self) -> u32{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `LD` should have a snake case name [INFO] [stdout] --> src/emulator_main/mod.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn LD(&self, data: Vec>, displacement: Wrapping, op_code: Wrapping, x : u8, y : u8, z : u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_system_ROM` should have a snake case name [INFO] [stdout] --> src/emulator_main/mod.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | fn print_system_ROM(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_system_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/emulator_main/mod.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | file.read_to_end(&mut buffer); //ERROR HANDLING NEEDED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.95s [INFO] running `Command { std: "docker" "inspect" "8b4fe6743cbd664fdd699be068bbe88b48119e9ba8c90e5ec2c2f89a73387c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4fe6743cbd664fdd699be068bbe88b48119e9ba8c90e5ec2c2f89a73387c3a", kill_on_drop: false }` [INFO] [stdout] 8b4fe6743cbd664fdd699be068bbe88b48119e9ba8c90e5ec2c2f89a73387c3a