[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] dd53714b8aa7f99bf611d6fe761cf953f752fda3 [INFO] testing connor-lennox/rgbl against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-lennox%2Frgbl" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/connor-lennox/rgbl on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-61/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2a58eebe959a4d31e9a69bfc65523138a5e2a70c89a0f1de8299bae79ea9c02 [INFO] running `Command { std: "docker" "start" "-a" "b2a58eebe959a4d31e9a69bfc65523138a5e2a70c89a0f1de8299bae79ea9c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2a58eebe959a4d31e9a69bfc65523138a5e2a70c89a0f1de8299bae79ea9c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a58eebe959a4d31e9a69bfc65523138a5e2a70c89a0f1de8299bae79ea9c02", kill_on_drop: false }` [INFO] [stdout] b2a58eebe959a4d31e9a69bfc65523138a5e2a70c89a0f1de8299bae79ea9c02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc76592b6bafe109387ced75a9a02bdd61e77fb1de98d696ee28ec31f0507426 [INFO] running `Command { std: "docker" "start" "-a" "bc76592b6bafe109387ced75a9a02bdd61e77fb1de98d696ee28ec31f0507426", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [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 memchr v2.4.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [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 ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling glow v0.9.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling winit v0.25.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 regex-syntax v0.6.25 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling wgpu-types v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling wgpu-core v0.9.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling gpu-alloc v0.4.7 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ash v0.32.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling gfx-renderdoc v0.1.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling gpu-descriptor v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling andrew v0.3.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 memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling rose_tree v0.2.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [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 calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [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 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 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-vulkan v0.9.0 [INFO] [stderr] Compiling gfx-backend-empty v0.9.0 [INFO] [stderr] Compiling wgpu v0.9.0 [INFO] [stderr] Compiling pixels v0.5.0 [INFO] [stderr] Compiling imgui-wgpu v0.16.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: field is never read: `rom_size` [INFO] [stdout] --> src/cartridge.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram_size` [INFO] [stdout] --> src/cartridge.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | ram_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `banking_mode` [INFO] [stdout] --> src/cartridge.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | banking_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "bc76592b6bafe109387ced75a9a02bdd61e77fb1de98d696ee28ec31f0507426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc76592b6bafe109387ced75a9a02bdd61e77fb1de98d696ee28ec31f0507426", kill_on_drop: false }` [INFO] [stdout] bc76592b6bafe109387ced75a9a02bdd61e77fb1de98d696ee28ec31f0507426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ed41c0e659c4595a8f4ecafa77ad3e3814207e13f4e57fd22816ec3fb336fbe [INFO] running `Command { std: "docker" "start" "-a" "9ed41c0e659c4595a8f4ecafa77ad3e3814207e13f4e57fd22816ec3fb336fbe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: field is never read: `rom_size` [INFO] [stdout] --> src/cartridge.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram_size` [INFO] [stdout] --> src/cartridge.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | ram_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `banking_mode` [INFO] [stdout] --> src/cartridge.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | banking_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.63s [INFO] running `Command { std: "docker" "inspect" "9ed41c0e659c4595a8f4ecafa77ad3e3814207e13f4e57fd22816ec3fb336fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed41c0e659c4595a8f4ecafa77ad3e3814207e13f4e57fd22816ec3fb336fbe", kill_on_drop: false }` [INFO] [stdout] 9ed41c0e659c4595a8f4ecafa77ad3e3814207e13f4e57fd22816ec3fb336fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 281e521b03f311559519132c6ffef826f833bf84b6c5d07160d1ed4a9cc3123c [INFO] running `Command { std: "docker" "start" "-a" "281e521b03f311559519132c6ffef826f833bf84b6c5d07160d1ed4a9cc3123c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: field is never read: `rom_size` [INFO] [stderr] --> src/cartridge.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | rom_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ram_size` [INFO] [stderr] --> src/cartridge.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | ram_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `banking_mode` [INFO] [stderr] --> src/cartridge.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | banking_mode: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [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] warning: `rgbl` (bin "rgbl" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.65s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rgbl-74a53b500930e3c7) [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" "281e521b03f311559519132c6ffef826f833bf84b6c5d07160d1ed4a9cc3123c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281e521b03f311559519132c6ffef826f833bf84b6c5d07160d1ed4a9cc3123c", kill_on_drop: false }` [INFO] [stdout] 281e521b03f311559519132c6ffef826f833bf84b6c5d07160d1ed4a9cc3123c