[INFO] cloning repository https://github.com/benjaminmordaunt/fancy-nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benjaminmordaunt/fancy-nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmordaunt%2Ffancy-nes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmordaunt%2Ffancy-nes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dabe3e6797424a80562638237fd147f4ee6e82b7 [INFO] testing benjaminmordaunt/fancy-nes against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmordaunt%2Ffancy-nes" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benjaminmordaunt/fancy-nes on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benjaminmordaunt/fancy-nes [INFO] finished tweaking git repo https://github.com/benjaminmordaunt/fancy-nes [INFO] tweaked toml for git repo https://github.com/benjaminmordaunt/fancy-nes written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/benjaminmordaunt/fancy-nes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cce5fcdaf04c41be34bfcf6c86ebc03f177c080065b99295a961a847d1cf972d [INFO] running `Command { std: "docker" "start" "-a" "cce5fcdaf04c41be34bfcf6c86ebc03f177c080065b99295a961a847d1cf972d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cce5fcdaf04c41be34bfcf6c86ebc03f177c080065b99295a961a847d1cf972d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce5fcdaf04c41be34bfcf6c86ebc03f177c080065b99295a961a847d1cf972d", kill_on_drop: false }` [INFO] [stdout] cce5fcdaf04c41be34bfcf6c86ebc03f177c080065b99295a961a847d1cf972d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 385bad6f20be282737ec167fef15921463735d485849a1f0d48184534820e12a [INFO] running `Command { std: "docker" "start" "-a" "385bad6f20be282737ec167fef15921463735d485849a1f0d48184534820e12a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir/nes) [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> nes/src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> nes/src/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> nes/src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Mirroring` [INFO] [stdout] --> nes/src/cpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Mirroring; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::debug::disasm_6502` [INFO] [stdout] --> nes/src/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::cpu::debug::disasm_6502; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Ref` [INFO] [stdout] --> nes/src/cpu/debug.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stdout] warning: unused variable: `is_nes2` [INFO] [stdout] --> nes/src/lib.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | let is_nes2 = (nes_header.flags7 & 0b1100) == 0b1000; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_nes2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper` [INFO] [stdout] --> nes/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | mapper: u8, /* NES2.0 */ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_chr_msb` [INFO] [stdout] --> nes/src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | prg_chr_msb: u8, /* NES2.0 */ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_eeprom_sz` [INFO] [stdout] --> nes/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | prg_eeprom_sz: u8, /* NES2.0 */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cpu_ppu_timing` [INFO] [stdout] --> nes/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | cpu_ppu_timing: u8, /* NES2.0 */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hw_type` [INFO] [stdout] --> nes/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | hw_type: u8, /* NES2.0 */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `misc_roms` [INFO] [stdout] --> nes/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | misc_roms: u8, /* NES2.0 */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `exp_device` [INFO] [stdout] --> nes/src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | exp_device: u8, /* NES2.0 */ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oam` [INFO] [stdout] --> nes/src/ppu.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | oam: [u8; 256], /* CPU can manipulate via memory-mapped DMA registers */ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr_data_bus` [INFO] [stdout] --> nes/src/ppu.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | addr_data_bus: u16, /* The PPU uses the same bus for addr and data to save pins */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAMDMA` [INFO] [stdout] --> nes/src/ppu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub const OAMDMA: u16 = 0x4014; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> nes/src/cpu.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub PC: u16, /* program counter */ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> nes/src/cpu.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub SP: u8, /* stack pointer */ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> nes/src/cpu.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub A: u8, /* accumulator */ [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> nes/src/cpu.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub X: u8, /* index register X */ [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> nes/src/cpu.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub Y: u8, /* index register Y */ [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nes/src/cpu.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | self.memory.write(addr, data); [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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nes/src/cpu.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | self.memory.write(addr, result); [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] --> nes/src/cpu.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | self.memory.write(addr, data); [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] --> nes/src/cpu.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | self.memory.write(self.SP as u16 + 0x0100, self.status.bits()); [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] --> nes/src/cpu.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | self.memory.write(self.SP as u16 + 0x0100, self.A); [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] --> nes/src/cpu.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | self.memory.write(self.SP as u16 + 0x0100, (self.PC >> 8) as u8); /* PC, MSB */ [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] --> nes/src/cpu.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | self.memory.write(self.SP as u16 + 0x0100, self.PC as u8); /* PC, LSB */ [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] --> nes/src/cpu.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | self.memory.write(self.SP as u16 + 0x0100, self.status.bits()); [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] --> nes/src/cpu.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | self.memory.write(self.SP as u16 + 0x0100, self.status.bits()); [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] --> nes/src/cpu.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | self.memory.write(self.SP as u16 + 0x0100, self.status.bits()); [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] --> nes/src/cpu.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | self.enter_subroutine(&InterruptType::NMI); [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: module `PPUAddress` should have a snake case name [INFO] [stdout] --> nes/src/ppu.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mod PPUAddress { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `ppuaddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nes/src/ppu.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | _ => { self.mapper.write(addr, data); } [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: comparison is useless due to type limits [INFO] [stdout] --> nes/src/ppu.rs:445:16 [INFO] [stdout] | [INFO] [stdout] 445 | if self.scanline >= 0 && self.scanline <= 239 [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] --> nes/src/cpu/mem.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | if (addr >= 0x4020) && (addr <= 0xFFFF) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nes/src/cpu/mem.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | if (addr >= 0x4020) && (addr <= 0xFFFF) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nes/src/cpu/mem.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | if (addr >= 0x4020) && (addr <= 0xFFFF) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling nes-platform v0.1.0 (/opt/rustwide/workdir/nes-platform) [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> nes-platform/src/debug_view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::surface` [INFO] [stdout] --> nes-platform/src/debug_view.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::surface; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> nes-platform/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> nes-platform/src/debug_view.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initial_offset` is assigned to, but never used [INFO] [stdout] --> nes-platform/src/debug_view.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut initial_offset: u16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_initial_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `initial_offset` is never read [INFO] [stdout] --> nes-platform/src/debug_view.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | initial_offset = last_offset; [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: variable does not need to be mutable [INFO] [stdout] --> nes-platform/src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut disasm_sel: usize = 0; [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> nes-platform/src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{RefCell, Ref}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> nes-platform/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nes::cpu::mapper000::CPUMapper000` [INFO] [stdout] --> nes-platform/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nes::cpu::mapper000::CPUMapper000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> nes-platform/src/main.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use nes::cpu::{NESCpu, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disasm_6502` [INFO] [stdout] --> nes-platform/src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use nes::cpu::debug::{disasm_6502, cpu_dump}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> nes-platform/src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::pixels::{Color, PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextureQuery` [INFO] [stdout] --> nes-platform/src/main.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use sdl2::render::{TextureQuery, Texture}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::timer` [INFO] [stdout] --> nes-platform/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use sdl2::timer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_format` [INFO] [stdout] --> nes-platform/src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let pixel_format = window.window_pixel_format(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nes-platform/src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let mut ppu = Rc::new(RefCell::new(NESPPU::new(nes_rom_header.mapper_id as usize, Rc::clone(&cpu_cell), nes_rom_header.hardwired_mirr... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nes-platform/src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut window = video_subsystem.window("fancy-nes v0.1.0", [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom` [INFO] [stdout] --> nes-platform/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | bottom: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> nes-platform/src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | right: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.16.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.17.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.18.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.19.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.20.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.21.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.22.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.23.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.24.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.25.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.26.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.27.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.28.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.29.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.30.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.31.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.32.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.33.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.34.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.35.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.36.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.37.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.38.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.39.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.40.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.41.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.42.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.43.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.44.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.45.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.46.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.47.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.48.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.49.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.nes_platform.70836b9a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1.4fras7zdpcw4eaqc.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnes_platform-d120ab2d0458be9b.rlib" "/opt/rustwide/target/debug/deps/libsdl2-289cf801d926f39e.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-fde7ac8d00aa9c15.rlib" "/opt/rustwide/target/debug/deps/libnes-55a40b27e65775d2.rlib" "/opt/rustwide/target/debug/deps/libclap-7f8e93da9c52e5b0.rlib" "/opt/rustwide/target/debug/deps/libstrsim-6ad70e90ac767dd3.rlib" "/opt/rustwide/target/debug/deps/libatty-501e48a1983351b6.rlib" "/opt/rustwide/target/debug/deps/liblibc-6764acb676be974d.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-c83e3ec1b8454ca7.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-d78e3506f5358b54.rlib" "/opt/rustwide/target/debug/deps/libindexmap-3e1c12e9aea03bff.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-0d93473d2408aace.rlib" "/opt/rustwide/target/debug/deps/libos_str_bytes-56cfb24942b83237.rlib" "/opt/rustwide/target/debug/deps/libmemchr-861526ed37360949.rlib" "/opt/rustwide/target/debug/deps/libbitflags-cdb2c01532690346.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f9a0da43d2ca70df.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nes_platform-a30e7634fbca83b1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nes-platform` due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "385bad6f20be282737ec167fef15921463735d485849a1f0d48184534820e12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "385bad6f20be282737ec167fef15921463735d485849a1f0d48184534820e12a", kill_on_drop: false }` [INFO] [stdout] 385bad6f20be282737ec167fef15921463735d485849a1f0d48184534820e12a