[INFO] cloning repository https://github.com/ben-kahl/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/ben-kahl/rust-nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben-kahl%2Frust-nes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben-kahl%2Frust-nes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 56c4dd6a8e4863d0e410280eabdda2aa823aed56
[INFO] checking ben-kahl/rust-nes against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben-kahl%2Frust-nes" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ben-kahl/rust-nes
[INFO] finished tweaking git repo https://github.com/ben-kahl/rust-nes
[INFO] tweaked toml for git repo https://github.com/ben-kahl/rust-nes written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ben-kahl/rust-nes on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ben-kahl/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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded version-compare v0.1.1
[INFO] [stderr]   Downloaded sdl2 v0.37.0
[INFO] [stderr]   Downloaded syn v2.0.75
[INFO] [stderr]   Downloaded libc v0.2.158
[INFO] [stderr]   Downloaded sdl2-sys v0.37.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b7139d513cd595f68e6af5a9cb3fa37a4a2ffec36201d847e0bce14978d4e99a
[INFO] running `Command { std: "docker" "start" "-a" "b7139d513cd595f68e6af5a9cb3fa37a4a2ffec36201d847e0bce14978d4e99a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7139d513cd595f68e6af5a9cb3fa37a4a2ffec36201d847e0bce14978d4e99a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7139d513cd595f68e6af5a9cb3fa37a4a2ffec36201d847e0bce14978d4e99a", kill_on_drop: false }`
[INFO] [stdout] b7139d513cd595f68e6af5a9cb3fa37a4a2ffec36201d847e0bce14978d4e99a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95b8408171d6ed8f831bbcd9807d7e929be3b9b9a5d5f93baf8855f342b454c3
[INFO] running `Command { std: "docker" "start" "-a" "95b8408171d6ed8f831bbcd9807d7e929be3b9b9a5d5f93baf8855f342b454c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rust-nes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::Duration;
[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::time::Duration`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::Duration;
[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/cpu.rs:540:44
[INFO] [stdout]     |
[INFO] [stdout] 540 |     pub fn run_with_callback<F>(&mut self, mut callback: F) 
[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: `callback`
[INFO] [stdout]    --> src/cpu.rs:540:44
[INFO] [stdout]     |
[INFO] [stdout] 540 |     pub fn run_with_callback<F>(&mut self, mut callback: F) 
[INFO] [stdout]     |                                            ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cpu.rs:783:29
[INFO] [stdout]     |
[INFO] [stdout] 783 |        assert!(cpu.status & 0b0000_0010 == 0b00);
[INFO] [stdout]     |                ----------   ^^^^^^^^^^^ expected `CpuFlags`, found integer
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected because this is `CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `cpu::CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] 783 |        assert!(cpu.status & cpu::CpuFlags { bits: 0b0000_0010 } == 0b00);
[INFO] [stdout]     |                             +++++++++++++++++++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cpu.rs:783:44
[INFO] [stdout]     |
[INFO] [stdout] 783 |        assert!(cpu.status & 0b0000_0010 == 0b00);
[INFO] [stdout]     |                ------------------------    ^^^^ expected `CpuFlags`, found integer
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected because this is `CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `cpu::CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] 783 |        assert!(cpu.status & 0b0000_0010 == cpu::CpuFlags { bits: 0b00 });
[INFO] [stdout]     |                                            +++++++++++++++++++++      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cpu.rs:784:29
[INFO] [stdout]     |
[INFO] [stdout] 784 |        assert!(cpu.status & 0b1000_0000 == 0);
[INFO] [stdout]     |                ----------   ^^^^^^^^^^^ expected `CpuFlags`, found integer
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected because this is `CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `cpu::CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] 784 |        assert!(cpu.status & cpu::CpuFlags { bits: 0b1000_0000 } == 0);
[INFO] [stdout]     |                             +++++++++++++++++++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cpu.rs:784:44
[INFO] [stdout]     |
[INFO] [stdout] 784 |        assert!(cpu.status & 0b1000_0000 == 0);
[INFO] [stdout]     |                ------------------------    ^ expected `CpuFlags`, found integer
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected because this is `CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `cpu::CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] 784 |        assert!(cpu.status & 0b1000_0000 == cpu::CpuFlags { bits: 0 });
[INFO] [stdout]     |                                            +++++++++++++++++++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cpu.rs:792:30
[INFO] [stdout]     |
[INFO] [stdout] 792 |         assert!(cpu.status & 0b0000_0010 == 0b10);
[INFO] [stdout]     |                 ----------   ^^^^^^^^^^^ expected `CpuFlags`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 expected because this is `CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `cpu::CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] 792 |         assert!(cpu.status & cpu::CpuFlags { bits: 0b0000_0010 } == 0b10);
[INFO] [stdout]     |                              +++++++++++++++++++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cpu.rs:792:45
[INFO] [stdout]     |
[INFO] [stdout] 792 |         assert!(cpu.status & 0b0000_0010 == 0b10);
[INFO] [stdout]     |                 ------------------------    ^^^^ expected `CpuFlags`, found integer
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 expected because this is `CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `cpu::CpuFlags`
[INFO] [stdout]     |
[INFO] [stdout] 792 |         assert!(cpu.status & 0b0000_0010 == cpu::CpuFlags { bits: 0b10 });
[INFO] [stdout]     |                                             +++++++++++++++++++++      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:540:44
[INFO] [stdout]     |
[INFO] [stdout] 540 |     pub fn run_with_callback<F>(&mut self, mut callback: F) 
[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: `callback`
[INFO] [stdout]    --> src/cpu.rs:540:44
[INFO] [stdout]     |
[INFO] [stdout] 540 |     pub fn run_with_callback<F>(&mut self, mut callback: F) 
[INFO] [stdout]     |                                            ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-nes` (bin "rust-nes" test) due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "95b8408171d6ed8f831bbcd9807d7e929be3b9b9a5d5f93baf8855f342b454c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95b8408171d6ed8f831bbcd9807d7e929be3b9b9a5d5f93baf8855f342b454c3", kill_on_drop: false }`
[INFO] [stdout] 95b8408171d6ed8f831bbcd9807d7e929be3b9b9a5d5f93baf8855f342b454c3
