[INFO] cloning repository https://github.com/oem/gg-gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oem/gg-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foem%2Fgg-gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foem%2Fgg-gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8e78af357886061aaf26bafc3694e0173d08a39 [INFO] checking oem/gg-gb against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foem%2Fgg-gb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oem/gg-gb [INFO] finished tweaking git repo https://github.com/oem/gg-gb [INFO] tweaked toml for git repo https://github.com/oem/gg-gb written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oem/gg-gb on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oem/gg-gb 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dd5e04a541a0483916e04b0dbe62b1eb27c12e8f2d5dfd2d66aa338ae98b50b [INFO] running `Command { std: "docker" "start" "-a" "8dd5e04a541a0483916e04b0dbe62b1eb27c12e8f2d5dfd2d66aa338ae98b50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dd5e04a541a0483916e04b0dbe62b1eb27c12e8f2d5dfd2d66aa338ae98b50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd5e04a541a0483916e04b0dbe62b1eb27c12e8f2d5dfd2d66aa338ae98b50b", kill_on_drop: false }` [INFO] [stdout] 8dd5e04a541a0483916e04b0dbe62b1eb27c12e8f2d5dfd2d66aa338ae98b50b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b631b276f012341935ee7b16977668dfb93d43c598d904fe010fb22059064189 [INFO] running `Command { std: "docker" "start" "-a" "b631b276f012341935ee7b16977668dfb93d43c598d904fe010fb22059064189", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking gg-gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/instructions/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => { /* TODO: implement more instructions */ } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/instructions/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 52 | Instruction::ADD(target) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Instruction::INC(target) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => { /* TODO: implement more instructions */ } [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instructions/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut instruction_byte = self.bus.read_byte(self.pc); [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: struct `CPU` is never constructed [INFO] [stdout] --> src/instructions/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryBus` is never constructed [INFO] [stdout] --> src/instructions/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MemoryBus { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_byte` is never used [INFO] [stdout] --> src/instructions/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl MemoryBus { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | fn read_byte(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instructions/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte` is never used [INFO] [stdout] --> src/instructions/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 25 | fn from_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IncDecTarget` is never used [INFO] [stdout] --> src/instructions/mod.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArithmeticTarget` is never used [INFO] [stdout] --> src/instructions/mod.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | enum ArithmeticTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute`, `step`, and `add` are never used [INFO] [stdout] --> src/instructions/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 50 | fn execute(&mut self, instruction: Instruction) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn add(&mut self, value: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registers` is never constructed [INFO] [stdout] --> src/registers/registers.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bc`, `set_bc`, `get_de`, and `set_de` are never used [INFO] [stdout] --> src/registers/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 16 | pub fn get_bc(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_bc(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_de(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_de(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/instructions/mod.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | self.pc.wrapping_add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = self.pc.wrapping_add(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/instructions/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => { /* TODO: implement more instructions */ } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/instructions/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 52 | Instruction::ADD(target) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Instruction::INC(target) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => { /* TODO: implement more instructions */ } [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instructions/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut instruction_byte = self.bus.read_byte(self.pc); [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: field `bus` is never read [INFO] [stdout] --> src/instructions/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | bus: MemoryBus, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/instructions/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct MemoryBus { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | memory: [u8; 0xFFFF], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_byte` is never used [INFO] [stdout] --> src/instructions/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl MemoryBus { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | fn read_byte(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC` is never constructed [INFO] [stdout] --> src/instructions/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 20 | ADD(ArithmeticTarget), [INFO] [stdout] 21 | INC(IncDecTarget), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte` is never used [INFO] [stdout] --> src/instructions/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 25 | fn from_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BC` and `DE` are never constructed [INFO] [stdout] --> src/instructions/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum IncDecTarget { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 34 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/instructions/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum ArithmeticTarget { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 39 | A, [INFO] [stdout] | ^ [INFO] [stdout] 40 | B, [INFO] [stdout] | ^ [INFO] [stdout] 41 | C, [INFO] [stdout] 42 | D, [INFO] [stdout] | ^ [INFO] [stdout] 43 | E, [INFO] [stdout] | ^ [INFO] [stdout] 44 | F, [INFO] [stdout] | ^ [INFO] [stdout] 45 | H, [INFO] [stdout] | ^ [INFO] [stdout] 46 | L, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/instructions/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `h` and `l` are never read [INFO] [stdout] --> src/registers/registers.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub h: u8, [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub l: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/instructions/mod.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | self.pc.wrapping_add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = self.pc.wrapping_add(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "b631b276f012341935ee7b16977668dfb93d43c598d904fe010fb22059064189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b631b276f012341935ee7b16977668dfb93d43c598d904fe010fb22059064189", kill_on_drop: false }` [INFO] [stdout] b631b276f012341935ee7b16977668dfb93d43c598d904fe010fb22059064189