[INFO] cloning repository https://github.com/connor-lennox/rgbl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/connor-lennox/rgbl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-lennox%2Frgbl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-lennox%2Frgbl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d243268f7e91bcca189c394ff9ee3dfeaf732f20 [INFO] testing connor-lennox/rgbl against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-lennox%2Frgbl" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/connor-lennox/rgbl on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/connor-lennox/rgbl [INFO] finished tweaking git repo https://github.com/connor-lennox/rgbl [INFO] tweaked toml for git repo https://github.com/connor-lennox/rgbl written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/connor-lennox/rgbl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.8.4 [INFO] [stderr] Downloaded wgpu-types v0.9.0 [INFO] [stderr] Downloaded pixels v0.5.0 [INFO] [stderr] Downloaded wgpu-core v0.9.2 [INFO] [stderr] Downloaded wgpu v0.9.0 [INFO] [stderr] Downloaded gfx-backend-empty v0.9.0 [INFO] [stderr] Downloaded gfx-backend-gl v0.9.0 [INFO] [stderr] Downloaded gfx-auxil v0.10.0 [INFO] [stderr] Downloaded imgui-wgpu v0.16.0 [INFO] [stderr] Downloaded gfx-backend-metal v0.9.1 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.9.0 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.9.1 [INFO] [stderr] Downloaded enum_dispatch v0.3.7 [INFO] [stderr] Downloaded gfx-hal v0.9.0 [INFO] [stderr] Downloaded drm-fourcc v2.1.1 [INFO] [stderr] Downloaded winit_input_helper v0.10.0 [INFO] [stderr] Downloaded minimal-lexical v0.1.2 [INFO] [stderr] Downloaded rose_tree v0.2.0 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.9.0 [INFO] [stderr] Downloaded gfx-renderdoc v0.1.0 [INFO] [stderr] Downloaded external-memory v0.0.1 [INFO] [stderr] Downloaded naga v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da499845f9b49bbd8d0a6c3c24982d042b259e413d4edef8bb1a4e135577b41c [INFO] running `Command { std: "docker" "start" "-a" "da499845f9b49bbd8d0a6c3c24982d042b259e413d4edef8bb1a4e135577b41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da499845f9b49bbd8d0a6c3c24982d042b259e413d4edef8bb1a4e135577b41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da499845f9b49bbd8d0a6c3c24982d042b259e413d4edef8bb1a4e135577b41c", kill_on_drop: false }` [INFO] [stdout] da499845f9b49bbd8d0a6c3c24982d042b259e413d4edef8bb1a4e135577b41c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa420230d7e0bb6c871e9c42bd23106f4a8694a5d46e363f8c1b66847fde99a5 [INFO] running `Command { std: "docker" "start" "-a" "aa420230d7e0bb6c871e9c42bd23106f4a8694a5d46e363f8c1b66847fde99a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling glow v0.9.0 [INFO] [stderr] Compiling chlorine v1.0.7 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling ash v0.32.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v0.9.0 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling wgpu-core v0.9.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling gpu-alloc v0.4.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling gfx-renderdoc v0.1.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling gpu-descriptor v0.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling rose_tree v0.2.0 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling imgui-sys v0.7.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling naga v0.5.0 [INFO] [stderr] Compiling imgui v0.7.0 [INFO] [stderr] Compiling external-memory v0.0.1 [INFO] [stderr] Compiling gfx-hal v0.9.0 [INFO] [stderr] Compiling gfx-backend-gl v0.9.0 [INFO] [stderr] Compiling gfx-backend-empty v0.9.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.9.0 [INFO] [stderr] Compiling wgpu v0.9.0 [INFO] [stderr] Compiling imgui-wgpu v0.16.0 [INFO] [stderr] Compiling pixels v0.5.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling imgui-winit-support v0.7.1 [INFO] [stderr] Compiling winit_input_helper v0.10.0 [INFO] [stderr] Compiling rgbl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, BufRead}; [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] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Joypad` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use joypad::{Joypad, JoypadButton}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/motherboard.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::joypad::{self, Joypad}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/motherboard.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cpu.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | 0x10 => { todo!("stop"); 1 } [INFO] [stdout] | ------------- ^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mb` [INFO] [stdout] --> src/main.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | fn draw_lcd(lcd: &Lcd, frame: &mut [u8], mb: &Motherboard) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/cartridge.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let title: &[u8] = &rom[0x0134..0x0143]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `licensee_code` [INFO] [stdout] --> src/cartridge.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let licensee_code: &[u8] = &rom[0x0144..0x0145]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_licensee_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_size` [INFO] [stdout] --> src/cartridge.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let rom_size: usize = 0x8000 << rom[0x0148]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_log_string` [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_log_string(mb: &Motherboard) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom_size` [INFO] [stdout] --> src/cartridge.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram_size` [INFO] [stdout] --> src/cartridge.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | ram_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `banking_mode` [INFO] [stdout] --> src/cartridge.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | banking_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.54s [INFO] running `Command { std: "docker" "inspect" "aa420230d7e0bb6c871e9c42bd23106f4a8694a5d46e363f8c1b66847fde99a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa420230d7e0bb6c871e9c42bd23106f4a8694a5d46e363f8c1b66847fde99a5", kill_on_drop: false }` [INFO] [stdout] aa420230d7e0bb6c871e9c42bd23106f4a8694a5d46e363f8c1b66847fde99a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01e34c0a121047d60226fc83c456d50db7ec40c65a13f20a9599679493e29211 [INFO] running `Command { std: "docker" "start" "-a" "01e34c0a121047d60226fc83c456d50db7ec40c65a13f20a9599679493e29211", kill_on_drop: false }` [INFO] [stderr] Compiling rgbl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, BufRead}; [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] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Joypad` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use joypad::{Joypad, JoypadButton}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/motherboard.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::joypad::{self, Joypad}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/motherboard.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cpu.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | 0x10 => { todo!("stop"); 1 } [INFO] [stdout] | ------------- ^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mb` [INFO] [stdout] --> src/main.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | fn draw_lcd(lcd: &Lcd, frame: &mut [u8], mb: &Motherboard) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/cartridge.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let title: &[u8] = &rom[0x0134..0x0143]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `licensee_code` [INFO] [stdout] --> src/cartridge.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let licensee_code: &[u8] = &rom[0x0144..0x0145]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_licensee_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_size` [INFO] [stdout] --> src/cartridge.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let rom_size: usize = 0x8000 << rom[0x0148]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_log_string` [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_log_string(mb: &Motherboard) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom_size` [INFO] [stdout] --> src/cartridge.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram_size` [INFO] [stdout] --> src/cartridge.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | ram_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `banking_mode` [INFO] [stdout] --> src/cartridge.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | banking_mode: bool, [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 1.55s [INFO] running `Command { std: "docker" "inspect" "01e34c0a121047d60226fc83c456d50db7ec40c65a13f20a9599679493e29211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e34c0a121047d60226fc83c456d50db7ec40c65a13f20a9599679493e29211", kill_on_drop: false }` [INFO] [stdout] 01e34c0a121047d60226fc83c456d50db7ec40c65a13f20a9599679493e29211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] feb62573b443abf8a36ff46adf91ad028f4579a1264d29661f87891cc38c5e4d [INFO] running `Command { std: "docker" "start" "-a" "feb62573b443abf8a36ff46adf91ad028f4579a1264d29661f87891cc38c5e4d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `BufRead` [INFO] [stderr] --> src/main.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{self, BufRead}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Joypad` [INFO] [stderr] --> src/main.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | use joypad::{Joypad, JoypadButton}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Event` [INFO] [stderr] --> src/main.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/motherboard.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::joypad::{self, Joypad}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ppu::Ppu` [INFO] [stderr] --> src/motherboard.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::ppu::Ppu; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/cpu.rs:157:38 [INFO] [stderr] | [INFO] [stderr] 157 | 0x10 => { todo!("stop"); 1 } [INFO] [stderr] | ------------- ^ unreachable expression [INFO] [stderr] | | [INFO] [stderr] | any code following this expression is unreachable [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mb` [INFO] [stderr] --> src/main.rs:166:42 [INFO] [stderr] | [INFO] [stderr] 166 | fn draw_lcd(lcd: &Lcd, frame: &mut [u8], mb: &Motherboard) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_mb` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `title` [INFO] [stderr] --> src/cartridge.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let title: &[u8] = &rom[0x0134..0x0143]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `licensee_code` [INFO] [stderr] --> src/cartridge.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let licensee_code: &[u8] = &rom[0x0144..0x0145]; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_licensee_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rom_size` [INFO] [stderr] --> src/cartridge.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let rom_size: usize = 0x8000 << rom[0x0148]; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_size` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_log_string` [INFO] [stderr] --> src/main.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | fn get_log_string(mb: &Motherboard) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rom_size` [INFO] [stderr] --> src/cartridge.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | rom_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ram_size` [INFO] [stderr] --> src/cartridge.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | ram_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `banking_mode` [INFO] [stderr] --> src/cartridge.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | banking_mode: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rgbl` (bin "rgbl" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rgbl-74898fbb2f5b6249) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "feb62573b443abf8a36ff46adf91ad028f4579a1264d29661f87891cc38c5e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb62573b443abf8a36ff46adf91ad028f4579a1264d29661f87891cc38c5e4d", kill_on_drop: false }` [INFO] [stdout] feb62573b443abf8a36ff46adf91ad028f4579a1264d29661f87891cc38c5e4d