[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-lennox%2Frgbl" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/connor-lennox/rgbl on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-22/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixels v0.5.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.4 [INFO] [stderr] Downloaded winit_input_helper v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f067674f960974cc77fabfeb87c649a4bef1c1db551884f207ca1701e016843 [INFO] running `Command { std: "docker" "start" "-a" "7f067674f960974cc77fabfeb87c649a4bef1c1db551884f207ca1701e016843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f067674f960974cc77fabfeb87c649a4bef1c1db551884f207ca1701e016843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f067674f960974cc77fabfeb87c649a4bef1c1db551884f207ca1701e016843", kill_on_drop: false }` [INFO] [stdout] 7f067674f960974cc77fabfeb87c649a4bef1c1db551884f207ca1701e016843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3899370479de6d6512662dcca9acd63f432271fbb2d6f9838836706521189afa [INFO] running `Command { std: "docker" "start" "-a" "3899370479de6d6512662dcca9acd63f432271fbb2d6f9838836706521189afa", 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] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [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 serde_derive v1.0.129 [INFO] [stderr] Compiling parking_lot_core v0.8.4 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [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 crossbeam-queue v0.3.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [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 ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling glow v0.9.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling chlorine v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.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 codespan-reporting v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling gpu-alloc v0.4.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling wgpu-core v0.9.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling gfx-renderdoc v0.1.0 [INFO] [stderr] Compiling ash v0.32.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gpu-descriptor v0.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rose_tree v0.2.0 [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 mio v0.7.13 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling atty v0.2.14 [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 env_logger v0.9.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling mio-misc v1.2.1 [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 external-memory v0.0.1 [INFO] [stderr] Compiling gfx-hal v0.9.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.9.0 [INFO] [stderr] Compiling gfx-backend-empty v0.9.0 [INFO] [stderr] Compiling gfx-backend-gl 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 54.89s [INFO] running `Command { std: "docker" "inspect" "3899370479de6d6512662dcca9acd63f432271fbb2d6f9838836706521189afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3899370479de6d6512662dcca9acd63f432271fbb2d6f9838836706521189afa", kill_on_drop: false }` [INFO] [stdout] 3899370479de6d6512662dcca9acd63f432271fbb2d6f9838836706521189afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adeabf5e76ea85f725353d420c6212a7c69a4592c3394940d75e615e807129a4 [INFO] running `Command { std: "docker" "start" "-a" "adeabf5e76ea85f725353d420c6212a7c69a4592c3394940d75e615e807129a4", 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.74s [INFO] running `Command { std: "docker" "inspect" "adeabf5e76ea85f725353d420c6212a7c69a4592c3394940d75e615e807129a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adeabf5e76ea85f725353d420c6212a7c69a4592c3394940d75e615e807129a4", kill_on_drop: false }` [INFO] [stdout] adeabf5e76ea85f725353d420c6212a7c69a4592c3394940d75e615e807129a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 042978c6e9120e6c99b25493fa348d899e58e6406c25e42936332be97d8dac51 [INFO] running `Command { std: "docker" "start" "-a" "042978c6e9120e6c99b25493fa348d899e58e6406c25e42936332be97d8dac51", 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: 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.23s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rgbl-1fbde38798c1b6a4) [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" "042978c6e9120e6c99b25493fa348d899e58e6406c25e42936332be97d8dac51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "042978c6e9120e6c99b25493fa348d899e58e6406c25e42936332be97d8dac51", kill_on_drop: false }` [INFO] [stdout] 042978c6e9120e6c99b25493fa348d899e58e6406c25e42936332be97d8dac51