[INFO] cloning repository https://github.com/renanferr/rust_nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/renanferr/rust_nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenanferr%2Frust_nes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenanferr%2Frust_nes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3759881b89318921aecfaf2e794c740cd14e2c9 [INFO] checking renanferr/rust_nes against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenanferr%2Frust_nes" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renanferr/rust_nes on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/renanferr/rust_nes [INFO] finished tweaking git repo https://github.com/renanferr/rust_nes [INFO] tweaked toml for git repo https://github.com/renanferr/rust_nes written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/renanferr/rust_nes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixel_engine v0.0.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35d73cccf30026f8f1a7c9c8f6fd9326d93160a94a482c43685446233583c51d [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" "35d73cccf30026f8f1a7c9c8f6fd9326d93160a94a482c43685446233583c51d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35d73cccf30026f8f1a7c9c8f6fd9326d93160a94a482c43685446233583c51d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d73cccf30026f8f1a7c9c8f6fd9326d93160a94a482c43685446233583c51d", kill_on_drop: false }` [INFO] [stdout] 35d73cccf30026f8f1a7c9c8f6fd9326d93160a94a482c43685446233583c51d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd20a5ac21f11a047cd85556963eb711cecbcbc50b71bdf3f4d8efca282efb36 [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" "cd20a5ac21f11a047cd85556963eb711cecbcbc50b71bdf3f4d8efca282efb36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking pixel_engine v0.0.9 [INFO] [stderr] Checking rust_nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nes/cpu.rs:120:59 [INFO] [stdout] | [INFO] [stdout] 120 | let lo: u16 = self.read(self.addr_abs + 0).into();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nes/cpu.rs:121:59 [INFO] [stdout] | [INFO] [stdout] 121 | let hi: u16 = self.read(self.addr_abs + 1).into();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::cpu::CPU6502` [INFO] [stdout] --> src/nes/bus.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cpu::CPU6502; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nes/cpu.rs:120:59 [INFO] [stdout] | [INFO] [stdout] 120 | let lo: u16 = self.read(self.addr_abs + 0).into();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nes/cpu.rs:121:59 [INFO] [stdout] | [INFO] [stdout] 121 | let hi: u16 = self.read(self.addr_abs + 1).into();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::cpu::CPU6502` [INFO] [stdout] --> src/nes/bus.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cpu::CPU6502; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_read_only` [INFO] [stdout] --> src/nes/bus.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read(&self, addr: u16, b_read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_read_only` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_read_only` [INFO] [stdout] --> src/nes/bus.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read(&self, addr: u16, b_read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_read_only` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `INSTRUCTION` [INFO] [stdout] --> src/nes/cpu.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/nes/cpu.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | a: u8, // accumulator register [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/nes/cpu.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | x: u8, // x register [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/nes/cpu.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | y: u8, // y register [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stkp` [INFO] [stdout] --> src/nes/cpu.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | stkp: u8, // stack pointer [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/nes/cpu.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pc: u16, // program counter [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/nes/cpu.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | status: u8, // status register [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fetched` [INFO] [stdout] --> src/nes/cpu.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fetched: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp` [INFO] [stdout] --> src/nes/cpu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | temp: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr_abs` [INFO] [stdout] --> src/nes/cpu.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | addr_abs: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr_rel` [INFO] [stdout] --> src/nes/cpu.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | addr_rel: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode` [INFO] [stdout] --> src/nes/cpu.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | opcode: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/nes/cpu.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | cycles: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clock_count` [INFO] [stdout] --> src/nes/cpu.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | clock_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect_bus` [INFO] [stdout] --> src/nes/cpu.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn connect_bus(&mut self, b: Bus) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/nes/cpu.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flag` [INFO] [stdout] --> src/nes/cpu.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_flag(&self, f: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag` [INFO] [stdout] --> src/nes/cpu.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn set_flag(&mut self, f: u8, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `irq` [INFO] [stdout] --> src/nes/cpu.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nmi` [INFO] [stdout] --> src/nes/cpu.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/nes/cpu.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn clock(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/bus.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if addr >= 0x0000 && addr <= 0xFFFF { [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/nes/bus.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/bus.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/bus.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `INSTRUCTION` [INFO] [stdout] --> src/nes/cpu.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/nes/cpu.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | a: u8, // accumulator register [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/nes/cpu.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | x: u8, // x register [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/nes/cpu.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | y: u8, // y register [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stkp` [INFO] [stdout] --> src/nes/cpu.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | stkp: u8, // stack pointer [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/nes/cpu.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pc: u16, // program counter [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/nes/cpu.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | status: u8, // status register [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fetched` [INFO] [stdout] --> src/nes/cpu.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fetched: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp` [INFO] [stdout] --> src/nes/cpu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | temp: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr_abs` [INFO] [stdout] --> src/nes/cpu.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | addr_abs: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr_rel` [INFO] [stdout] --> src/nes/cpu.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | addr_rel: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode` [INFO] [stdout] --> src/nes/cpu.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | opcode: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/nes/cpu.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | cycles: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clock_count` [INFO] [stdout] --> src/nes/cpu.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | clock_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect_bus` [INFO] [stdout] --> src/nes/cpu.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn connect_bus(&mut self, b: Bus) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/nes/cpu.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flag` [INFO] [stdout] --> src/nes/cpu.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_flag(&self, f: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag` [INFO] [stdout] --> src/nes/cpu.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn set_flag(&mut self, f: u8, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `irq` [INFO] [stdout] --> src/nes/cpu.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nmi` [INFO] [stdout] --> src/nes/cpu.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/nes/cpu.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn clock(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/bus.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if addr >= 0x0000 && addr <= 0xFFFF { [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/nes/bus.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/bus.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/bus.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.60s [INFO] running `Command { std: "docker" "inspect" "cd20a5ac21f11a047cd85556963eb711cecbcbc50b71bdf3f4d8efca282efb36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd20a5ac21f11a047cd85556963eb711cecbcbc50b71bdf3f4d8efca282efb36", kill_on_drop: false }` [INFO] [stdout] cd20a5ac21f11a047cd85556963eb711cecbcbc50b71bdf3f4d8efca282efb36