[INFO] cloning repository https://github.com/klgauthier/rust-nes-emu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/klgauthier/rust-nes-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklgauthier%2Frust-nes-emu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklgauthier%2Frust-nes-emu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9af7e7358aeccf3855e12345540fd3327599de2
[INFO] checking klgauthier/rust-nes-emu against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklgauthier%2Frust-nes-emu" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/klgauthier/rust-nes-emu
[INFO] finished tweaking git repo https://github.com/klgauthier/rust-nes-emu
[INFO] tweaked toml for git repo https://github.com/klgauthier/rust-nes-emu written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/klgauthier/rust-nes-emu on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/klgauthier/rust-nes-emu 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d8cc16083afd893b8f782d6e6f3cb4d79827487a3aafc57a94ef1363f0ed9631
[INFO] running `Command { std: "docker" "start" "-a" "d8cc16083afd893b8f782d6e6f3cb4d79827487a3aafc57a94ef1363f0ed9631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d8cc16083afd893b8f782d6e6f3cb4d79827487a3aafc57a94ef1363f0ed9631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8cc16083afd893b8f782d6e6f3cb4d79827487a3aafc57a94ef1363f0ed9631", kill_on_drop: false }`
[INFO] [stdout] d8cc16083afd893b8f782d6e6f3cb4d79827487a3aafc57a94ef1363f0ed9631
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec3d6aebd251ce4b85017939d677cc73a9038686ea4e15d577e13c294cf16f4f
[INFO] running `Command { std: "docker" "start" "-a" "ec3d6aebd251ce4b85017939d677cc73a9038686ea4e15d577e13c294cf16f4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking chrono v0.4.42
[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 rust-nes-emu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Frame`
[INFO] [stdout]  --> src/graphics/ppu.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::graphics::frame::{Frame};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Frame`
[INFO] [stdout]  --> src/graphics/ppu.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::graphics::frame::{Frame};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut cpu = CPU::new();
[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: unused variable: `cpu`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut cpu = CPU::new();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_user_input` is never used
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn handle_user_input(cpu: &mut CPU, event_pump: &mut EventPump) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `color` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn color(byte: u8) -> Color {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_screen_state` is never used
[INFO] [stdout]    --> src/main.rs:136:4
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn read_screen_state(cpu: &mut CPU, frame: &mut [u8; 32*3*32]) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mask` is never read
[INFO] [stdout]   --> src/graphics/ppu.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     mask: MaskRegister,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_to_ppu_addr` and `write_to_ctrl` are never used
[INFO] [stdout]   --> src/graphics/ppu.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl PPU {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn write_to_ppu_addr(&mut self, value: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn write_to_ctrl(&mut self, value: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut cpu = CPU::new();
[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: unused variable: `cpu`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut cpu = CPU::new();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_user_input` is never used
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn handle_user_input(cpu: &mut CPU, event_pump: &mut EventPump) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `color` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn color(byte: u8) -> Color {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_screen_state` is never used
[INFO] [stdout]    --> src/main.rs:136:4
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn read_screen_state(cpu: &mut CPU, frame: &mut [u8; 32*3*32]) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mask` is never read
[INFO] [stdout]   --> src/graphics/ppu.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     mask: MaskRegister,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_to_ppu_addr` and `write_to_ctrl` are never used
[INFO] [stdout]   --> src/graphics/ppu.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl PPU {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn write_to_ppu_addr(&mut self, value: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn write_to_ctrl(&mut self, value: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s
[INFO] running `Command { std: "docker" "inspect" "ec3d6aebd251ce4b85017939d677cc73a9038686ea4e15d577e13c294cf16f4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec3d6aebd251ce4b85017939d677cc73a9038686ea4e15d577e13c294cf16f4f", kill_on_drop: false }`
[INFO] [stdout] ec3d6aebd251ce4b85017939d677cc73a9038686ea4e15d577e13c294cf16f4f
