[INFO] cloning repository https://github.com/danma3x/playground_gameboy_emulator_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danma3x/playground_gameboy_emulator_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanma3x%2Fplayground_gameboy_emulator_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanma3x%2Fplayground_gameboy_emulator_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 307df7b75efda21862d48732d9097145ba0c1d7d [INFO] testing danma3x/playground_gameboy_emulator_code against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanma3x%2Fplayground_gameboy_emulator_code" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danma3x/playground_gameboy_emulator_code on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danma3x/playground_gameboy_emulator_code [INFO] finished tweaking git repo https://github.com/danma3x/playground_gameboy_emulator_code [INFO] tweaked toml for git repo https://github.com/danma3x/playground_gameboy_emulator_code written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/danma3x/playground_gameboy_emulator_code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded minifb v0.13.0 [INFO] running `Command { std: "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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2c42eeab12cd99d63e0e40fa2f9405b39add43e63d9d4628deebd25ac8769135 [INFO] running `Command { std: "docker" "start" "-a" "2c42eeab12cd99d63e0e40fa2f9405b39add43e63d9d4628deebd25ac8769135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c42eeab12cd99d63e0e40fa2f9405b39add43e63d9d4628deebd25ac8769135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c42eeab12cd99d63e0e40fa2f9405b39add43e63d9d4628deebd25ac8769135", kill_on_drop: false }` [INFO] [stdout] 2c42eeab12cd99d63e0e40fa2f9405b39add43e63d9d4628deebd25ac8769135 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24a4931cb6718541c79d1494d53f81ddfc6e2885ac92a7fbc9a8009bcb65c9e5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "24a4931cb6718541c79d1494d53f81ddfc6e2885ac92a7fbc9a8009bcb65c9e5", kill_on_drop: false }` [INFO] [stderr] Compiling memory_bus v0.1.0 (/opt/rustwide/workdir/memory_bus) [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling minifb v0.13.0 [INFO] [stdout] warning: field is never read: `tiles` [INFO] [stdout] --> memory_bus/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | tiles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tile_index` [INFO] [stdout] --> memory_bus/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tile_index: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lr35902 v0.1.0 (/opt/rustwide/workdir/lr35902) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_RES16_W_ADDR` [INFO] [stdout] --> lr35902/src/operations.rs:1078:1 [INFO] [stdout] | [INFO] [stdout] 1078 | / pub(super) const OP_RES16_W_ADDR: [u16; 16] = [ [INFO] [stdout] 1079 | | 0b0010_0000__1000_0000, [INFO] [stdout] 1080 | | 0b0010_0000__0000_0000, [INFO] [stdout] 1081 | | 0b0010_0000__0000_0000, [INFO] [stdout] ... | [INFO] [stdout] 1094 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1095 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_SRC_ADD_CARRY_8BIT` [INFO] [stdout] --> lr35902/src/operations.rs:1287:1 [INFO] [stdout] | [INFO] [stdout] 1287 | / pub(super) const OP_SRC_ADD_CARRY_8BIT: [u16; 16] = [ [INFO] [stdout] 1288 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1289 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1290 | | 0b0000_0000__0000_0000, [INFO] [stdout] ... | [INFO] [stdout] 1303 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1304 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_SRC_SUB_CARRY_8BIT` [INFO] [stdout] --> lr35902/src/operations.rs:1325:1 [INFO] [stdout] | [INFO] [stdout] 1325 | / pub(super) const OP_SRC_SUB_CARRY_8BIT: [u16; 16] = [ [INFO] [stdout] 1326 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1327 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1328 | | 0b0000_0000__0000_0000, [INFO] [stdout] ... | [INFO] [stdout] 1341 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1342 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CBOP_VARIETY` [INFO] [stdout] --> lr35902/src/operations.rs:1518:1 [INFO] [stdout] | [INFO] [stdout] 1518 | / pub(super) const CBOP_VARIETY: [u16; 16] = [ [INFO] [stdout] 1519 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1520 | | 0b0000_0000__0000_0000, [INFO] [stdout] 1521 | | 0b0000_0000__0000_0000, [INFO] [stdout] ... | [INFO] [stdout] 1534 | | 0b1111_1111__1111_1111, [INFO] [stdout] 1535 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ppu v0.1.0 (/opt/rustwide/workdir/ppu) [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> ppu/src/lib.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn step(&mut self, mmu: &MMU, deltaclock: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cram` [INFO] [stdout] --> ppu/src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let cram = &mmu.ram[0x8000..0x9800]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bmap_1` [INFO] [stdout] --> ppu/src/lib.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let bmap_1 = &mmu.ram[0x9C00..0xA000]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bmap_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> ppu/src/lib.rs:85:94 [INFO] [stdout] | [INFO] [stdout] 85 | let window = Window::new("Test", 640, 480, WindowOptions::default()).unwrap_or_else(|e| panic!("{}, e")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ppu/src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut is_updated = self.window.is_open() && !self.window.is_key_down(Key::Escape); [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 is never read: `buffer` [INFO] [stdout] --> ppu/src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | buffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> ppu/src/lib.rs:85:105 [INFO] [stdout] | [INFO] [stdout] 85 | let window = Window::new("Test", 640, 480, WindowOptions::default()).unwrap_or_else(|e| panic!("{}, e")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 85 | let window = Window::new("Test", 640, 480, WindowOptions::default()).unwrap_or_else(|e| panic!("{}, e", ...)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 85 | let window = Window::new("Test", 640, 480, WindowOptions::default()).unwrap_or_else(|e| panic!("{}", "{}, e")); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling emulator v0.1.0 (/opt/rustwide/workdir/emulator) [INFO] [stdout] error: couldn't read emulator/src/D:/hobby/DMG_ROM.bin: No such file or directory (os error 2) [INFO] [stdout] --> emulator/src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let dmg_rom = include_bytes!("D:/hobby/DMG_ROM.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PPUWindow`, `PPU` [INFO] [stdout] --> emulator/src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use ppu::{PPU, PPUWindow}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> emulator/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> emulator/src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `emulator` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24a4931cb6718541c79d1494d53f81ddfc6e2885ac92a7fbc9a8009bcb65c9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24a4931cb6718541c79d1494d53f81ddfc6e2885ac92a7fbc9a8009bcb65c9e5", kill_on_drop: false }` [INFO] [stdout] 24a4931cb6718541c79d1494d53f81ddfc6e2885ac92a7fbc9a8009bcb65c9e5