[INFO] cloning repository https://github.com/GarrettFechter/rusty-gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GarrettFechter/rusty-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGarrettFechter%2Frusty-gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGarrettFechter%2Frusty-gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 141c753c34511911b7e52fcbab924e8a109cba6e [INFO] building GarrettFechter/rusty-gb against master#f3126500f25114ba4e0ac3e76694dd45a22de56d for pr-107620-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGarrettFechter%2Frusty-gb" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GarrettFechter/rusty-gb on toolchain f3126500f25114ba4e0ac3e76694dd45a22de56d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/GarrettFechter/rusty-gb [INFO] finished tweaking git repo https://github.com/GarrettFechter/rusty-gb [INFO] tweaked toml for git repo https://github.com/GarrettFechter/rusty-gb written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GarrettFechter/rusty-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" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ultraviolet v0.9.0 [INFO] [stderr] Downloaded ash v0.37.1+1.3.235 [INFO] [stderr] Downloaded pixels v0.10.0 [INFO] [stderr] Downloaded winit_input_helper v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1f98b8867c4898899c70d14f82716c5a9760a29979566fd383680c9dbdb216d [INFO] running `Command { std: "docker" "start" "-a" "e1f98b8867c4898899c70d14f82716c5a9760a29979566fd383680c9dbdb216d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1f98b8867c4898899c70d14f82716c5a9760a29979566fd383680c9dbdb216d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f98b8867c4898899c70d14f82716c5a9760a29979566fd383680c9dbdb216d", kill_on_drop: false }` [INFO] [stdout] e1f98b8867c4898899c70d14f82716c5a9760a29979566fd383680c9dbdb216d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a6579dc8af269b083083030af8251f8f0ce563ff4610f9f825877ead72ed0b1 [INFO] running `Command { std: "docker" "start" "-a" "3a6579dc8af269b083083030af8251f8f0ce563ff4610f9f825877ead72ed0b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ash v0.37.1+1.3.235 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling wgpu-types v0.13.2 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling memmap2 v0.5.8 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wide v0.7.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling ultraviolet v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling naga v0.9.0 [INFO] [stderr] Compiling calloop v0.10.3 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling wgpu-hal v0.13.2 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling winit_input_helper v0.12.0 [INFO] [stderr] Compiling wgpu v0.13.1 [INFO] [stderr] Compiling pixels v0.10.0 [INFO] [stderr] Compiling rusty_gb_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualKeyCode` [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::PPU` [INFO] [stdout] --> src/cpu/ppu/ppu_registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::PPU; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event` [INFO] [stdout] --> src/cpu/ppu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/cpu/ppu.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicalSize` [INFO] [stdout] --> src/cpu/ppu.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use winit::dpi::{LogicalSize, PhysicalSize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw_window_handle::HasRawWindowHandle` [INFO] [stdout] --> src/cpu/ppu.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | use pixels::{Error, Pixels, SurfaceTexture, raw_window_handle::HasRawWindowHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::MemoryBus` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cpu::MemoryBus; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::Registers` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cpu::Registers; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::cpu_registers::FlagsRegister` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cpu::cpu_registers::FlagsRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::PPU` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cpu::PPU; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_test` is never used [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new_test() -> CPU { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `frame_step` is never used [INFO] [stdout] --> src/cpu.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn frame_step(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HL` is never constructed [INFO] [stdout] --> src/cpu/instructions.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum JumpAddr { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 43 | IMM16, HL, REL, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC16` is never constructed [INFO] [stdout] --> src/cpu/instructions.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | DEC16(ArithmeticTarget16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cpu/ppu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | input: WinitInputHelper, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | control_reg: PPUControlRegister, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | status_reg: PPUStatusRegister, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | vertical_scroll_reg: VerticalScrollRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | horizontal_scroll_reg: HorizontalScrollRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | scaline_reg: ScanlineRegister, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | scanline_compare_reg: ScanlineCompareRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.82s [INFO] running `Command { std: "docker" "inspect" "3a6579dc8af269b083083030af8251f8f0ce563ff4610f9f825877ead72ed0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6579dc8af269b083083030af8251f8f0ce563ff4610f9f825877ead72ed0b1", kill_on_drop: false }` [INFO] [stdout] 3a6579dc8af269b083083030af8251f8f0ce563ff4610f9f825877ead72ed0b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] def447df115bbf7a7da55027b89f164f45699e1dacc3331c31dafdd11ea47429 [INFO] running `Command { std: "docker" "start" "-a" "def447df115bbf7a7da55027b89f164f45699e1dacc3331c31dafdd11ea47429", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualKeyCode` [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::PPU` [INFO] [stdout] --> src/cpu/ppu/ppu_registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::PPU; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event` [INFO] [stdout] --> src/cpu/ppu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/cpu/ppu.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicalSize` [INFO] [stdout] --> src/cpu/ppu.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use winit::dpi::{LogicalSize, PhysicalSize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw_window_handle::HasRawWindowHandle` [INFO] [stdout] --> src/cpu/ppu.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | use pixels::{Error, Pixels, SurfaceTexture, raw_window_handle::HasRawWindowHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::MemoryBus` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cpu::MemoryBus; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::Registers` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cpu::Registers; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::cpu_registers::FlagsRegister` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cpu::cpu_registers::FlagsRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::PPU` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cpu::PPU; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_test` is never used [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new_test() -> CPU { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `frame_step` is never used [INFO] [stdout] --> src/cpu.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn frame_step(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HL` is never constructed [INFO] [stdout] --> src/cpu/instructions.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum JumpAddr { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 43 | IMM16, HL, REL, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC16` is never constructed [INFO] [stdout] --> src/cpu/instructions.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | DEC16(ArithmeticTarget16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cpu/ppu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | input: WinitInputHelper, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | control_reg: PPUControlRegister, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | status_reg: PPUStatusRegister, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | vertical_scroll_reg: VerticalScrollRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | horizontal_scroll_reg: HorizontalScrollRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | scaline_reg: ScanlineRegister, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | scanline_compare_reg: ScanlineCompareRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty_gb_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualKeyCode` [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::PPU` [INFO] [stdout] --> src/cpu/ppu/ppu_registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::PPU; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event` [INFO] [stdout] --> src/cpu/ppu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/cpu/ppu.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicalSize` [INFO] [stdout] --> src/cpu/ppu.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use winit::dpi::{LogicalSize, PhysicalSize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw_window_handle::HasRawWindowHandle` [INFO] [stdout] --> src/cpu/ppu.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | use pixels::{Error, Pixels, SurfaceTexture, raw_window_handle::HasRawWindowHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::MemoryBus` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cpu::MemoryBus; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::Registers` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cpu::Registers; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::cpu_registers::FlagsRegister` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cpu::cpu_registers::FlagsRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::PPU` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cpu::PPU; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `frame_step` is never used [INFO] [stdout] --> src/cpu.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn frame_step(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HL` is never constructed [INFO] [stdout] --> src/cpu/instructions.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum JumpAddr { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 43 | IMM16, HL, REL, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC16` is never constructed [INFO] [stdout] --> src/cpu/instructions.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | DEC16(ArithmeticTarget16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cpu/ppu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | input: WinitInputHelper, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | control_reg: PPUControlRegister, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | status_reg: PPUStatusRegister, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | vertical_scroll_reg: VerticalScrollRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | horizontal_scroll_reg: HorizontalScrollRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | scaline_reg: ScanlineRegister, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | scanline_compare_reg: ScanlineCompareRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.40s [INFO] running `Command { std: "docker" "inspect" "def447df115bbf7a7da55027b89f164f45699e1dacc3331c31dafdd11ea47429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "def447df115bbf7a7da55027b89f164f45699e1dacc3331c31dafdd11ea47429", kill_on_drop: false }` [INFO] [stdout] def447df115bbf7a7da55027b89f164f45699e1dacc3331c31dafdd11ea47429