[INFO] cloning repository https://github.com/theonlytruealex/nes_emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theonlytruealex/nes_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheonlytruealex%2Fnes_emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheonlytruealex%2Fnes_emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1aa496d8b09fe10b6244d6debd2499c1baa544c
[INFO] checking theonlytruealex/nes_emulator against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheonlytruealex%2Fnes_emulator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/theonlytruealex/nes_emulator
[INFO] finished tweaking git repo https://github.com/theonlytruealex/nes_emulator
[INFO] tweaked toml for git repo https://github.com/theonlytruealex/nes_emulator written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/theonlytruealex/nes_emulator on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/theonlytruealex/nes_emulator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2 v0.34.5
[INFO] [stderr]   Downloaded sdl2-sys v0.34.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df
[INFO] running `Command { std: "docker" "start" "19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]    Compiling sdl2-sys v0.34.5
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking nes_emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:431:13
[INFO] [stdout]     |
[INFO] [stdout] 431 |         let mut addr: u16 = self.get_operand_address(mode);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:432:13
[INFO] [stdout]     |
[INFO] [stdout] 432 |         let mut value = self.mem_read(addr);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:445:13
[INFO] [stdout]     |
[INFO] [stdout] 445 |         let mut addr: u16 = self.get_operand_address(mode);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:446:13
[INFO] [stdout]     |
[INFO] [stdout] 446 |         let mut value = self.mem_read(addr);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unused` is never constructed
[INFO] [stdout]   --> src/constants.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum StatusFlag {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     Unused = 0b0010_0000,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cycles` is never read
[INFO] [stdout]   --> src/constants.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct OpCode {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub cycles: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_and_run` and `run` are never used
[INFO] [stdout]    --> src/cpu.rs:690:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 690 |     pub fn load_and_run(&mut self, program: Vec<u8>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 696 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RAM` is never used
[INFO] [stdout]  --> src/bus.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const RAM: u16 = 0x0000;
[INFO] [stdout]   |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RAM_MIRRORS_END` is never used
[INFO] [stdout]  --> src/bus.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const RAM_MIRRORS_END: u16 = 0x1FFF;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_REGISTERS` is never used
[INFO] [stdout]  --> src/bus.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const PPU_REGISTERS: u16 = 0x2000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_REGISTERS_MIRRORS_END` is never used
[INFO] [stdout]  --> src/bus.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const PPU_REGISTERS_MIRRORS_END: u16 = 0x3FFF;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bus` is never constructed
[INFO] [stdout]  --> src/bus.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Bus {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bus.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Bus {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:431:13
[INFO] [stdout]     |
[INFO] [stdout] 431 |         let mut addr: u16 = self.get_operand_address(mode);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:432:13
[INFO] [stdout]     |
[INFO] [stdout] 432 |         let mut value = self.mem_read(addr);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:445:13
[INFO] [stdout]     |
[INFO] [stdout] 445 |         let mut addr: u16 = self.get_operand_address(mode);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:446:13
[INFO] [stdout]     |
[INFO] [stdout] 446 |         let mut value = self.mem_read(addr);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unused` is never constructed
[INFO] [stdout]   --> src/constants.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum StatusFlag {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     Unused = 0b0010_0000,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cycles` is never read
[INFO] [stdout]   --> src/constants.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct OpCode {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub cycles: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_and_run` and `run` are never used
[INFO] [stdout]    --> src/cpu.rs:690:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 690 |     pub fn load_and_run(&mut self, program: Vec<u8>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 696 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RAM` is never used
[INFO] [stdout]  --> src/bus.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const RAM: u16 = 0x0000;
[INFO] [stdout]   |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RAM_MIRRORS_END` is never used
[INFO] [stdout]  --> src/bus.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const RAM_MIRRORS_END: u16 = 0x1FFF;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_REGISTERS` is never used
[INFO] [stdout]  --> src/bus.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const PPU_REGISTERS: u16 = 0x2000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_REGISTERS_MIRRORS_END` is never used
[INFO] [stdout]  --> src/bus.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const PPU_REGISTERS_MIRRORS_END: u16 = 0x3FFF;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bus` is never constructed
[INFO] [stdout]  --> src/bus.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Bus {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bus.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Bus {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.18s
[INFO] running `Command { std: "docker" "inspect" "19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df", kill_on_drop: false }`
[INFO] [stdout] 19e46aaab4f5cece92d45f4b520fb5d13bf53b0b40f2f0ad4de53d9ca0c803df
