[INFO] cloning repository https://github.com/callum4411/Gameboy-Emulator-Rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/callum4411/Gameboy-Emulator-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum4411%2FGameboy-Emulator-Rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum4411%2FGameboy-Emulator-Rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] e697ad1146d1918e35a6f8dea49d17d590f7fcf3
[INFO] testing callum4411/Gameboy-Emulator-Rust against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum4411%2FGameboy-Emulator-Rust" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/callum4411/Gameboy-Emulator-Rust
[INFO] finished tweaking git repo https://github.com/callum4411/Gameboy-Emulator-Rust
[INFO] tweaked toml for git repo https://github.com/callum4411/Gameboy-Emulator-Rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/callum4411/Gameboy-Emulator-Rust on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/callum4411/Gameboy-Emulator-Rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f
[INFO] running `"docker" "start" "71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f"`
[INFO] running `"docker" "inspect" "71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling dlib v0.5.3
[INFO] [stderr]    Compiling cc v1.2.64
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling raw-window-handle v0.6.2
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling minifb v0.27.0
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling alsa v0.9.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling GameBoyEmlator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `hide`
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod hide;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `hide`, create file "src/hide.rs" or "src/hide/mod.rs"
[INFO] [stdout]   = note: if there is a `mod hide` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/gameboy.rs:497:32
[INFO] [stdout]     |
[INFO] [stdout] 497 |                 self.mmu.write((addr+1), d1);
[INFO] [stdout]     |                                ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 497 -                 self.mmu.write((addr+1), d1);
[INFO] [stdout] 497 +                 self.mmu.write(addr+1, d1);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/gameboy.rs:864:43
[INFO] [stdout]     |
[INFO] [stdout] 864 |                 self.set_register_by_bits(((opcode>>3) & 0x07), result);
[INFO] [stdout]     |                                           ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 864 -                 self.set_register_by_bits(((opcode>>3) & 0x07), result);
[INFO] [stdout] 864 +                 self.set_register_by_bits((opcode>>3) & 0x07, result);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/gameboy.rs:873:43
[INFO] [stdout]     |
[INFO] [stdout] 873 |                 self.set_register_by_bits(((opcode>>3) & 0x07), result);
[INFO] [stdout]     |                                           ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 873 -                 self.set_register_by_bits(((opcode>>3) & 0x07), result);
[INFO] [stdout] 873 +                 self.set_register_by_bits((opcode>>3) & 0x07, result);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/gameboy.rs:941:30
[INFO] [stdout]     |
[INFO] [stdout] 941 |                 let result = (a & literal);
[INFO] [stdout]     |                              ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 941 -                 let result = (a & literal);
[INFO] [stdout] 941 +                 let result = a & literal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/gameboy.rs:952:30
[INFO] [stdout]     |
[INFO] [stdout] 952 |                 let result = (a ^ literal);
[INFO] [stdout]     |                              ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 952 -                 let result = (a ^ literal);
[INFO] [stdout] 952 +                 let result = a ^ literal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/gameboy.rs:963:30
[INFO] [stdout]     |
[INFO] [stdout] 963 |                 let result = (a | literal);
[INFO] [stdout]     |                              ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 963 -                 let result = (a | literal);
[INFO] [stdout] 963 +                 let result = a | literal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]     --> src/gameboy.rs:1024:26
[INFO] [stdout]      |
[INFO] [stdout] 1024 |                 let b7 = (a & 0b0000_0001);
[INFO] [stdout]      |                          ^               ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1024 -                 let b7 = (a & 0b0000_0001);
[INFO] [stdout] 1024 +                 let b7 = a & 0b0000_0001;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]     --> src/gameboy.rs:1055:26
[INFO] [stdout]      |
[INFO] [stdout] 1055 |                 let b7 = (a & 0b0000_0001) ;
[INFO] [stdout]      |                          ^               ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1055 -                 let b7 = (a & 0b0000_0001) ;
[INFO] [stdout] 1055 +                 let b7 = a & 0b0000_0001 ;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/timer.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |         self.div_counter += (cycles as u32);
[INFO] [stdout]    |                             ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -         self.div_counter += (cycles as u32);
[INFO] [stdout] 24 +         self.div_counter += cycles as u32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/timer.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 |             self.tima_counter += (cycles as u32);
[INFO] [stdout]    |                                  ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             self.tima_counter += (cycles as u32);
[INFO] [stdout] 39 +             self.tima_counter += cycles as u32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cartridge`
[INFO] [stdout]  --> src/mmu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::cartridge;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ppu::Ppu`
[INFO] [stdout]  --> src/mmu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ppu::Ppu;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cpu::Cpu`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::cpu::Cpu;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/gameboy.rs:693:21
[INFO] [stdout]     |
[INFO] [stdout] 693 |                 let result = a.wrapping_sub(r);
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c` is never read
[INFO] [stdout]     --> src/gameboy.rs:1038:29
[INFO] [stdout]      |
[INFO] [stdout] 1038 |                 let mut c = 0;
[INFO] [stdout]      |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1042 |                     c = 0;
[INFO] [stdout]      |                     ----- `c` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c` is never read
[INFO] [stdout]     --> src/gameboy.rs:1057:29
[INFO] [stdout]      |
[INFO] [stdout] 1057 |                 let mut c = 0;
[INFO] [stdout]      |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1061 |                     c = 0;
[INFO] [stdout]      |                     ----- `c` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `n` is never read
[INFO] [stdout]   --> src/timer.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |           let mut n:u32 = 0;
[INFO] [stdout]    |                           ^ this value is reassigned later and never used
[INFO] [stdout] 31 | /         n = match self.tac & 0b0000_0011{
[INFO] [stdout] 32 | |             0b01 => 16,
[INFO] [stdout] 33 | |             0b10 => 64,
[INFO] [stdout] 34 | |             0b11 => 256,
[INFO] [stdout] 35 | |             0b00 => 1024,
[INFO] [stdout] 36 | |             _ => unreachable!("tac register to N doesnt match")
[INFO] [stdout] 37 | |         };
[INFO] [stdout]    | |_________- `n` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `GameBoyEmlator` (bin "GameBoyEmlator") due to 1 previous error; 17 warnings emitted
[INFO] running `"docker" "inspect" "71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f"`
[INFO] running `"docker" "rm" "-f" "71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f"`
[INFO] [stdout] 71db0b3150d4a5a5276197b1cae4232246b6b7a19938b9f682c9bd298c58b44f
