[INFO] cloning repository https://github.com/hkamran/RustyBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hkamran/RustyBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkamran%2FRustyBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkamran%2FRustyBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31fb264e6b7a9ecd12da8a6bc228195bc288d560 [INFO] checking hkamran/RustyBoy against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkamran%2FRustyBoy" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hkamran/RustyBoy on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hkamran/RustyBoy [INFO] finished tweaking git repo https://github.com/hkamran/RustyBoy [INFO] tweaked toml for git repo https://github.com/hkamran/RustyBoy written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/hkamran/RustyBoy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf3b51558b5e80cffab94372895129eefafaa56ef3f2cd854a0b1ec48868d0db [INFO] running `Command { std: "docker" "start" "-a" "cf3b51558b5e80cffab94372895129eefafaa56ef3f2cd854a0b1ec48868d0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf3b51558b5e80cffab94372895129eefafaa56ef3f2cd854a0b1ec48868d0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3b51558b5e80cffab94372895129eefafaa56ef3f2cd854a0b1ec48868d0db", kill_on_drop: false }` [INFO] [stdout] cf3b51558b5e80cffab94372895129eefafaa56ef3f2cd854a0b1ec48868d0db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8709b6ec5ddbd87238204b666926774f25948a3adcde2463ee6884ab2323d62 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d8709b6ec5ddbd87238204b666926774f25948a3adcde2463ee6884ab2323d62", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [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.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling minifb v0.19.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.45 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/console.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cartridge.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | impl fmt::Debug for Cartridge { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::Mmu` [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mmu::Mmu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `WindowOptions`, `Window` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/console.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::Mmu` [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mmu::Mmu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cartridge.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | impl fmt::Debug for Cartridge { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/console.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::Mmu` [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mmu::Mmu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cartridge.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | impl fmt::Debug for Cartridge { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/console.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cartridge.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | impl fmt::Debug for Cartridge { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::Mmu` [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mmu::Mmu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `WindowOptions`, `Window` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/console.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_cartridge` [INFO] [stdout] --> src/console.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_cartridge(&mut self, cart_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MBC1` [INFO] [stdout] --> src/cartridge.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MBC1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_priority` [INFO] [stdout] --> src/ppu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | has_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pal_palette_index` [INFO] [stdout] --> src/ppu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pal_palette_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/dma.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn tick(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_hdma` [INFO] [stdout] --> src/dma.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn execute_hdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_gdma` [INFO] [stdout] --> src/dma.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn execute_gdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_vram_dma_row` [INFO] [stdout] --> src/dma.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn perform_vram_dma_row(&mut self, mmu: &mut Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const WIDTH: usize = 640; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const HEIGHT: usize = 360; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/console.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/console.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/console.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn tick(&mut self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_cartridge` [INFO] [stdout] --> src/console.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_cartridge(&mut self, cart_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_priority` [INFO] [stdout] --> src/ppu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | has_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pal_palette_index` [INFO] [stdout] --> src/ppu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pal_palette_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MBC1` [INFO] [stdout] --> src/cartridge.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MBC1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/dma.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn tick(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_hdma` [INFO] [stdout] --> src/dma.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn execute_hdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_gdma` [INFO] [stdout] --> src/dma.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn execute_gdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_vram_dma_row` [INFO] [stdout] --> src/dma.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn perform_vram_dma_row(&mut self, mmu: &mut Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/console.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/console.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/console.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn tick(&mut self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_cartridge` [INFO] [stdout] --> src/console.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_cartridge(&mut self, cart_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_priority` [INFO] [stdout] --> src/ppu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | has_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pal_palette_index` [INFO] [stdout] --> src/ppu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pal_palette_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MBC1` [INFO] [stdout] --> src/cartridge.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MBC1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/dma.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn tick(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_hdma` [INFO] [stdout] --> src/dma.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn execute_hdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_gdma` [INFO] [stdout] --> src/dma.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn execute_gdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_vram_dma_row` [INFO] [stdout] --> src/dma.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn perform_vram_dma_row(&mut self, mmu: &mut Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/console.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_cartridge` [INFO] [stdout] --> src/console.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_cartridge(&mut self, cart_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MBC1` [INFO] [stdout] --> src/cartridge.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MBC1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_priority` [INFO] [stdout] --> src/ppu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | has_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pal_palette_index` [INFO] [stdout] --> src/ppu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pal_palette_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/dma.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn tick(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_hdma` [INFO] [stdout] --> src/dma.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn execute_hdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_gdma` [INFO] [stdout] --> src/dma.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn execute_gdma(&mut self, mmu: &mut Mmu) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_vram_dma_row` [INFO] [stdout] --> src/dma.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn perform_vram_dma_row(&mut self, mmu: &mut Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const WIDTH: usize = 640; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const HEIGHT: usize = 360; [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 1m 00s [INFO] running `Command { std: "docker" "inspect" "d8709b6ec5ddbd87238204b666926774f25948a3adcde2463ee6884ab2323d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8709b6ec5ddbd87238204b666926774f25948a3adcde2463ee6884ab2323d62", kill_on_drop: false }` [INFO] [stdout] d8709b6ec5ddbd87238204b666926774f25948a3adcde2463ee6884ab2323d62