[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] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d243268f7e91bcca189c394ff9ee3dfeaf732f20 [INFO] checking connor-lennox/rgbl against master#1673f1450eeaf4a5452e086db0fe2ae274a0144f for pr-99413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-lennox%2Frgbl" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/connor-lennox/rgbl on toolchain 1673f1450eeaf4a5452e086db0fe2ae274a0144f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "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-2/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" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "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 minimal-lexical v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.26 [INFO] [stderr] Downloaded winit_input_helper v0.10.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.4 [INFO] [stderr] Downloaded chlorine v1.0.7 [INFO] [stderr] Downloaded pixels v0.5.0 [INFO] [stderr] Downloaded imgui-wgpu v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc9761973e412515d79236fa3630f108da8ea3d14f2d92ee9c6c5497da16f08e [INFO] running `Command { std: "docker" "start" "-a" "dc9761973e412515d79236fa3630f108da8ea3d14f2d92ee9c6c5497da16f08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc9761973e412515d79236fa3630f108da8ea3d14f2d92ee9c6c5497da16f08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc9761973e412515d79236fa3630f108da8ea3d14f2d92ee9c6c5497da16f08e", kill_on_drop: false }` [INFO] [stdout] dc9761973e412515d79236fa3630f108da8ea3d14f2d92ee9c6c5497da16f08e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 319d05641c298ea845cefc51b7dac3e3ca5d93bc3e689590c209187fc4cc1ada [INFO] running `Command { std: "docker" "start" "-a" "319d05641c298ea845cefc51b7dac3e3ca5d93bc3e689590c209187fc4cc1ada", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking 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] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking glow v0.9.0 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking chlorine v1.0.7 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking wgpu-types v0.9.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling wgpu-core v0.9.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking gpu-alloc v0.4.7 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking gfx-renderdoc v0.1.0 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rose_tree v0.2.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling imgui-sys v0.7.0 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking naga v0.5.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking imgui v0.7.0 [INFO] [stderr] Checking imgui-winit-support v0.7.1 [INFO] [stderr] Checking winit_input_helper v0.10.0 [INFO] [stderr] Checking external-memory v0.0.1 [INFO] [stderr] Checking gfx-hal v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 [INFO] [stderr] Checking gfx-backend-empty v0.9.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.9.0 [INFO] [stderr] Checking wgpu v0.9.0 [INFO] [stderr] Checking imgui-wgpu v0.16.0 [INFO] [stderr] Checking pixels v0.5.0 [INFO] [stderr] Checking 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: `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: `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: `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: `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: `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: 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: 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: 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 `get_log_string` is never used [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: fields `rom_size`, `ram_size` and `banking_mode` are never read [INFO] [stdout] --> src/cartridge.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct MBC3 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 123 | // TODO: Finish this [INFO] [stdout] 124 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 125 | ram_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | banking_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_log_string` is never used [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: fields `rom_size`, `ram_size` and `banking_mode` are never read [INFO] [stdout] --> src/cartridge.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct MBC3 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 123 | // TODO: Finish this [INFO] [stdout] 124 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 125 | ram_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | banking_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.18s [INFO] running `Command { std: "docker" "inspect" "319d05641c298ea845cefc51b7dac3e3ca5d93bc3e689590c209187fc4cc1ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319d05641c298ea845cefc51b7dac3e3ca5d93bc3e689590c209187fc4cc1ada", kill_on_drop: false }` [INFO] [stdout] 319d05641c298ea845cefc51b7dac3e3ca5d93bc3e689590c209187fc4cc1ada