[INFO] cloning repository https://github.com/Kolossion/rust-gb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kolossion/rust-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolossion%2Frust-gb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolossion%2Frust-gb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0977a4a7ef116d2dd95e3eb02082a5437b0a934b
[INFO] checking Kolossion/rust-gb/0977a4a7ef116d2dd95e3eb02082a5437b0a934b against master#a26e97be8826d408309fffbd8168362365719f50 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolossion%2Frust-gb" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Kolossion/rust-gb on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Kolossion/rust-gb
[INFO] finished tweaking git repo https://github.com/Kolossion/rust-gb
[INFO] tweaked toml for git repo https://github.com/Kolossion/rust-gb written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Kolossion/rust-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" "+a26e97be8826d408309fffbd8168362365719f50" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8c3c5ab8ad1c78aa72241cb9d039ddcffd7eaf33dab3cde1cc0da63ef143d3d
[INFO] running `Command { std: "docker" "start" "-a" "e8c3c5ab8ad1c78aa72241cb9d039ddcffd7eaf33dab3cde1cc0da63ef143d3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8c3c5ab8ad1c78aa72241cb9d039ddcffd7eaf33dab3cde1cc0da63ef143d3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8c3c5ab8ad1c78aa72241cb9d039ddcffd7eaf33dab3cde1cc0da63ef143d3d", kill_on_drop: false }`
[INFO] [stdout] e8c3c5ab8ad1c78aa72241cb9d039ddcffd7eaf33dab3cde1cc0da63ef143d3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c224c542ce3460f438eef45813dab69d6194e29b6982b5e34ac274d03ae57a55
[INFO] running `Command { std: "docker" "start" "-a" "c224c542ce3460f438eef45813dab69d6194e29b6982b5e34ac274d03ae57a55", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.20
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking gb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `emu::*`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use emu::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sum` is never read
[INFO] [stdout]  --> src/emu/cpu/alu/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |   let mut sum: u16 = 0;
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sum` is never read
[INFO] [stdout]   --> src/emu/cpu/alu/mod.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |   let mut sum: u32 = 0;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]   --> src/emu/cpu/mod.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |   pub fn run_op(&mut self, opcode: u16) {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rom_data`
[INFO] [stdout]   --> src/emu/mod.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let rom_data = read_bin(rom_file_name);
[INFO] [stdout]    |       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/emu/mod.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let mut cpu = CPU::new();
[INFO] [stdout]    |           ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/emu/mod.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let mut cpu = CPU::new();
[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: unused import: `emu::*`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use emu::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `m` and `t` are never read
[INFO] [stdout]  --> src/emu/cpu/mod.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct CPUClock {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 8 |   m: u32,
[INFO] [stdout]   |   ^
[INFO] [stdout] 9 |   t: u32,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CPUClock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/emu/cpu/mod.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct CPURegs {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 14 |   a  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 15 |   b  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 16 |   c  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 17 |   d  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 18 |   e  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 19 |   h  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 20 |   l  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 21 |   f  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 22 |   pc : u16,
[INFO] [stdout]    |   ^^
[INFO] [stdout] 23 |   sp : u16,
[INFO] [stdout]    |   ^^
[INFO] [stdout] 24 |   m  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout] 25 |   t  : u8,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CPURegs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clock` and `reg` are never read
[INFO] [stdout]   --> src/emu/cpu/mod.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 30 |   clock: CPUClock,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 31 |   reg: CPURegs,
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/emu/cpu/mod.rs:36:10
[INFO] [stdout]     |
[INFO] [stdout] 34  | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 35  |
[INFO] [stdout] 36  |   pub fn run_op(&mut self, opcode: u16) {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51  |   pub fn get_reg_8(&mut self, reg: &str) -> u8 {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |   pub fn set_reg_8(&mut self, reg: &str, val: u8) {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |   pub fn boot(&mut self) {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90  |   pub fn add_e(&mut self) {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |   pub fn add_d(&mut self) {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |   pub fn noop(&mut self) {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_8` is never used
[INFO] [stdout]  --> src/emu/cpu/alu/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn add_8(a: u8, b :u8) -> (bool, bool, u8) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_16` is never used
[INFO] [stdout]   --> src/emu/cpu/alu/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn add_16(a: u16, b :u16) -> (bool, bool, u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sum` is never read
[INFO] [stdout]  --> src/emu/cpu/alu/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |   let mut sum: u16 = 0;
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sum` is never read
[INFO] [stdout]   --> src/emu/cpu/alu/mod.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |   let mut sum: u32 = 0;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]   --> src/emu/cpu/mod.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |   pub fn run_op(&mut self, opcode: u16) {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rom_data`
[INFO] [stdout]   --> src/emu/mod.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let rom_data = read_bin(rom_file_name);
[INFO] [stdout]    |       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/emu/mod.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let mut cpu = CPU::new();
[INFO] [stdout]    |           ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/emu/mod.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let mut cpu = CPU::new();
[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: fields `m` and `t` are never read
[INFO] [stdout]  --> src/emu/cpu/mod.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct CPUClock {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 8 |   m: u32,
[INFO] [stdout]   |   ^
[INFO] [stdout] 9 |   t: u32,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CPUClock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pc` and `sp` are never read
[INFO] [stdout]   --> src/emu/cpu/mod.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct CPURegs {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |   pc : u16,
[INFO] [stdout]    |   ^^
[INFO] [stdout] 23 |   sp : u16,
[INFO] [stdout]    |   ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CPURegs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `clock` is never read
[INFO] [stdout]   --> src/emu/cpu/mod.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct CPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 30 |   clock: CPUClock,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `run_op`, `boot`, `add_e`, `add_d`, and `noop` are never used
[INFO] [stdout]    --> src/emu/cpu/mod.rs:36:10
[INFO] [stdout]     |
[INFO] [stdout] 34  | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 35  |
[INFO] [stdout] 36  |   pub fn run_op(&mut self, opcode: u16) {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |   pub fn boot(&mut self) {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90  |   pub fn add_e(&mut self) {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |   pub fn add_d(&mut self) {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |   pub fn noop(&mut self) {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_8` is never used
[INFO] [stdout]  --> src/emu/cpu/alu/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn add_8(a: u8, b :u8) -> (bool, bool, u8) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_16` is never used
[INFO] [stdout]   --> src/emu/cpu/alu/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn add_16(a: u16, b :u16) -> (bool, bool, u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s
[INFO] running `Command { std: "docker" "inspect" "c224c542ce3460f438eef45813dab69d6194e29b6982b5e34ac274d03ae57a55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c224c542ce3460f438eef45813dab69d6194e29b6982b5e34ac274d03ae57a55", kill_on_drop: false }`
[INFO] [stdout] c224c542ce3460f438eef45813dab69d6194e29b6982b5e34ac274d03ae57a55
