[INFO] cloning repository https://github.com/renanferr/rust_nes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/renanferr/rust_nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenanferr%2Frust_nes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenanferr%2Frust_nes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d3759881b89318921aecfaf2e794c740cd14e2c9
[INFO] checking renanferr/rust_nes against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenanferr%2Frust_nes" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/renanferr/rust_nes
[INFO] finished tweaking git repo https://github.com/renanferr/rust_nes
[INFO] tweaked toml for git repo https://github.com/renanferr/rust_nes written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/renanferr/rust_nes on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/renanferr/rust_nes 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4
[INFO] running `Command { std: "docker" "start" "5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4", 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" "5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4", 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" "5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking pixel_engine v0.0.9
[INFO] [stderr]     Checking rust_nes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/nes/cpu.rs:120:59
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let lo: u16 = self.read(self.addr_abs + 0).into();;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/nes/cpu.rs:121:59
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let hi: u16 = self.read(self.addr_abs + 1).into();;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::cpu::CPU6502`
[INFO] [stdout]  --> src/nes/bus.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::cpu::CPU6502;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/nes/cpu.rs:120:59
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let lo: u16 = self.read(self.addr_abs + 0).into();;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/nes/cpu.rs:121:59
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let hi: u16 = self.read(self.addr_abs + 1).into();;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::cpu::CPU6502`
[INFO] [stdout]  --> src/nes/bus.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::cpu::CPU6502;
[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 variable: `b_read_only`
[INFO] [stdout]   --> src/nes/bus.rs:23:35
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn read(&self, addr: u16, b_read_only: bool) -> u8 {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_read_only`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b_read_only`
[INFO] [stdout]   --> src/nes/bus.rs:23:35
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn read(&self, addr: u16, b_read_only: bool) -> u8 {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_read_only`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Flags` is never used
[INFO] [stdout]   --> src/nes/cpu.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | trait Flags {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Flags` is never used
[INFO] [stdout]   --> src/nes/cpu.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | trait Flags {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flags6502` is never constructed
[INFO] [stdout]   --> src/nes/cpu.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Flags6502;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `INSTRUCTION` is never constructed
[INFO] [stdout]   --> src/nes/cpu.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct INSTRUCTION {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/nes/cpu.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct CPU6502 {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 59 |     a: u8,      // accumulator register
[INFO] [stdout]    |     ^
[INFO] [stdout] 60 |     x: u8,      // x register
[INFO] [stdout]    |     ^
[INFO] [stdout] 61 |     y: u8,      // y register
[INFO] [stdout]    |     ^
[INFO] [stdout] 62 |     stkp: u8,   // stack pointer
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 63 |     pc: u16,    // program counter
[INFO] [stdout]    |     ^^
[INFO] [stdout] 64 |     status: u8, // status register
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 65 |
[INFO] [stdout] 66 |     fetched: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 67 |     temp: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 68 |     addr_abs: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 69 |     addr_rel: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 70 |     opcode: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 71 |     cycles: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 72 |     clock_count: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/nes/cpu.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl CPU6502 {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn connect_bus(&mut self, b: Bus) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn get_flag(&self, f: u8) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn set_flag(&mut self, f: u8, v: bool) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn irq(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn nmi(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn clock(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flags6502` is never constructed
[INFO] [stdout]   --> src/nes/cpu.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Flags6502;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `INSTRUCTION` is never constructed
[INFO] [stdout]   --> src/nes/cpu.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct INSTRUCTION {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/nes/cpu.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct CPU6502 {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 59 |     a: u8,      // accumulator register
[INFO] [stdout]    |     ^
[INFO] [stdout] 60 |     x: u8,      // x register
[INFO] [stdout]    |     ^
[INFO] [stdout] 61 |     y: u8,      // y register
[INFO] [stdout]    |     ^
[INFO] [stdout] 62 |     stkp: u8,   // stack pointer
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 63 |     pc: u16,    // program counter
[INFO] [stdout]    |     ^^
[INFO] [stdout] 64 |     status: u8, // status register
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 65 |
[INFO] [stdout] 66 |     fetched: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 67 |     temp: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 68 |     addr_abs: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 69 |     addr_rel: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 70 |     opcode: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 71 |     cycles: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 72 |     clock_count: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/nes/cpu.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl CPU6502 {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn connect_bus(&mut self, b: Bus) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn get_flag(&self, f: u8) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn set_flag(&mut self, f: u8, v: bool) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn irq(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn nmi(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn clock(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/nes/bus.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if addr >= 0x0000 && addr <= 0xFFFF {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.38s
[INFO] running `Command { std: "docker" "inspect" "5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4", kill_on_drop: false }`
[INFO] [stdout] 5e4335177639df554feaa685e85ab643907472cde2e55209cc226154be7962a4
