[INFO] cloning repository https://github.com/mNutella/tiny-gameboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mNutella/tiny-gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmNutella%2Ftiny-gameboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmNutella%2Ftiny-gameboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cbbeb0b4f195240bb821c98a720fe48af90a8f83
[INFO] checking mNutella/tiny-gameboy against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmNutella%2Ftiny-gameboy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mNutella/tiny-gameboy
[INFO] finished tweaking git repo https://github.com/mNutella/tiny-gameboy
[INFO] tweaked toml for git repo https://github.com/mNutella/tiny-gameboy written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mNutella/tiny-gameboy on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mNutella/tiny-gameboy 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 72c34ee505ce5c32493dd001bb8c09ac8b64101eb49f957af9c196079810b17b
[INFO] running `Command { std: "docker" "start" "-a" "72c34ee505ce5c32493dd001bb8c09ac8b64101eb49f957af9c196079810b17b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72c34ee505ce5c32493dd001bb8c09ac8b64101eb49f957af9c196079810b17b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72c34ee505ce5c32493dd001bb8c09ac8b64101eb49f957af9c196079810b17b", kill_on_drop: false }`
[INFO] [stdout] 72c34ee505ce5c32493dd001bb8c09ac8b64101eb49f957af9c196079810b17b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d2e3be3dd72fa79198c398b06443d289b74a875886d6c9d317e2256c2da95b2
[INFO] running `Command { std: "docker" "start" "-a" "5d2e3be3dd72fa79198c398b06443d289b74a875886d6c9d317e2256c2da95b2", kill_on_drop: false }`
[INFO] [stderr]     Checking tiny_game_boy_emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu/cpu.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/cpu/cpu.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout]  63 |             ADD(target) => match target {
[INFO] [stdout]     |             ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  73 |             JP(jump_type) => self.jump(jump_type.should_jump(&self.registers.f)),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout]  74 |             LD(load_type) => match load_type {
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 128 |             PUSH(source) => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 178 |             _ => {
[INFO] [stdout]     |             ^ ...and 5 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TilePixelValue` is more private than the item `empty_tile`
[INFO] [stdout]   --> src/gpu.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn empty_tile() -> Tile {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `empty_tile` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TilePixelValue` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/gpu.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | enum TilePixelValue {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `CPU` is never constructed
[INFO] [stdout]  --> src/cpu/cpu.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers`, `pc`, `sp`, `bus`, and `is_halted` are never read
[INFO] [stdout]   --> src/cpu/cpu.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout]  9 |     registers: Registers,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 10 |     pc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     sp: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     bus: MemoryBus,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     is_halted: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu/cpu.rs:17:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  17 |     fn read_next_byte(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  21 |     fn read_next_word(&self) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     fn decode(&self, instruction_byte: u8, prefixed: bool) -> Instruction {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     fn step(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     fn execute(&mut self, instruction: Instruction) -> u16 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     fn add(&mut self, value: u8) -> u8 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn jump(&mut self, should_jump: bool) -> u16 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn push(&mut self, value: u16) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn pop(&mut self) -> u16 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     fn call(&mut self, should_jump: bool) -> u16 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     fn return_(&mut self, should_jump: bool) -> u16 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tiny_game_boy_emulator` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu/cpu.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/cpu/cpu.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout]  63 |             ADD(target) => match target {
[INFO] [stdout]     |             ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  73 |             JP(jump_type) => self.jump(jump_type.should_jump(&self.registers.f)),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout]  74 |             LD(load_type) => match load_type {
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 128 |             PUSH(source) => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 178 |             _ => {
[INFO] [stdout]     |             ^ ...and 5 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TilePixelValue` is more private than the item `empty_tile`
[INFO] [stdout]   --> src/gpu.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn empty_tile() -> Tile {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `empty_tile` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TilePixelValue` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/gpu.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | enum TilePixelValue {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `CPU` is never constructed
[INFO] [stdout]  --> src/cpu/cpu.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers`, `pc`, `sp`, `bus`, and `is_halted` are never read
[INFO] [stdout]   --> src/cpu/cpu.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout]  9 |     registers: Registers,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 10 |     pc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     sp: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     bus: MemoryBus,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     is_halted: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu/cpu.rs:17:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  17 |     fn read_next_byte(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  21 |     fn read_next_word(&self) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     fn decode(&self, instruction_byte: u8, prefixed: bool) -> Instruction {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     fn step(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     fn execute(&mut self, instruction: Instruction) -> u16 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     fn add(&mut self, value: u8) -> u8 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn jump(&mut self, should_jump: bool) -> u16 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn push(&mut self, value: u16) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn pop(&mut self) -> u16 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     fn call(&mut self, should_jump: bool) -> u16 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     fn return_(&mut self, should_jump: bool) -> u16 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tiny_game_boy_emulator` (lib) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5d2e3be3dd72fa79198c398b06443d289b74a875886d6c9d317e2256c2da95b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d2e3be3dd72fa79198c398b06443d289b74a875886d6c9d317e2256c2da95b2", kill_on_drop: false }`
[INFO] [stdout] 5d2e3be3dd72fa79198c398b06443d289b74a875886d6c9d317e2256c2da95b2
