[INFO] cloning repository https://github.com/stexus/chip8
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stexus/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstexus%2Fchip8", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstexus%2Fchip8'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1ba308f36f23da8e1e79dcec3be302f21d0e3cdd
[INFO] checking stexus/chip8 against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstexus%2Fchip8" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/stexus/chip8
[INFO] finished tweaking git repo https://github.com/stexus/chip8
[INFO] tweaked toml for git repo https://github.com/stexus/chip8 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/stexus/chip8 on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/stexus/chip8 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: toolchain
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8cdaea4fb77c308d72eeef13e17652fdabe4433152967bba97956c13569cb9a4
[INFO] running `Command { std: "docker" "start" "-a" "8cdaea4fb77c308d72eeef13e17652fdabe4433152967bba97956c13569cb9a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8cdaea4fb77c308d72eeef13e17652fdabe4433152967bba97956c13569cb9a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cdaea4fb77c308d72eeef13e17652fdabe4433152967bba97956c13569cb9a4", kill_on_drop: false }`
[INFO] [stdout] 8cdaea4fb77c308d72eeef13e17652fdabe4433152967bba97956c13569cb9a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be4669eb3c949f6603af36e4bf93018b1890cba9e912fb68cf2140e4b60aa7dc
[INFO] running `Command { std: "docker" "start" "-a" "be4669eb3c949f6603af36e4bf93018b1890cba9e912fb68cf2140e4b60aa7dc", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: toolchain
[INFO] [stderr]     Checking chip8 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/hardware.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Mutex;
[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::sync::Mutex`
[INFO] [stdout]  --> src/hardware.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `w_pixels` and `v_pixels` are never read
[INFO] [stdout]  --> src/hardware.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Display {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 3 |     w_pixels: [bool; 64],
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     v_pixels: [bool; 32],
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `w_pixels` and `v_pixels` are never read
[INFO] [stdout]  --> src/hardware.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Display {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 3 |     w_pixels: [bool; 64],
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     v_pixels: [bool; 32],
[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 `sp` is never read
[INFO] [stdout]  --> src/hardware.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Memory {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 7 |     // byte-addressable, 4KB
[INFO] [stdout] 8 |     sp: u8,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sp` is never read
[INFO] [stdout]  --> src/hardware.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Memory {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 7 |     // byte-addressable, 4KB
[INFO] [stdout] 8 |     sp: u8,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `op`, `addr`, `nibble`, `x`, `y`, and `kk` are never read
[INFO] [stdout]   --> src/wires.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Instruction {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 44 |     op: Operation,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 45 |     addr: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 46 |     nibble: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 47 |     x: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 48 |     y: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 49 |     kk: u8,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `op`, `addr`, `nibble`, `x`, `y`, and `kk` are never read
[INFO] [stdout]   --> src/wires.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Instruction {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 44 |     op: Operation,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 45 |     addr: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 46 |     nibble: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 47 |     x: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 48 |     y: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 49 |     kk: u8,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |       match &nibbles[3] {
[INFO] [stdout]    |       ----------------- `match` arms have incompatible types
[INFO] [stdout] 44 |           0 => match (nibbles[1], nibbles[0]) {
[INFO] [stdout]    |  ______________-
[INFO] [stdout] 45 | |             (0xE, 0xE) => Instruction::new(Operation::RET, &nibbles),
[INFO] [stdout] 46 | |             (0xE, 0) => Instruction::new(Operation::CLS, &nibbles),
[INFO] [stdout] 47 | |             _ => Instruction::new(Operation::SYS, &nibbles),
[INFO] [stdout] 48 | |         },
[INFO] [stdout]    | |_________- this is found to be of type `chip8::wires::Instruction`
[INFO] [stdout] 49 |           1 => Ok(Instruction::new(Operation::JP, &nibbles)),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Instruction`, found `Result<Instruction, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `chip8::wires::Instruction`
[INFO] [stdout]                 found enum `Result<chip8::wires::Instruction, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |       match &nibbles[3] {
[INFO] [stdout]    |       ----------------- `match` arms have incompatible types
[INFO] [stdout] 44 |           0 => match (nibbles[1], nibbles[0]) {
[INFO] [stdout]    |  ______________-
[INFO] [stdout] 45 | |             (0xE, 0xE) => Instruction::new(Operation::RET, &nibbles),
[INFO] [stdout] 46 | |             (0xE, 0) => Instruction::new(Operation::CLS, &nibbles),
[INFO] [stdout] 47 | |             _ => Instruction::new(Operation::SYS, &nibbles),
[INFO] [stdout] 48 | |         },
[INFO] [stdout]    | |_________- this is found to be of type `chip8::wires::Instruction`
[INFO] [stdout] 49 |           1 => Ok(Instruction::new(Operation::JP, &nibbles)),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Instruction`, found `Result<Instruction, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `chip8::wires::Instruction`
[INFO] [stdout]                 found enum `Result<chip8::wires::Instruction, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 |     Ok(())
[INFO] [stdout]    |     -- ^^ expected `Instruction`, found `()`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     Ok(())
[INFO] [stdout]    |     ^^^--^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 |     Ok(())
[INFO] [stdout]    |     -- ^^ expected `Instruction`, found `()`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     Ok(())
[INFO] [stdout]    |     ^^^--^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inst`
[INFO] [stdout]   --> src/main.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn execute(inst: Instruction) -> Result<ReturnCode, Exception> {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_inst`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inst`
[INFO] [stdout]   --> src/main.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn execute(inst: Instruction) -> Result<ReturnCode, Exception> {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_inst`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (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:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut memory = Memory::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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut memory = Memory::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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut registers: [u8; 16] = [0; 16];
[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/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut registers: [u8; 16] = [0; 16];
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `registers`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut registers: [u8; 16] = [0; 16];
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `registers`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut registers: [u8; 16] = [0; 16];
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chip8` (bin "chip8" test) due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chip8` (bin "chip8") due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "be4669eb3c949f6603af36e4bf93018b1890cba9e912fb68cf2140e4b60aa7dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be4669eb3c949f6603af36e4bf93018b1890cba9e912fb68cf2140e4b60aa7dc", kill_on_drop: false }`
[INFO] [stdout] be4669eb3c949f6603af36e4bf93018b1890cba9e912fb68cf2140e4b60aa7dc
