[INFO] cloning repository https://github.com/tyko-everest/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyko-everest/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyko-everest%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyko-everest%2Fgameboy-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef4c8d2db76cbc70993b3497e1a5bea30ce198ea [INFO] checking tyko-everest/gameboy-emulator against try#da4929024a7261062885cb3209c9d7fdc919d233 for pr-135536 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyko-everest%2Fgameboy-emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyko-everest/gameboy-emulator on toolchain da4929024a7261062885cb3209c9d7fdc919d233 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tyko-everest/gameboy-emulator [INFO] finished tweaking git repo https://github.com/tyko-everest/gameboy-emulator [INFO] tweaked toml for git repo https://github.com/tyko-everest/gameboy-emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tyko-everest/gameboy-emulator 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" "+da4929024a7261062885cb3209c9d7fdc919d233" "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] 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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f892d21d2976d0f5d8def04626075ebaf3f47dda9d29e6b1f2f4b8ad3178da00 [INFO] running `Command { std: "docker" "start" "-a" "f892d21d2976d0f5d8def04626075ebaf3f47dda9d29e6b1f2f4b8ad3178da00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f892d21d2976d0f5d8def04626075ebaf3f47dda9d29e6b1f2f4b8ad3178da00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f892d21d2976d0f5d8def04626075ebaf3f47dda9d29e6b1f2f4b8ad3178da00", kill_on_drop: false }` [INFO] [stdout] f892d21d2976d0f5d8def04626075ebaf3f47dda9d29e6b1f2f4b8ad3178da00 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d650cab3ae8b795e6db02dc574332ccc9764ad6897b797a3102b6a4a0cd60bf [INFO] running `Command { std: "docker" "start" "-a" "7d650cab3ae8b795e6db02dc574332ccc9764ad6897b797a3102b6a4a0cd60bf", kill_on_drop: false }` [INFO] [stderr] Checking gameboy-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/cpu.rs:298:42 [INFO] [stdout] | [INFO] [stdout] 298 | self.state.set_flag(Flag::Carry, a >> 7 == 1); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/cpu.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | let res = a << 1; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:203:59 [INFO] [stdout] | [INFO] [stdout] 203 | fn c2_helper(&mut self, memory: &Memory, mode: u8) -> (u16, u8, u16) { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ expected `(u16, u8, u16)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(u16, u8, u16)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gameboy-emulator` (bin "gameboy-emulator") due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/cpu.rs:298:42 [INFO] [stdout] | [INFO] [stdout] 298 | self.state.set_flag(Flag::Carry, a >> 7 == 1); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/cpu.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | let res = a << 1; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:203:59 [INFO] [stdout] | [INFO] [stdout] 203 | fn c2_helper(&mut self, memory: &Memory, mode: u8) -> (u16, u8, u16) { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ expected `(u16, u8, u16)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(u16, u8, u16)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | let (addr, cycles, size) = self.c1_helper(mem, mode); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gameboy-emulator` (bin "gameboy-emulator" test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d650cab3ae8b795e6db02dc574332ccc9764ad6897b797a3102b6a4a0cd60bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d650cab3ae8b795e6db02dc574332ccc9764ad6897b797a3102b6a4a0cd60bf", kill_on_drop: false }` [INFO] [stdout] 7d650cab3ae8b795e6db02dc574332ccc9764ad6897b797a3102b6a4a0cd60bf