[INFO] cloning repository https://github.com/sillygooseinapond/6502-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sillygooseinapond/6502-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsillygooseinapond%2F6502-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsillygooseinapond%2F6502-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1a123539a4e45d2338bd40934ec637942e661f6 [INFO] checking sillygooseinapond/6502-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsillygooseinapond%2F6502-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sillygooseinapond/6502-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sillygooseinapond/6502-rust [INFO] finished tweaking git repo https://github.com/sillygooseinapond/6502-rust [INFO] tweaked toml for git repo https://github.com/sillygooseinapond/6502-rust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/sillygooseinapond/6502-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bd4b898fdbcc1407a41abda7844e1abbb7f702692ff54af2c58fb29d995c6de [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" "4bd4b898fdbcc1407a41abda7844e1abbb7f702692ff54af2c58fb29d995c6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bd4b898fdbcc1407a41abda7844e1abbb7f702692ff54af2c58fb29d995c6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd4b898fdbcc1407a41abda7844e1abbb7f702692ff54af2c58fb29d995c6de", kill_on_drop: false }` [INFO] [stdout] 4bd4b898fdbcc1407a41abda7844e1abbb7f702692ff54af2c58fb29d995c6de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5caffeb39a89da0bfea370e231b056df1c6da9943f7d05fab44e0ad9b4d70d8b [INFO] running `Command { std: "docker" "start" "-a" "5caffeb39a89da0bfea370e231b056df1c6da9943f7d05fab44e0ad9b4d70d8b", kill_on_drop: false }` [INFO] [stderr] Checking emu_6502 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | let hi = (((dec>>4)&0x0F)%0x0a+c); [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 assigned value [INFO] [stdout] --> src/cpu.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | let subtracting = (self.Mem[address as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | let subtracting = (self.Mem[address as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | let subtracting = (self.Mem[address as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | let hi = (((dec>>4)&0x0F)%0x0a+c); [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 assigned value [INFO] [stdout] --> src/cpu.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | let subtracting = (self.Mem[address as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | let subtracting = (self.Mem[address as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | let subtracting = (self.Mem[address as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | 0xc5 => Some(Instr{cycles: 4, size: 3, inst_type: Instruction::CMP, mode: AddrMode::ZPg}), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | _ => {}, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut res = Ok(()); [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 `pctmp` is never read [INFO] [stdout] --> src/cpu.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | let mut pctmp = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEBUG` should have a snake case name [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut DEBUG = false; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IRQ` should have a snake case name [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut IRQ = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `irq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NMI` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut NMI = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | A: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Y: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | X: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | PC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | S: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Flags` should have a snake case name [INFO] [stdout] --> src/cpu.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub Flags: u8, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Mem` should have a snake case name [INFO] [stdout] --> src/cpu.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub Mem: [u8; 0xFFFF+1], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEBUG` should have a snake case name [INFO] [stdout] --> src/cpu.rs:316:83 [INFO] [stdout] | [INFO] [stdout] 316 | fn run_instr(&mut self, instr: Instruction, mode: AddrMode, op1: u8, op2: u8, DEBUG: bool){ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | let tmpA = dec_to_hex(self.A); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | let tmpA = self.A; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | let tmpA = dec_to_hex(self.A); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | let tmpA = self.A; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/cpu.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | self.PC.wrapping_add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/cpu.rs:662:32 [INFO] [stdout] | [INFO] [stdout] 662 | fn set_overflow(&mut self, M: u8, N: u8){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/cpu.rs:662:39 [INFO] [stdout] | [INFO] [stdout] 662 | fn set_overflow(&mut self, M: u8, N: u8){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/cpu.rs:668:31 [INFO] [stdout] | [INFO] [stdout] 668 | fn set_flagsnz(&mut self, M: u8){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEBUG` should have a snake case name [INFO] [stdout] --> src/cpu.rs:679:29 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn clock(&mut self, DEBUG: bool) -> Result<(), String>{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | 0xc5 => Some(Instr{cycles: 4, size: 3, inst_type: Instruction::CMP, mode: AddrMode::ZPg}), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | _ => {}, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut res = Ok(()); [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 `pctmp` is never read [INFO] [stdout] --> src/cpu.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | let mut pctmp = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEBUG` should have a snake case name [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut DEBUG = false; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IRQ` should have a snake case name [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut IRQ = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `irq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NMI` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut NMI = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | A: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Y: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | X: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | PC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | S: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Flags` should have a snake case name [INFO] [stdout] --> src/cpu.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub Flags: u8, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Mem` should have a snake case name [INFO] [stdout] --> src/cpu.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub Mem: [u8; 0xFFFF+1], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEBUG` should have a snake case name [INFO] [stdout] --> src/cpu.rs:316:83 [INFO] [stdout] | [INFO] [stdout] 316 | fn run_instr(&mut self, instr: Instruction, mode: AddrMode, op1: u8, op2: u8, DEBUG: bool){ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | let tmpA = dec_to_hex(self.A); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | let tmpA = self.A; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | let tmpA = dec_to_hex(self.A); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmpA` should have a snake case name [INFO] [stdout] --> src/cpu.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | let tmpA = self.A; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tmp_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/cpu.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | self.PC.wrapping_add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/cpu.rs:662:32 [INFO] [stdout] | [INFO] [stdout] 662 | fn set_overflow(&mut self, M: u8, N: u8){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/cpu.rs:662:39 [INFO] [stdout] | [INFO] [stdout] 662 | fn set_overflow(&mut self, M: u8, N: u8){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/cpu.rs:668:31 [INFO] [stdout] | [INFO] [stdout] 668 | fn set_flagsnz(&mut self, M: u8){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEBUG` should have a snake case name [INFO] [stdout] --> src/cpu.rs:679:29 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn clock(&mut self, DEBUG: bool) -> Result<(), String>{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "5caffeb39a89da0bfea370e231b056df1c6da9943f7d05fab44e0ad9b4d70d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5caffeb39a89da0bfea370e231b056df1c6da9943f7d05fab44e0ad9b4d70d8b", kill_on_drop: false }` [INFO] [stdout] 5caffeb39a89da0bfea370e231b056df1c6da9943f7d05fab44e0ad9b4d70d8b