[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 try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstexus%2Fchip8" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stexus/chip8 on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking stexus/chip8 against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstexus%2Fchip8" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stexus/chip8 on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b29485b3d637857e46b86eef0c885bc17355c139b79cd23350a1140664cb8d6 [INFO] running `Command { std: "docker" "start" "-a" "8b29485b3d637857e46b86eef0c885bc17355c139b79cd23350a1140664cb8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b29485b3d637857e46b86eef0c885bc17355c139b79cd23350a1140664cb8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b29485b3d637857e46b86eef0c885bc17355c139b79cd23350a1140664cb8d6", kill_on_drop: false }` [INFO] [stdout] 8b29485b3d637857e46b86eef0c885bc17355c139b79cd23350a1140664cb8d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe57b3fc27286ffcd47a527bab75cdb96273e43303a0c4b5a100e594d9020ec9 [INFO] running `Command { std: "docker" "start" "-a" "fe57b3fc27286ffcd47a527bab75cdb96273e43303a0c4b5a100e594d9020ec9", 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)]` 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)]` 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)]` 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: 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 `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)]` 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: 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` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chip8::wires::Instruction` [INFO] [stdout] found enum `Result` [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/15e8bc6907ab2b3623cb52acc726f4787458df64/library/core/src/result.rs:552:5 [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` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chip8::wires::Instruction` [INFO] [stdout] found enum `Result` [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/15e8bc6907ab2b3623cb52acc726f4787458df64/library/core/src/result.rs:552:5 [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 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/main.rs:78:13 [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: `inst` [INFO] [stdout] --> src/main.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | fn execute(inst: Instruction) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/main.rs:78:13 [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: 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)]` 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: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)]` 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] 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") 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" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fe57b3fc27286ffcd47a527bab75cdb96273e43303a0c4b5a100e594d9020ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe57b3fc27286ffcd47a527bab75cdb96273e43303a0c4b5a100e594d9020ec9", kill_on_drop: false }` [INFO] [stdout] fe57b3fc27286ffcd47a527bab75cdb96273e43303a0c4b5a100e594d9020ec9