[INFO] cloning repository https://github.com/jtharris/nes_play [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jtharris/nes_play" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtharris%2Fnes_play", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtharris%2Fnes_play'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f622272f2d694f04edd1cac6af70b926bf09aa29 [INFO] checking jtharris/nes_play against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtharris%2Fnes_play" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jtharris/nes_play on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jtharris/nes_play [INFO] finished tweaking git repo https://github.com/jtharris/nes_play [INFO] tweaked toml for git repo https://github.com/jtharris/nes_play written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/jtharris/nes_play already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfa5fd75b5784a0495d50cf0225bfebe6b1efc1a5aa955cd0b3b3e7315276f49 [INFO] running `Command { std: "docker" "start" "-a" "cfa5fd75b5784a0495d50cf0225bfebe6b1efc1a5aa955cd0b3b3e7315276f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfa5fd75b5784a0495d50cf0225bfebe6b1efc1a5aa955cd0b3b3e7315276f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa5fd75b5784a0495d50cf0225bfebe6b1efc1a5aa955cd0b3b3e7315276f49", kill_on_drop: false }` [INFO] [stdout] cfa5fd75b5784a0495d50cf0225bfebe6b1efc1a5aa955cd0b3b3e7315276f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64cdfafb077d3d7843b522f6fb584d9e0b73ed1c413323813ee0aa549f347f68 [INFO] running `Command { std: "docker" "start" "-a" "64cdfafb077d3d7843b522f6fb584d9e0b73ed1c413323813ee0aa549f347f68", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking nes_play v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/cpu.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/commands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INes2Header` [INFO] [stdout] --> src/commands.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::rom::{INes2Header, INesRom}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instructions::factory::generate_instruction` [INFO] [stdout] --> src/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::instructions::factory::generate_instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/cpu.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::StatusFlag` [INFO] [stdout] --> src/cpu.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | use crate::cpu::StatusFlag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Absolute` [INFO] [stdout] --> src/instructions/adc.rs:46:70 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::cpu::AddressingMode::{ZeroPage, Immediate, AbsoluteX, Absolute}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions/cmp.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | CMP::new(Immediate(0xFF)).execute((&mut cpu)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - CMP::new(Immediate(0xFF)).execute((&mut cpu)); [INFO] [stdout] 88 + CMP::new(Immediate(0xFF)).execute(&mut cpu); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions/cmp.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | CMP::new(Immediate(0x41)).execute((&mut cpu)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - CMP::new(Immediate(0x41)).execute((&mut cpu)); [INFO] [stdout] 102 + CMP::new(Immediate(0x41)).execute(&mut cpu); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instructions::jmp::JumpAddressMode::Absolute` [INFO] [stdout] --> src/instructions/lax.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::instructions::jmp::JumpAddressMode::Absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/commands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INes2Header` [INFO] [stdout] --> src/commands.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::rom::{INes2Header, INesRom}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instructions::factory::generate_instruction` [INFO] [stdout] --> src/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::instructions::factory::generate_instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/cpu.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | &AddressingMode::AbsoluteX(base) => 4, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/cpu.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | &AddressingMode::AbsoluteY(base) => 4, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &AddressingMode::IndirectY(address) => 5, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut log = File::create(&self.log_filename); [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: associated function is never used: `empty` [INFO] [stdout] --> src/cpu.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_mem16` [INFO] [stdout] --> src/cpu.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn write_mem16(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mirroring` [INFO] [stdout] --> src/rom.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Mirroring { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mirroring` [INFO] [stdout] --> src/rom.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn mirroring(&self) -> Mirroring { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ppu_register_address` [INFO] [stdout] --> src/bus.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn ppu_register_address(addr: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/bus.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_mem16` [INFO] [stdout] --> src/bus.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn write_mem16(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | write!(log, "{:04X} ", pc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | write!(log, " "); // TODO: Fill in bytes later [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | / match &instruction { [INFO] [stdout] 183 | | Some(inst) => write!(log, "{:<25}", inst.to_string()), [INFO] [stdout] 184 | | None => write!(log, "{:<25}", "No Instruction") [INFO] [stdout] 185 | | }; [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: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | / write!(log, "A:{:02X} X:{:02X} Y:{:02X} P:{:02X} SP:{:02X} ", [INFO] [stdout] 187 | | self.accumulator, self.index_register_x, self.index_register_y, [INFO] [stdout] 188 | | self.processor_status, self.stack_pointer); [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | write!(log, "PPU: 0, 0 "); // TODO: Figure this out too [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | writeln!(log, "CYC:{}", cycle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/cpu.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | &AddressingMode::AbsoluteX(base) => 4, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/cpu.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | &AddressingMode::AbsoluteY(base) => 4, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &AddressingMode::IndirectY(address) => 5, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut log = File::create(&self.log_filename); [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: enum is never used: `Mirroring` [INFO] [stdout] --> src/rom.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Mirroring { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mirroring` [INFO] [stdout] --> src/rom.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn mirroring(&self) -> Mirroring { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ppu_register_address` [INFO] [stdout] --> src/bus.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn ppu_register_address(addr: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | write!(log, "{:04X} ", pc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | write!(log, " "); // TODO: Fill in bytes later [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | / match &instruction { [INFO] [stdout] 183 | | Some(inst) => write!(log, "{:<25}", inst.to_string()), [INFO] [stdout] 184 | | None => write!(log, "{:<25}", "No Instruction") [INFO] [stdout] 185 | | }; [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: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | / write!(log, "A:{:02X} X:{:02X} Y:{:02X} P:{:02X} SP:{:02X} ", [INFO] [stdout] 187 | | self.accumulator, self.index_register_x, self.index_register_y, [INFO] [stdout] 188 | | self.processor_status, self.stack_pointer); [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | write!(log, "PPU: 0, 0 "); // TODO: Figure this out too [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | writeln!(log, "CYC:{}", cycle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.63s [INFO] running `Command { std: "docker" "inspect" "64cdfafb077d3d7843b522f6fb584d9e0b73ed1c413323813ee0aa549f347f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64cdfafb077d3d7843b522f6fb584d9e0b73ed1c413323813ee0aa549f347f68", kill_on_drop: false }` [INFO] [stdout] 64cdfafb077d3d7843b522f6fb584d9e0b73ed1c413323813ee0aa549f347f68