[INFO] cloning repository https://github.com/wsandst/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wsandst/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwsandst%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwsandst%2Fgameboy-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbdcdc1a0bb664d719e7c18f68f3d9a98f1203a2 [INFO] checking wsandst/gameboy-emulator against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwsandst%2Fgameboy-emulator" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wsandst/gameboy-emulator on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wsandst/gameboy-emulator [INFO] finished tweaking git repo https://github.com/wsandst/gameboy-emulator [INFO] tweaked toml for git repo https://github.com/wsandst/gameboy-emulator written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/wsandst/gameboy-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1/source/frontend_web/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.23 [INFO] [stderr] Downloaded text_io v0.1.8 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.23 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded sdl2-sys v0.34.4 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] [stderr] Downloaded sdl2 v0.34.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 936246a14eb0e3550a5f0e32aa9ae9aaed582acf065492ea4d4781e87d15d9e0 [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" "936246a14eb0e3550a5f0e32aa9ae9aaed582acf065492ea4d4781e87d15d9e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "936246a14eb0e3550a5f0e32aa9ae9aaed582acf065492ea4d4781e87d15d9e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936246a14eb0e3550a5f0e32aa9ae9aaed582acf065492ea4d4781e87d15d9e0", kill_on_drop: false }` [INFO] [stdout] 936246a14eb0e3550a5f0e32aa9ae9aaed582acf065492ea4d4781e87d15d9e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd21260af34cd0d3c5bb0b40b86dde5ffbadb3481e0ae7e83f728c3a9354c934 [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" "bd21260af34cd0d3c5bb0b40b86dde5ffbadb3481e0ae7e83f728c3a9354c934", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/frontend_web/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.4 [INFO] [stderr] Checking emulator_core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling sdl2-sys v0.34.4 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> core/src/emulator/screen.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> core/src/emulator/screen.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/emulator/cpu.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | other => panic!("Instruction 0xCB {0:#04x} is not implemented", other) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/emulator/rom.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | 0x4000 ..= 0x7FFF => { self.rom_banks[self.current_rom_bank as usize][addr - 0x4000] = val;} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> core/src/emulator/cpu.rs:1136:31 [INFO] [stdout] | [INFO] [stdout] 1136 | pub fn op_halt(&mut self, memory: &mut memory::Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_tiledata_1` [INFO] [stdout] --> core/src/emulator/gpu/draw_helper.rs:318:67 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn update_tiledata_by_address(&mut self, address : usize, is_tiledata_1: bool, gpu_vram: &[u8; 8192]) [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_tiledata_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_it` [INFO] [stdout] --> core/src/emulator/screen.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let new_it = ((line_y+cy)%255) * 256 * 3; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/emulator/cpu.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | other => panic!("Instruction 0xCB {0:#04x} is not implemented", other) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/emulator/rom.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | 0x4000 ..= 0x7FFF => { self.rom_banks[self.current_rom_bank as usize][addr - 0x4000] = val;} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> core/src/emulator/cpu.rs:1136:31 [INFO] [stdout] | [INFO] [stdout] 1136 | pub fn op_halt(&mut self, memory: &mut memory::Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_tiledata_1` [INFO] [stdout] --> core/src/emulator/gpu/draw_helper.rs:318:67 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn update_tiledata_by_address(&mut self, address : usize, is_tiledata_1: bool, gpu_vram: &[u8; 8192]) [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_tiledata_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_it` [INFO] [stdout] --> core/src/emulator/screen.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let new_it = ((line_y+cy)%255) * 256 * 3; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `external_ram_enabled` [INFO] [stdout] --> core/src/emulator/rom.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | external_ram_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `external_ram_enabled` [INFO] [stdout] --> core/src/emulator/rom.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | external_ram_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.23 [INFO] [stderr] Checking gb-emulator-native v0.1.0 (/opt/rustwide/workdir/frontend_native) [INFO] [stdout] warning: unused import: `emulator_core::debugger` [INFO] [stdout] --> frontend_native/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use emulator_core::debugger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emulator_core::debugger` [INFO] [stdout] --> frontend_native/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use emulator_core::debugger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_screen_buffer` [INFO] [stdout] --> frontend_native/src/renderer.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn update_screen_buffer(&mut self, buffer: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_screen_buffer` [INFO] [stdout] --> frontend_native/src/renderer.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn update_screen_buffer(&mut self, buffer: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking gb-emulator-web v0.1.0 (/opt/rustwide/workdir/frontend_web) [INFO] [stderr] Checking wasm-bindgen-futures v0.4.23 [INFO] [stderr] Checking wasm-bindgen-test v0.3.23 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.44s [INFO] running `Command { std: "docker" "inspect" "bd21260af34cd0d3c5bb0b40b86dde5ffbadb3481e0ae7e83f728c3a9354c934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd21260af34cd0d3c5bb0b40b86dde5ffbadb3481e0ae7e83f728c3a9354c934", kill_on_drop: false }` [INFO] [stdout] bd21260af34cd0d3c5bb0b40b86dde5ffbadb3481e0ae7e83f728c3a9354c934