[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstianeklund%2FNES" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stianeklund/NES on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded flexi_logger v0.14.8 [INFO] [stderr] Downloaded minifb v0.10.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbc36e8b5c012aac91472ab3610e0941025794f539cc63d151e39b67e98fa6f1 [INFO] running `Command { std: "docker" "start" "-a" "cbc36e8b5c012aac91472ab3610e0941025794f539cc63d151e39b67e98fa6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbc36e8b5c012aac91472ab3610e0941025794f539cc63d151e39b67e98fa6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc36e8b5c012aac91472ab3610e0941025794f539cc63d151e39b67e98fa6f1", kill_on_drop: false }` [INFO] [stdout] cbc36e8b5c012aac91472ab3610e0941025794f539cc63d151e39b67e98fa6f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afce9d69fc6a722c5b64052c0104ded8152304cea88eda5874cd1122b7d44e49 [INFO] running `Command { std: "docker" "start" "-a" "afce9d69fc6a722c5b64052c0104ded8152304cea88eda5874cd1122b7d44e49", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] num-integer v0.1.42: default, std [INFO] [stderr] num-traits v0.2.11: default, std [INFO] [stderr] [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] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking lazy_static v0.2.11 [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 x11-dl v2.14.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/memory.rs (2 fixes) [INFO] [stderr] Fixed src/rom.rs (3 fixes) [INFO] [stderr] Fixed src/ppu.rs (3 fixes) [INFO] [stderr] Fixed src/interconnect.rs (2 fixes) [INFO] [stderr] Fixed src/cpu.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (5 fixes) [INFO] [stderr] Fixed src/opcode.rs (1 fix) [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: 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: 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 `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 the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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 the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.73s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking flexi_logger v0.14.8 [INFO] [stderr] Checking nes v0.1.0 (/tmp/fixit) [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: 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 `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 the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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 the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "afce9d69fc6a722c5b64052c0104ded8152304cea88eda5874cd1122b7d44e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afce9d69fc6a722c5b64052c0104ded8152304cea88eda5874cd1122b7d44e49", kill_on_drop: false }` [INFO] [stdout] afce9d69fc6a722c5b64052c0104ded8152304cea88eda5874cd1122b7d44e49