[INFO] cloning repository https://github.com/taraka/nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taraka/nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e140c5567dfc2e08caf7476e1ca420c3930fd8e [INFO] checking taraka/nes against try#1b0139f5bdae7328e6d232947a8112333bb44eeb for pr-93394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fnes" "/workspace/builds/worker-52/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-52/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taraka/nes on toolchain 1b0139f5bdae7328e6d232947a8112333bb44eeb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b0139f5bdae7328e6d232947a8112333bb44eeb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taraka/nes [INFO] finished tweaking git repo https://github.com/taraka/nes [INFO] tweaked toml for git repo https://github.com/taraka/nes written to /workspace/builds/worker-52/source/Cargo.toml [INFO] crate git repo https://github.com/taraka/nes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b0139f5bdae7328e6d232947a8112333bb44eeb" "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-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1b0139f5bdae7328e6d232947a8112333bb44eeb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c56a4da51f6afce872aa43d38f4b8841bb0cdea03c7d5ddefdf5e081953ecbe [INFO] running `Command { std: "docker" "start" "-a" "1c56a4da51f6afce872aa43d38f4b8841bb0cdea03c7d5ddefdf5e081953ecbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c56a4da51f6afce872aa43d38f4b8841bb0cdea03c7d5ddefdf5e081953ecbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c56a4da51f6afce872aa43d38f4b8841bb0cdea03c7d5ddefdf5e081953ecbe", kill_on_drop: false }` [INFO] [stdout] 1c56a4da51f6afce872aa43d38f4b8841bb0cdea03c7d5ddefdf5e081953ecbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1b0139f5bdae7328e6d232947a8112333bb44eeb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a97cb7c47e5940cf631fda18cbd6f9819f3a70469e8b0a2003a0d2dab4feebe4 [INFO] running `Command { std: "docker" "start" "-a" "a97cb7c47e5940cf631fda18cbd6f9819f3a70469e8b0a2003a0d2dab4feebe4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mos6502.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 830 | panic!("Unknown opcode as: {:#04x}", self.pc); [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 831 | self.additional_cycles(&amr, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amr` [INFO] [stdout] --> src/mos6502.rs:829:23 [INFO] [stdout] | [INFO] [stdout] 829 | fn xxx(&mut self, amr: AddrModeResult) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_amr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/nes.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn ppu_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/nes.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/nes.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/cartridge.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(a) = self.mapper.write(addr, data) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cartridge.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | fn write(&mut self, addr: u16, data: u8) { [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/mappers/mapper0.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | fn write(&mut self, addr: u16, data: u8) -> Option { [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/mappers/mapper0.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn ppu_write(&mut self, addr: u16, data: u8) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mos6502.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let mut addr = self.read(self.pc) ; [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: unreachable expression [INFO] [stdout] --> src/mos6502.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 830 | panic!("Unknown opcode as: {:#04x}", self.pc); [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 831 | self.additional_cycles(&amr, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_inst` [INFO] [stdout] --> src/mos6502.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn next_inst(&mut 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: `irq` [INFO] [stdout] --> src/mos6502.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nmi` [INFO] [stdout] --> src/mos6502.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_read` [INFO] [stdout] --> src/nes.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn ppu_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/nes.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_range` [INFO] [stdout] --> src/ram.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn print_range(&mut self, r: std::ops::Range) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/cartridge.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | header: Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_mem` [INFO] [stdout] --> src/cartridge.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | chr_mem: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cartridge.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper1` [INFO] [stdout] --> src/cartridge.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mapper1: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper2` [INFO] [stdout] --> src/cartridge.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mapper2: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_ram_size` [INFO] [stdout] --> src/cartridge.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_system1` [INFO] [stdout] --> src/cartridge.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | tv_system1: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_system2` [INFO] [stdout] --> src/cartridge.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | tv_system2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_read` [INFO] [stdout] --> src/cartridge.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn ppu_read(&mut self, addr: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/cartridge.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bus` [INFO] [stdout] --> src/ppu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | bus: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_rom_banks` [INFO] [stdout] --> src/mappers/mapper0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | prg_rom_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mapper0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mappers/mapper0.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/mappers/mapper0.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | if addr >= 0x8000 && 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/mappers/mapper0.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | if addr >= 0x8000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amr` [INFO] [stdout] --> src/mos6502.rs:829:23 [INFO] [stdout] | [INFO] [stdout] 829 | fn xxx(&mut self, amr: AddrModeResult) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_amr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/nes.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn ppu_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/nes.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/nes.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/cartridge.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(a) = self.mapper.write(addr, data) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cartridge.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | fn write(&mut self, addr: u16, data: u8) { [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/mappers/mapper0.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | fn write(&mut self, addr: u16, data: u8) -> Option { [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/mappers/mapper0.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn ppu_write(&mut self, addr: u16, data: u8) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mos6502.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let mut addr = self.read(self.pc) ; [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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_inst` [INFO] [stdout] --> src/mos6502.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn next_inst(&mut 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: `irq` [INFO] [stdout] --> src/mos6502.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nmi` [INFO] [stdout] --> src/mos6502.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_read` [INFO] [stdout] --> src/nes.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn ppu_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/nes.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_range` [INFO] [stdout] --> src/ram.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn print_range(&mut self, r: std::ops::Range) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/cartridge.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | header: Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_mem` [INFO] [stdout] --> src/cartridge.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | chr_mem: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cartridge.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper1` [INFO] [stdout] --> src/cartridge.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mapper1: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper2` [INFO] [stdout] --> src/cartridge.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mapper2: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_ram_size` [INFO] [stdout] --> src/cartridge.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_system1` [INFO] [stdout] --> src/cartridge.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | tv_system1: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_system2` [INFO] [stdout] --> src/cartridge.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | tv_system2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_read` [INFO] [stdout] --> src/cartridge.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn ppu_read(&mut self, addr: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/cartridge.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bus` [INFO] [stdout] --> src/ppu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | bus: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_rom_banks` [INFO] [stdout] --> src/mappers/mapper0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | prg_rom_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mapper0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mappers/mapper0.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/mappers/mapper0.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | if addr >= 0x8000 && 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/mappers/mapper0.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | if addr >= 0x8000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.35s [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "a97cb7c47e5940cf631fda18cbd6f9819f3a70469e8b0a2003a0d2dab4feebe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a97cb7c47e5940cf631fda18cbd6f9819f3a70469e8b0a2003a0d2dab4feebe4", kill_on_drop: false }` [INFO] [stdout] a97cb7c47e5940cf631fda18cbd6f9819f3a70469e8b0a2003a0d2dab4feebe4