[INFO] cloning repository https://github.com/ericwoude/nes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericwoude/nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericwoude%2Fnes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericwoude%2Fnes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dbbaa36d8df75f2a800a84acd81a2975b2a35bf5
[INFO] checking ericwoude/nes against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericwoude%2Fnes" "/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/ericwoude/nes
[INFO] finished tweaking git repo https://github.com/ericwoude/nes
[INFO] tweaked toml for git repo https://github.com/ericwoude/nes written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ericwoude/nes on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ericwoude/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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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 proc-macro2 v1.0.65
[INFO] [stderr]   Downloaded test-generator v0.3.1
[INFO] [stderr]   Downloaded quote v1.0.30
[INFO] [stderr]   Downloaded serde_json v1.0.103
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc
[INFO] running `Command { std: "docker" "start" "c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc", 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" "c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc", 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" "c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.65
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling quote v1.0.30
[INFO] [stderr]    Compiling serde v1.0.171
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling serde_json v1.0.103
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]     Checking nes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/cpu.rs:557:57
[INFO] [stdout]     |
[INFO] [stdout] 557 |         if instruction.addressmode as usize != Cpu::imp as usize {
[INFO] [stdout]     |                                                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 557 |         if instruction.addressmode as usize != Cpu::imp as *const () as usize {
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/cpu.rs:619:60
[INFO] [stdout]     |
[INFO] [stdout] 619 |         if (instruction.addressmode as usize) == (Cpu::imp as usize) {
[INFO] [stdout]     |                                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 619 |         if (instruction.addressmode as usize) == (Cpu::imp as *const () as usize) {
[INFO] [stdout]     |                                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/cpu.rs:700:60
[INFO] [stdout]     |
[INFO] [stdout] 700 |         if (instruction.addressmode as usize) == (Cpu::imp as usize) {
[INFO] [stdout]     |                                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 700 |         if (instruction.addressmode as usize) == (Cpu::imp as *const () as usize) {
[INFO] [stdout]     |                                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/cpu.rs:766:60
[INFO] [stdout]     |
[INFO] [stdout] 766 |         if (instruction.addressmode as usize) == (Cpu::imp as usize) {
[INFO] [stdout]     |                                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 766 |         if (instruction.addressmode as usize) == (Cpu::imp as *const () as usize) {
[INFO] [stdout]     |                                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/cpu.rs:838:60
[INFO] [stdout]     |
[INFO] [stdout] 838 |         if (instruction.addressmode as usize) == (Cpu::imp as usize) {
[INFO] [stdout]     |                                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 838 |         if (instruction.addressmode as usize) == (Cpu::imp as *const () as usize) {
[INFO] [stdout]     |                                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling syn v2.0.26
[INFO] [stderr]    Compiling serde_derive v1.0.171
[INFO] [stderr]    Compiling test-generator v0.3.1
[INFO] [stdout] error: custom attribute panicked
[INFO] [stdout]     --> src/cpu.rs:1363:5
[INFO] [stdout]      |
[INFO] [stdout] 1363 |     #[test_resources("tests/*.json")]
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: message: no resource matching the pattern tests/*.json
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]     --> src/cpu.rs:1338:9
[INFO] [stdout]      |
[INFO] [stdout] 1338 |     use std::fs::File;
[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: `std::io::BufReader`
[INFO] [stdout]     --> src/cpu.rs:1339:9
[INFO] [stdout]      |
[INFO] [stdout] 1339 |     use std::io::BufReader;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bus::Bus`
[INFO] [stdout]     --> src/cpu.rs:1341:9
[INFO] [stdout]      |
[INFO] [stdout] 1341 |     use crate::bus::Bus;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cpu::Cpu`
[INFO] [stdout]     --> src/cpu.rs:1342:9
[INFO] [stdout]      |
[INFO] [stdout] 1342 |     use crate::cpu::Cpu;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nes` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc", kill_on_drop: false }`
[INFO] [stdout] c6dc5c636b40f7c6b2a10b2180ac6c2f31fb36a5927fbc63ab35a11da0f557cc
