[INFO] cloning repository https://github.com/stianeklund/NES [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stianeklund/NES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstianeklund%2FNES", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstianeklund%2FNES'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0a0b3ceef3faaa704226e5705c21a63ad483998 [INFO] checking stianeklund/NES against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstianeklund%2FNES" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stianeklund/NES on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stianeklund/NES [INFO] finished tweaking git repo https://github.com/stianeklund/NES [INFO] tweaked toml for git repo https://github.com/stianeklund/NES written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/stianeklund/NES already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] d16716f7244a12e9707a455bcf813b81d5b5b7135ee37270cf52a22652693182 [INFO] running `Command { std: "docker" "start" "-a" "d16716f7244a12e9707a455bcf813b81d5b5b7135ee37270cf52a22652693182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d16716f7244a12e9707a455bcf813b81d5b5b7135ee37270cf52a22652693182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16716f7244a12e9707a455bcf813b81d5b5b7135ee37270cf52a22652693182", kill_on_drop: false }` [INFO] [stdout] d16716f7244a12e9707a455bcf813b81d5b5b7135ee37270cf52a22652693182 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 3c0eff9bfe12e8e1474c91cd08ab31dbf9bf0948604387661882260140f7394c [INFO] running `Command { std: "docker" "start" "-a" "3c0eff9bfe12e8e1474c91cd08ab31dbf9bf0948604387661882260140f7394c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling minifb v0.10.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking flexi_logger v0.14.8 [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `minifb` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use minifb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameBuffer` [INFO] [stdout] --> src/cpu.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ppu::{FrameBuffer, Ppu}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/cpu.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutionContext` [INFO] [stdout] --> src/interconnect.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::{ExecutionContext, Registers}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/interconnect.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cartridge`, `RomHeader` [INFO] [stdout] --> src/memory.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rom::{Cartridge, RomHeader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpperHex` [INFO] [stdout] --> src/memory.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{LowerHex, UpperHex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::StatusRegister` [INFO] [stdout] --> src/opcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::StatusRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scale` [INFO] [stdout] --> src/ppu.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use minifb::{Scale, Window, WindowOptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interconnect` [INFO] [stdout] --> src/ppu.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::interconnect::{Interconnect, MemoryMapper}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory::Ram` [INFO] [stdout] --> src/rom.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::memory::Ram; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/rom.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeTo`, `Range` [INFO] [stdout] --> src/rom.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Range, RangeTo}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogTarget`, `opt_format` [INFO] [stdout] --> src/main.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | use flexi_logger::{default_format, opt_format, LogTarget, Logger}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interconnect` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use interconnect::{Interconnect, MemoryMapper}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `minifb` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use minifb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameBuffer` [INFO] [stdout] --> src/cpu.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ppu::{FrameBuffer, Ppu}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/cpu.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutionContext` [INFO] [stdout] --> src/interconnect.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::{ExecutionContext, Registers}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/interconnect.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cartridge`, `RomHeader` [INFO] [stdout] --> src/memory.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rom::{Cartridge, RomHeader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpperHex` [INFO] [stdout] --> src/memory.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{LowerHex, UpperHex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::StatusRegister` [INFO] [stdout] --> src/opcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::StatusRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scale` [INFO] [stdout] --> src/ppu.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use minifb::{Scale, Window, WindowOptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interconnect` [INFO] [stdout] --> src/ppu.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::interconnect::{Interconnect, MemoryMapper}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory::Ram` [INFO] [stdout] --> src/rom.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::memory::Ram; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/rom.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeTo`, `Range` [INFO] [stdout] --> src/rom.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Range, RangeTo}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogTarget`, `opt_format` [INFO] [stdout] --> src/main.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | use flexi_logger::{default_format, opt_format, LogTarget, Logger}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interconnect` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use interconnect::{Interconnect, MemoryMapper}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/opcode.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | 0x64 => "DOP", [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/opcode.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | 0x64 => "DOP", [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ppu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut window = Window::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `imm16` [INFO] [stdout] --> src/cpu.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn imm16(&self) -> AddressMode { [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: `brk` [INFO] [stdout] --> src/cpu.rs:659:8 [INFO] [stdout] | [INFO] [stdout] 659 | fn brk(&mut self) -> AddressMode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cli` [INFO] [stdout] --> src/cpu.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | fn cli(&mut self, mode: AddressMode) -> AddressMode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hlt` [INFO] [stdout] --> src/cpu.rs:773:8 [INFO] [stdout] | [INFO] [stdout] 773 | fn hlt(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sloa` [INFO] [stdout] --> src/cpu.rs:943:8 [INFO] [stdout] | [INFO] [stdout] 943 | fn sloa(&mut self, value: AddressMode) -> AddressMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byte` [INFO] [stdout] --> src/interconnect.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | byte: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/interconnect.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | address: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lookup` [INFO] [stdout] --> src/interconnect.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | lookup: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Interconnect` [INFO] [stdout] --> src/interconnect.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Interconnect { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/interconnect.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn default() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/opcode.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | A, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/opcode.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | X, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/opcode.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Y, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/opcode.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FrameBuffer` [INFO] [stdout] --> src/ppu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FrameBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new` [INFO] [stdout] --> src/ppu.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new() -> FrameBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PpuDataBus` [INFO] [stdout] --> src/ppu.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct PpuDataBus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mask_addr` [INFO] [stdout] --> src/rom.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn mask_addr(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `retrieve_mapper_id` [INFO] [stdout] --> src/rom.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn retrieve_mapper_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_rom` [INFO] [stdout] --> src/rom.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn read_rom(&mut self, file: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ppu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut window = Window::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `imm16` [INFO] [stdout] --> src/cpu.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn imm16(&self) -> AddressMode { [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: `brk` [INFO] [stdout] --> src/cpu.rs:659:8 [INFO] [stdout] | [INFO] [stdout] 659 | fn brk(&mut self) -> AddressMode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cli` [INFO] [stdout] --> src/cpu.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | fn cli(&mut self, mode: AddressMode) -> AddressMode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hlt` [INFO] [stdout] --> src/cpu.rs:773:8 [INFO] [stdout] | [INFO] [stdout] 773 | fn hlt(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sloa` [INFO] [stdout] --> src/cpu.rs:943:8 [INFO] [stdout] | [INFO] [stdout] 943 | fn sloa(&mut self, value: AddressMode) -> AddressMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byte` [INFO] [stdout] --> src/interconnect.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | byte: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/interconnect.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | address: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lookup` [INFO] [stdout] --> src/interconnect.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | lookup: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Interconnect` [INFO] [stdout] --> src/interconnect.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Interconnect { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/interconnect.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn default() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/opcode.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | A, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/opcode.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | X, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/opcode.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Y, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/opcode.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FrameBuffer` [INFO] [stdout] --> src/ppu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FrameBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new` [INFO] [stdout] --> src/ppu.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new() -> FrameBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PpuDataBus` [INFO] [stdout] --> src/ppu.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct PpuDataBus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mask_addr` [INFO] [stdout] --> src/rom.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn mask_addr(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `retrieve_mapper_id` [INFO] [stdout] --> src/rom.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn retrieve_mapper_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_rom` [INFO] [stdout] --> src/rom.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn read_rom(&mut self, file: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ppu.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / writeln!( [INFO] [stdout] 137 | | f, [INFO] [stdout] 138 | | "{}\t{}\t{}\t{}\t{}\t{}{}", [INFO] [stdout] 139 | | "CTRL", "MASK", "OAM", "DATA", "SCROLL", "ADDR\t", "DMA\t" [INFO] [stdout] 140 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ppu.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / writeln!( [INFO] [stdout] 137 | | f, [INFO] [stdout] 138 | | "{}\t{}\t{}\t{}\t{}\t{}{}", [INFO] [stdout] 139 | | "CTRL", "MASK", "OAM", "DATA", "SCROLL", "ADDR\t", "DMA\t" [INFO] [stdout] 140 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.26s [INFO] running `Command { std: "docker" "inspect" "3c0eff9bfe12e8e1474c91cd08ab31dbf9bf0948604387661882260140f7394c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c0eff9bfe12e8e1474c91cd08ab31dbf9bf0948604387661882260140f7394c", kill_on_drop: false }` [INFO] [stdout] 3c0eff9bfe12e8e1474c91cd08ab31dbf9bf0948604387661882260140f7394c