[INFO] updating cached repository https://github.com/tonymichaelhead/gb-emulator [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/tonymichaelhead/gb-emulator [INFO] [stderr] 5fa2277..5ada3ea master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5ada3eaf45bbb4c43b6c84eb989ed0c993d895d8 [INFO] checking tonymichaelhead/gb-emulator against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonymichaelhead%2Fgb-emulator" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonymichaelhead/gb-emulator on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tonymichaelhead/gb-emulator [INFO] finished tweaking git repo https://github.com/tonymichaelhead/gb-emulator [INFO] tweaked toml for git repo https://github.com/tonymichaelhead/gb-emulator written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/tonymichaelhead/gb-emulator already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6d1da60e04b4ab0a0762eaeb567bc8afbebfc3443cd018af29e6f7bbce9d6e92 [INFO] running `"docker" "start" "-a" "6d1da60e04b4ab0a0762eaeb567bc8afbebfc3443cd018af29e6f7bbce9d6e92"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking gb-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected pattern, found `=>` [INFO] [stderr] --> src/main.rs:297:47 [INFO] [stderr] | [INFO] [stderr] 297 | ... => self.pc.wrapping_add(1), [INFO] [stderr] | ^^ expected pattern [INFO] [stderr] [INFO] [stderr] error: expected pattern, found `=>` [INFO] [stderr] --> src/main.rs:297:47 [INFO] [stderr] | [INFO] [stderr] 297 | ... => self.pc.wrapping_add(1), [INFO] [stderr] | ^^ expected pattern [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `StackTarget` [INFO] [stderr] --> src/main.rs:308:20 [INFO] [stderr] | [INFO] [stderr] 308 | StackTarget::BC => self.registers.get_bc(), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `StackTarget` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `StackTarget` [INFO] [stderr] --> src/main.rs:308:20 [INFO] [stderr] | [INFO] [stderr] 308 | StackTarget::BC => self.registers.get_bc(), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `StackTarget` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `is_halted` in this scope [INFO] [stderr] --> src/main.rs:241:12 [INFO] [stderr] | [INFO] [stderr] 241 | if is_halted { [INFO] [stderr] | ^^^^^^^^^ help: you might have meant to use the available field: `self.is_halted` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `is_halted` in this scope [INFO] [stderr] --> src/main.rs:241:12 [INFO] [stderr] | [INFO] [stderr] 241 | if is_halted { [INFO] [stderr] | ^^^^^^^^^ help: you might have meant to use the available field: `self.is_halted` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:379:9 [INFO] [stderr] | [INFO] [stderr] 379 | (msb << 8 | lsb) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:379:9 [INFO] [stderr] | [INFO] [stderr] 379 | (msb << 8 | lsb) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0069]: `return;` in a function whose return type is not `()` [INFO] [stderr] --> src/main.rs:242:13 [INFO] [stderr] | [INFO] [stderr] 239 | fn execute(&mut self, instruction: Instruction) -> u16 [INFO] [stderr] | --- expected `u16` because of this return type [INFO] [stderr] ... [INFO] [stderr] 242 | return [INFO] [stderr] | ^^^^^^ return type is not `()` [INFO] [stderr] [INFO] [stderr] error[E0069]: `return;` in a function whose return type is not `()` [INFO] [stderr] --> src/main.rs:242:13 [INFO] [stderr] | [INFO] [stderr] 239 | fn execute(&mut self, instruction: Instruction) -> u16 [INFO] [stderr] | --- expected `u16` because of this return type [INFO] [stderr] ... [INFO] [stderr] 242 | return [INFO] [stderr] | ^^^^^^ return type is not `()` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `PUSH` found for enum `Instruction` in the current scope [INFO] [stderr] --> src/main.rs:304:25 [INFO] [stderr] | [INFO] [stderr] 145 | enum Instruction [INFO] [stderr] | ---------------- variant or associated item `PUSH` not found here [INFO] [stderr] ... [INFO] [stderr] 304 | Instruction::PUSH(target) => [INFO] [stderr] | ^^^^ variant or associated item not found in `Instruction` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `CALL` found for enum `Instruction` in the current scope [INFO] [stderr] --> src/main.rs:315:25 [INFO] [stderr] | [INFO] [stderr] 145 | enum Instruction [INFO] [stderr] | ---------------- variant or associated item `CALL` not found here [INFO] [stderr] ... [INFO] [stderr] 315 | Instruction::CALL(test) => [INFO] [stderr] | ^^^^ variant or associated item not found in `Instruction` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_next_byte` found for mutable reference `&mut CPU` in the current scope [INFO] [stderr] --> src/main.rs:284:55 [INFO] [stderr] | [INFO] [stderr] 284 | ... LoadByteSource::D8 => self.read_next_byte(), [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&mut CPU` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_byte` found for struct `MemoryBus` in the current scope [INFO] [stderr] --> src/main.rs:291:60 [INFO] [stderr] | [INFO] [stderr] 202 | struct MemoryBus [INFO] [stderr] | ---------------- method `write_byte` not found for this [INFO] [stderr] ... [INFO] [stderr] 291 | LoadByteTarget::HLI => self.bus.write_byte(self.registers.get_hl(), source_value), [INFO] [stderr] | ^^^^^^^^^^ method not found in `MemoryBus` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `PUSH` found for enum `Instruction` in the current scope [INFO] [stderr] --> src/main.rs:304:25 [INFO] [stderr] | [INFO] [stderr] 145 | enum Instruction [INFO] [stderr] | ---------------- variant or associated item `PUSH` not found here [INFO] [stderr] ... [INFO] [stderr] 304 | Instruction::PUSH(target) => [INFO] [stderr] | ^^^^ variant or associated item not found in `Instruction` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `CALL` found for enum `Instruction` in the current scope [INFO] [stderr] --> src/main.rs:315:25 [INFO] [stderr] | [INFO] [stderr] 145 | enum Instruction [INFO] [stderr] | ---------------- variant or associated item `CALL` not found here [INFO] [stderr] ... [INFO] [stderr] 315 | Instruction::CALL(test) => [INFO] [stderr] | ^^^^ variant or associated item not found in `Instruction` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_next_byte` found for mutable reference `&mut CPU` in the current scope [INFO] [stderr] --> src/main.rs:284:55 [INFO] [stderr] | [INFO] [stderr] 284 | ... LoadByteSource::D8 => self.read_next_byte(), [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&mut CPU` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_byte` found for struct `MemoryBus` in the current scope [INFO] [stderr] --> src/main.rs:291:60 [INFO] [stderr] | [INFO] [stderr] 202 | struct MemoryBus [INFO] [stderr] | ---------------- method `write_byte` not found for this [INFO] [stderr] ... [INFO] [stderr] 291 | LoadByteTarget::HLI => self.bus.write_byte(self.registers.get_hl(), source_value), [INFO] [stderr] | ^^^^^^^^^^ method not found in `MemoryBus` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_byte` found for struct `MemoryBus` in the current scope [INFO] [stderr] --> src/main.rs:365:18 [INFO] [stderr] | [INFO] [stderr] 202 | struct MemoryBus [INFO] [stderr] | ---------------- method `write_byte` not found for this [INFO] [stderr] ... [INFO] [stderr] 365 | self.bus.write_byte(self.sp, ((value & 0xFF00) >> 8) as u8); [INFO] [stderr] | ^^^^^^^^^^ method not found in `MemoryBus` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_byte` found for struct `MemoryBus` in the current scope [INFO] [stderr] --> src/main.rs:368:18 [INFO] [stderr] | [INFO] [stderr] 202 | struct MemoryBus [INFO] [stderr] | ---------------- method `write_byte` not found for this [INFO] [stderr] ... [INFO] [stderr] 368 | self.bus.write_byte(self.sp, (value & 0xFF) as u8); [INFO] [stderr] | ^^^^^^^^^^ method not found in `MemoryBus` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_next_word` found for mutable reference `&mut CPU` in the current scope [INFO] [stderr] --> src/main.rs:388:18 [INFO] [stderr] | [INFO] [stderr] 388 | self.read_next_word(); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&mut CPU` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:386:9 [INFO] [stderr] | [INFO] [stderr] 386 | / { [INFO] [stderr] 387 | | self.push(next_pc); [INFO] [stderr] 388 | | self.read_next_word(); [INFO] [stderr] | | - help: consider removing this semicolon [INFO] [stderr] 389 | | } [INFO] [stderr] | |_________^ expected `u16`, found `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0069, E0308, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0069`. [INFO] [stderr] error[E0599]: no method named `write_byte` found for struct `MemoryBus` in the current scope [INFO] [stderr] --> src/main.rs:365:18 [INFO] [stderr] | [INFO] [stderr] 202 | struct MemoryBus [INFO] [stderr] | ---------------- method `write_byte` not found for this [INFO] [stderr] ... [INFO] [stderr] 365 | self.bus.write_byte(self.sp, ((value & 0xFF00) >> 8) as u8); [INFO] [stderr] | ^^^^^^^^^^ method not found in `MemoryBus` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_byte` found for struct `MemoryBus` in the current scope [INFO] [stderr] --> src/main.rs:368:18 [INFO] [stderr] | [INFO] [stderr] 202 | struct MemoryBus [INFO] [stderr] | ---------------- method `write_byte` not found for this [INFO] [stderr] ... [INFO] [stderr] 368 | self.bus.write_byte(self.sp, (value & 0xFF) as u8); [INFO] [stderr] | ^^^^^^^^^^ method not found in `MemoryBus` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_next_word` found for mutable reference `&mut CPU` in the current scope [INFO] [stderr] --> src/main.rs:388:18 [INFO] [stderr] | [INFO] [stderr] 388 | self.read_next_word(); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&mut CPU` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:386:9 [INFO] [stderr] | [INFO] [stderr] 386 | / { [INFO] [stderr] 387 | | self.push(next_pc); [INFO] [stderr] 388 | | self.read_next_word(); [INFO] [stderr] | | - help: consider removing this semicolon [INFO] [stderr] 389 | | } [INFO] [stderr] | |_________^ expected `u16`, found `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0069, E0308, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0069`. [INFO] [stderr] error: could not compile `gb-emulator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gb-emulator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6d1da60e04b4ab0a0762eaeb567bc8afbebfc3443cd018af29e6f7bbce9d6e92"` [INFO] running `"docker" "rm" "-f" "6d1da60e04b4ab0a0762eaeb567bc8afbebfc3443cd018af29e6f7bbce9d6e92"` [INFO] [stdout] 6d1da60e04b4ab0a0762eaeb567bc8afbebfc3443cd018af29e6f7bbce9d6e92