[INFO] updating cached repository https://github.com/stianeklund/NES [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e0a0b3ceef3faaa704226e5705c21a63ad483998 [INFO] testing stianeklund/NES against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstianeklund%2FNES" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stianeklund/NES on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/stianeklund/NES already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] f40e7d310c407bb33e695f234d2eea4d1bac5eee500534e820663d967176f531 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "f40e7d310c407bb33e695f234d2eea4d1bac5eee500534e820663d967176f531"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] Compiling cc v1.0.50 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling 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] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling minifb v0.10.7 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling flexi_logger v0.14.8 [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `minifb` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use minifb; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FrameBuffer` [INFO] [stderr] --> src/cpu.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::ppu::{FrameBuffer, Ppu}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `warn` [INFO] [stderr] --> src/cpu.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{debug, error, info, warn}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ExecutionContext` [INFO] [stderr] --> src/interconnect.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::cpu::{ExecutionContext, Registers}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ppu::Ppu` [INFO] [stderr] --> src/interconnect.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ppu::Ppu; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cartridge`, `RomHeader` [INFO] [stderr] --> src/memory.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::rom::{Cartridge, RomHeader}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UpperHex` [INFO] [stderr] --> src/memory.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::{LowerHex, UpperHex}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::cpu::StatusRegister` [INFO] [stderr] --> src/opcode.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::cpu::StatusRegister; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Scale` [INFO] [stderr] --> src/ppu.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use minifb::{Scale, Window, WindowOptions}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interconnect` [INFO] [stderr] --> src/ppu.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::interconnect::{Interconnect, MemoryMapper}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::memory::Ram` [INFO] [stderr] --> src/rom.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::memory::Ram; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/rom.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RangeTo`, `Range` [INFO] [stderr] --> src/rom.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ops::{Range, RangeTo}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LogTarget`, `opt_format` [INFO] [stderr] --> src/main.rs:17:36 [INFO] [stderr] | [INFO] [stderr] 17 | use flexi_logger::{default_format, opt_format, LogTarget, Logger}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interconnect` [INFO] [stderr] --> src/main.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | use interconnect::{Interconnect, MemoryMapper}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `error`, `info` [INFO] [stderr] --> src/main.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | use log::{debug, error, info, warn}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/opcode.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | 0x64 => "DOP", [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ppu.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | let mut window = Window::new( [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `imm16` [INFO] [stderr] --> src/cpu.rs:217:8 [INFO] [stderr] | [INFO] [stderr] 217 | fn imm16(&self) -> AddressMode { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `brk` [INFO] [stderr] --> src/cpu.rs:659:8 [INFO] [stderr] | [INFO] [stderr] 659 | fn brk(&mut self) -> AddressMode { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cli` [INFO] [stderr] --> src/cpu.rs:692:8 [INFO] [stderr] | [INFO] [stderr] 692 | fn cli(&mut self, mode: AddressMode) -> AddressMode { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hlt` [INFO] [stderr] --> src/cpu.rs:773:8 [INFO] [stderr] | [INFO] [stderr] 773 | fn hlt(&self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sloa` [INFO] [stderr] --> src/cpu.rs:943:8 [INFO] [stderr] | [INFO] [stderr] 943 | fn sloa(&mut self, value: AddressMode) -> AddressMode { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `byte` [INFO] [stderr] --> src/interconnect.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | byte: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `address` [INFO] [stderr] --> src/interconnect.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | address: u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lookup` [INFO] [stderr] --> src/interconnect.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | lookup: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Interconnect` [INFO] [stderr] --> src/interconnect.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct Interconnect { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default` [INFO] [stderr] --> src/interconnect.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn default() -> Box { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/opcode.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | A, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `X` [INFO] [stderr] --> src/opcode.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | X, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Y` [INFO] [stderr] --> src/opcode.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Y, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default` [INFO] [stderr] --> src/opcode.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FrameBuffer` [INFO] [stderr] --> src/ppu.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct FrameBuffer { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `new` [INFO] [stderr] --> src/ppu.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn new() -> FrameBuffer { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `PpuDataBus` [INFO] [stderr] --> src/ppu.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct PpuDataBus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mask_addr` [INFO] [stderr] --> src/rom.rs:118:8 [INFO] [stderr] | [INFO] [stderr] 118 | fn mask_addr(&self, addr: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `retrieve_mapper_id` [INFO] [stderr] --> src/rom.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn retrieve_mapper_id(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_rom` [INFO] [stderr] --> src/rom.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn read_rom(&mut self, file: &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/ppu.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | / writeln!( [INFO] [stderr] 137 | | f, [INFO] [stderr] 138 | | "{}\t{}\t{}\t{}\t{}\t{}{}", [INFO] [stderr] 139 | | "CTRL", "MASK", "OAM", "DATA", "SCROLL", "ADDR\t", "DMA\t" [INFO] [stderr] 140 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 40 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.33s [INFO] running `"docker" "inspect" "f40e7d310c407bb33e695f234d2eea4d1bac5eee500534e820663d967176f531"` [INFO] running `"docker" "rm" "-f" "f40e7d310c407bb33e695f234d2eea4d1bac5eee500534e820663d967176f531"` [INFO] [stdout] f40e7d310c407bb33e695f234d2eea4d1bac5eee500534e820663d967176f531 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9810d4eaa0a1abd8e871eaca8f7ce4c5842b9a507c352549e09e088233ad26b6 [INFO] running `"docker" "start" "-a" "9810d4eaa0a1abd8e871eaca8f7ce4c5842b9a507c352549e09e088233ad26b6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `minifb` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use minifb; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FrameBuffer` [INFO] [stderr] --> src/cpu.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::ppu::{FrameBuffer, Ppu}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `warn` [INFO] [stderr] --> src/cpu.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{debug, error, info, warn}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ExecutionContext` [INFO] [stderr] --> src/interconnect.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::cpu::{ExecutionContext, Registers}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ppu::Ppu` [INFO] [stderr] --> src/interconnect.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ppu::Ppu; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cartridge`, `RomHeader` [INFO] [stderr] --> src/memory.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::rom::{Cartridge, RomHeader}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UpperHex` [INFO] [stderr] --> src/memory.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::{LowerHex, UpperHex}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::cpu::StatusRegister` [INFO] [stderr] --> src/opcode.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::cpu::StatusRegister; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Scale` [INFO] [stderr] --> src/ppu.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use minifb::{Scale, Window, WindowOptions}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interconnect` [INFO] [stderr] --> src/ppu.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::interconnect::{Interconnect, MemoryMapper}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::memory::Ram` [INFO] [stderr] --> src/rom.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::memory::Ram; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/rom.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RangeTo`, `Range` [INFO] [stderr] --> src/rom.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ops::{Range, RangeTo}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LogTarget`, `opt_format` [INFO] [stderr] --> src/main.rs:17:36 [INFO] [stderr] | [INFO] [stderr] 17 | use flexi_logger::{default_format, opt_format, LogTarget, Logger}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interconnect` [INFO] [stderr] --> src/main.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | use interconnect::{Interconnect, MemoryMapper}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `error`, `info` [INFO] [stderr] --> src/main.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | use log::{debug, error, info, warn}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/opcode.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | 0x64 => "DOP", [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ppu.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | let mut window = Window::new( [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `imm16` [INFO] [stderr] --> src/cpu.rs:217:8 [INFO] [stderr] | [INFO] [stderr] 217 | fn imm16(&self) -> AddressMode { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `brk` [INFO] [stderr] --> src/cpu.rs:659:8 [INFO] [stderr] | [INFO] [stderr] 659 | fn brk(&mut self) -> AddressMode { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cli` [INFO] [stderr] --> src/cpu.rs:692:8 [INFO] [stderr] | [INFO] [stderr] 692 | fn cli(&mut self, mode: AddressMode) -> AddressMode { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hlt` [INFO] [stderr] --> src/cpu.rs:773:8 [INFO] [stderr] | [INFO] [stderr] 773 | fn hlt(&self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sloa` [INFO] [stderr] --> src/cpu.rs:943:8 [INFO] [stderr] | [INFO] [stderr] 943 | fn sloa(&mut self, value: AddressMode) -> AddressMode { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `byte` [INFO] [stderr] --> src/interconnect.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | byte: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `address` [INFO] [stderr] --> src/interconnect.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | address: u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lookup` [INFO] [stderr] --> src/interconnect.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | lookup: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Interconnect` [INFO] [stderr] --> src/interconnect.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct Interconnect { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default` [INFO] [stderr] --> src/interconnect.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn default() -> Box { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/opcode.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | A, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `X` [INFO] [stderr] --> src/opcode.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | X, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Y` [INFO] [stderr] --> src/opcode.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Y, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default` [INFO] [stderr] --> src/opcode.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FrameBuffer` [INFO] [stderr] --> src/ppu.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct FrameBuffer { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `new` [INFO] [stderr] --> src/ppu.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn new() -> FrameBuffer { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `PpuDataBus` [INFO] [stderr] --> src/ppu.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct PpuDataBus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mask_addr` [INFO] [stderr] --> src/rom.rs:118:8 [INFO] [stderr] | [INFO] [stderr] 118 | fn mask_addr(&self, addr: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `retrieve_mapper_id` [INFO] [stderr] --> src/rom.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn retrieve_mapper_id(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_rom` [INFO] [stderr] --> src/rom.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn read_rom(&mut self, file: &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/ppu.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | / writeln!( [INFO] [stderr] 137 | | f, [INFO] [stderr] 138 | | "{}\t{}\t{}\t{}\t{}\t{}{}", [INFO] [stderr] 139 | | "CTRL", "MASK", "OAM", "DATA", "SCROLL", "ADDR\t", "DMA\t" [INFO] [stderr] 140 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 40 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `"docker" "inspect" "9810d4eaa0a1abd8e871eaca8f7ce4c5842b9a507c352549e09e088233ad26b6"` [INFO] running `"docker" "rm" "-f" "9810d4eaa0a1abd8e871eaca8f7ce4c5842b9a507c352549e09e088233ad26b6"` [INFO] [stdout] 9810d4eaa0a1abd8e871eaca8f7ce4c5842b9a507c352549e09e088233ad26b6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8de015caa40df583fcf9e1389e53be2a6861ab28a389ae55c0dd0c8c63f4df1d [INFO] running `"docker" "start" "-a" "8de015caa40df583fcf9e1389e53be2a6861ab28a389ae55c0dd0c8c63f4df1d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused import: `minifb` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use minifb; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FrameBuffer` [INFO] [stderr] --> src/cpu.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::ppu::{FrameBuffer, Ppu}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `warn` [INFO] [stderr] --> src/cpu.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{debug, error, info, warn}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ExecutionContext` [INFO] [stderr] --> src/interconnect.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::cpu::{ExecutionContext, Registers}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ppu::Ppu` [INFO] [stderr] --> src/interconnect.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ppu::Ppu; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cartridge`, `RomHeader` [INFO] [stderr] --> src/memory.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::rom::{Cartridge, RomHeader}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UpperHex` [INFO] [stderr] --> src/memory.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::{LowerHex, UpperHex}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::cpu::StatusRegister` [INFO] [stderr] --> src/opcode.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::cpu::StatusRegister; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Scale` [INFO] [stderr] --> src/ppu.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use minifb::{Scale, Window, WindowOptions}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interconnect` [INFO] [stderr] --> src/ppu.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::interconnect::{Interconnect, MemoryMapper}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::memory::Ram` [INFO] [stderr] --> src/rom.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::memory::Ram; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/rom.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RangeTo`, `Range` [INFO] [stderr] --> src/rom.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ops::{Range, RangeTo}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LogTarget`, `opt_format` [INFO] [stderr] --> src/main.rs:17:36 [INFO] [stderr] | [INFO] [stderr] 17 | use flexi_logger::{default_format, opt_format, LogTarget, Logger}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interconnect` [INFO] [stderr] --> src/main.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | use interconnect::{Interconnect, MemoryMapper}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `error`, `info` [INFO] [stderr] --> src/main.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | use log::{debug, error, info, warn}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/opcode.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | 0x64 => "DOP", [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ppu.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | let mut window = Window::new( [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `imm16` [INFO] [stderr] --> src/cpu.rs:217:8 [INFO] [stderr] | [INFO] [stderr] 217 | fn imm16(&self) -> AddressMode { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `brk` [INFO] [stderr] --> src/cpu.rs:659:8 [INFO] [stderr] | [INFO] [stderr] 659 | fn brk(&mut self) -> AddressMode { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cli` [INFO] [stderr] --> src/cpu.rs:692:8 [INFO] [stderr] | [INFO] [stderr] 692 | fn cli(&mut self, mode: AddressMode) -> AddressMode { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hlt` [INFO] [stderr] --> src/cpu.rs:773:8 [INFO] [stderr] | [INFO] [stderr] 773 | fn hlt(&self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sloa` [INFO] [stderr] --> src/cpu.rs:943:8 [INFO] [stderr] | [INFO] [stderr] 943 | fn sloa(&mut self, value: AddressMode) -> AddressMode { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `byte` [INFO] [stderr] --> src/interconnect.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | byte: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `address` [INFO] [stderr] --> src/interconnect.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | address: u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lookup` [INFO] [stderr] --> src/interconnect.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | lookup: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Interconnect` [INFO] [stderr] --> src/interconnect.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct Interconnect { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default` [INFO] [stderr] --> src/interconnect.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn default() -> Box { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/opcode.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | A, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `X` [INFO] [stderr] --> src/opcode.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | X, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Y` [INFO] [stderr] --> src/opcode.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Y, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default` [INFO] [stderr] --> src/opcode.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FrameBuffer` [INFO] [stderr] --> src/ppu.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct FrameBuffer { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `new` [INFO] [stderr] --> src/ppu.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn new() -> FrameBuffer { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `PpuDataBus` [INFO] [stderr] --> src/ppu.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct PpuDataBus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mask_addr` [INFO] [stderr] --> src/rom.rs:118:8 [INFO] [stderr] | [INFO] [stderr] 118 | fn mask_addr(&self, addr: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `retrieve_mapper_id` [INFO] [stderr] --> src/rom.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn retrieve_mapper_id(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_rom` [INFO] [stderr] --> src/rom.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn read_rom(&mut self, file: &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/ppu.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | / writeln!( [INFO] [stderr] 137 | | f, [INFO] [stderr] 138 | | "{}\t{}\t{}\t{}\t{}\t{}{}", [INFO] [stderr] 139 | | "CTRL", "MASK", "OAM", "DATA", "SCROLL", "ADDR\t", "DMA\t" [INFO] [stderr] 140 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 40 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/nes-c3fa8deb0db55857 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "8de015caa40df583fcf9e1389e53be2a6861ab28a389ae55c0dd0c8c63f4df1d"` [INFO] running `"docker" "rm" "-f" "8de015caa40df583fcf9e1389e53be2a6861ab28a389ae55c0dd0c8c63f4df1d"` [INFO] [stdout] 8de015caa40df583fcf9e1389e53be2a6861ab28a389ae55c0dd0c8c63f4df1d