[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 master#5dfe648b45659db8dd0a673a806bba3df84aa3af for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyko-everest%2Fgameboy-emulator" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyko-everest/gameboy-emulator on toolchain 5dfe648b45659db8dd0a673a806bba3df84aa3af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "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-5-tc1/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" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ae8a03de6a9ea515fb4f694bea50810ad04fe1abb1493c9d21a95607027d20f [INFO] running `Command { std: "docker" "start" "-a" "9ae8a03de6a9ea515fb4f694bea50810ad04fe1abb1493c9d21a95607027d20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ae8a03de6a9ea515fb4f694bea50810ad04fe1abb1493c9d21a95607027d20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae8a03de6a9ea515fb4f694bea50810ad04fe1abb1493c9d21a95607027d20f", kill_on_drop: false }` [INFO] [stdout] 9ae8a03de6a9ea515fb4f694bea50810ad04fe1abb1493c9d21a95607027d20f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12bb24afd8ef60fc2394f2d9a5bd02306026645101d4c9fb40fc97c18effe926 [INFO] running `Command { std: "docker" "start" "-a" "12bb24afd8ef60fc2394f2d9a5bd02306026645101d4c9fb40fc97c18effe926", 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] 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] 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] 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] [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] [stderr] error: could not compile `gameboy-emulator` (bin "gameboy-emulator") due to 3 previous errors; 9 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "12bb24afd8ef60fc2394f2d9a5bd02306026645101d4c9fb40fc97c18effe926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12bb24afd8ef60fc2394f2d9a5bd02306026645101d4c9fb40fc97c18effe926", kill_on_drop: false }` [INFO] [stdout] 12bb24afd8ef60fc2394f2d9a5bd02306026645101d4c9fb40fc97c18effe926