[INFO] cloning repository https://github.com/Polaro4/NES_Emulador [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Polaro4/NES_Emulador" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolaro4%2FNES_Emulador", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolaro4%2FNES_Emulador'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36e27be4b4cfbc797800a13d293f2b78616c22ab [INFO] building Polaro4/NES_Emulador against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolaro4%2FNES_Emulador" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Polaro4/NES_Emulador [INFO] finished tweaking git repo https://github.com/Polaro4/NES_Emulador [INFO] tweaked toml for git repo https://github.com/Polaro4/NES_Emulador written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Polaro4/NES_Emulador on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Polaro4/NES_Emulador already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded png v0.17.16 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded flate2 v1.1.2 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] [stderr] Downloaded image v0.24.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12a3566ef698be761809a20941bd4f1397ceff8cf574504e80340a2b808eb64c [INFO] running `Command { std: "docker" "start" "-a" "12a3566ef698be761809a20941bd4f1397ceff8cf574504e80340a2b808eb64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12a3566ef698be761809a20941bd4f1397ceff8cf574504e80340a2b808eb64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a3566ef698be761809a20941bd4f1397ceff8cf574504e80340a2b808eb64c", kill_on_drop: false }` [INFO] [stdout] 12a3566ef698be761809a20941bd4f1397ceff8cf574504e80340a2b808eb64c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 7f41cfaf817706ba1323586ba330602fd2cb071cb72c1f179794bc5dd67c15b4 [INFO] running `Command { std: "docker" "start" "-a" "7f41cfaf817706ba1323586ba330602fd2cb071cb72c1f179794bc5dd67c15b4", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling nes_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cpu::cpu::CpuFlags` [INFO] [stdout] --> src/ppu/ppuaddr.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpu::cpu::CpuFlags, ppu::ppu::PpuCtrlFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_chr` and `write_chr` are never used [INFO] [stdout] --> src/memory/mappers.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Mapper { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn read_chr(&self, addr: u16) -> u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | [INFO] [stdout] 32 | fn write_chr(&mut self, addr: u16, val: u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chr_rom` is never read [INFO] [stdout] --> src/memory/mappers.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct InesMapper000 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 40 | pub prg_rom: Vec, [INFO] [stdout] 41 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestMapper` is never constructed [INFO] [stdout] --> src/memory/dummy_mapper.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestMapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/dummy_mapper.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TestMapper { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(program: Vec) -> Rc>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NESColor` is never constructed [INFO] [stdout] --> src/ppu/ppu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct NESColor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NTSC_PALETTE` is never used [INFO] [stdout] --> src/ppu/ppu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | const NTSC_PALETTE: [NESColor; 64] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu/ppu.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct PPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | pub oam_dma: u8, //[0x4014] adress [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub internal_v: PPUAddress, // vram address during the rendering [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | pub internal_t: PPUAddress, // temporary vram address (used by PPUSCROLL and PPUADDR) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub bg_nametable_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub bg_attribute_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | pub bg_low_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 167 | pub bg_high_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 168 | pub bg_shifter_pattern_low: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | pub bg_shifter_pattern_high: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | pub bg_shifter_attribute_low: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | pub bg_shifter_attribute_high: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam` is never read [INFO] [stdout] --> src/ppu/ppubus.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PPUBUS { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | oam: [u8; 0xff], //256 bytes(up to 64 sprites [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_ppubus` and `read_vram` are never used [INFO] [stdout] --> src/ppu/ppubus.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PPUBUS { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn read_ppubus(&self, addr: u16) -> u8{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn read_vram(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> src/ppu/frame.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `WIDTH`, `HIGHT`, `new`, and `set_pixel` are never used [INFO] [stdout] --> src/ppu/frame.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 6 | const WIDTH: usize = 256; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | const HIGHT: usize = 240; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set_pixel(&mut self, x: usize, y: usize, rgb: (u8, u8, u8)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ppu/ppuaddr.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PPUAddress { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set_coarse_x(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_coarse_x(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_coarse_y(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_coarse_y(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_nametable(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_namtable(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_fine_y(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_fine_y(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn incrmeent_course_x(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn incrment_fine_y(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_attribute_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_pattern_table_addr(&self, ctrl_flags: PpuCtrlFlags, tile_id: u8) -> u16{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.25s [INFO] running `Command { std: "docker" "inspect" "7f41cfaf817706ba1323586ba330602fd2cb071cb72c1f179794bc5dd67c15b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f41cfaf817706ba1323586ba330602fd2cb071cb72c1f179794bc5dd67c15b4", kill_on_drop: false }` [INFO] [stdout] 7f41cfaf817706ba1323586ba330602fd2cb071cb72c1f179794bc5dd67c15b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 70ae512e6bb95003c4120989fdd22a17bc3e347b841a33c5f27bf997489644a4 [INFO] running `Command { std: "docker" "start" "-a" "70ae512e6bb95003c4120989fdd22a17bc3e347b841a33c5f27bf997489644a4", kill_on_drop: false }` [INFO] [stderr] Compiling nes_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cpu::cpu::CpuFlags` [INFO] [stdout] --> src/ppu/ppuaddr.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpu::cpu::CpuFlags, ppu::ppu::PpuCtrlFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_chr` and `write_chr` are never used [INFO] [stdout] --> src/memory/mappers.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Mapper { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn read_chr(&self, addr: u16) -> u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | [INFO] [stdout] 32 | fn write_chr(&mut self, addr: u16, val: u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chr_rom` is never read [INFO] [stdout] --> src/memory/mappers.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct InesMapper000 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 40 | pub prg_rom: Vec, [INFO] [stdout] 41 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chr_rom` is never read [INFO] [stdout] --> src/memory/dummy_mapper.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestMapper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | chr_rom: [u8; 0x2000] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NESColor` is never constructed [INFO] [stdout] --> src/ppu/ppu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct NESColor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NTSC_PALETTE` is never used [INFO] [stdout] --> src/ppu/ppu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | const NTSC_PALETTE: [NESColor; 64] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu/ppu.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct PPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | pub oam_dma: u8, //[0x4014] adress [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub internal_v: PPUAddress, // vram address during the rendering [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | pub internal_t: PPUAddress, // temporary vram address (used by PPUSCROLL and PPUADDR) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub bg_nametable_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub bg_attribute_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | pub bg_low_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 167 | pub bg_high_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 168 | pub bg_shifter_pattern_low: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | pub bg_shifter_pattern_high: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | pub bg_shifter_attribute_low: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | pub bg_shifter_attribute_high: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam` is never read [INFO] [stdout] --> src/ppu/ppubus.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PPUBUS { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | oam: [u8; 0xff], //256 bytes(up to 64 sprites [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_ppubus` and `read_vram` are never used [INFO] [stdout] --> src/ppu/ppubus.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PPUBUS { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn read_ppubus(&self, addr: u16) -> u8{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn read_vram(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> src/ppu/frame.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `WIDTH`, `HIGHT`, `new`, and `set_pixel` are never used [INFO] [stdout] --> src/ppu/frame.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 6 | const WIDTH: usize = 256; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | const HIGHT: usize = 240; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set_pixel(&mut self, x: usize, y: usize, rgb: (u8, u8, u8)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ppu/ppuaddr.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PPUAddress { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set_coarse_x(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_coarse_x(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_coarse_y(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_coarse_y(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_nametable(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_namtable(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_fine_y(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_fine_y(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn incrmeent_course_x(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn incrment_fine_y(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_attribute_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_pattern_table_addr(&self, ctrl_flags: PpuCtrlFlags, tile_id: u8) -> u16{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "70ae512e6bb95003c4120989fdd22a17bc3e347b841a33c5f27bf997489644a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ae512e6bb95003c4120989fdd22a17bc3e347b841a33c5f27bf997489644a4", kill_on_drop: false }` [INFO] [stdout] 70ae512e6bb95003c4120989fdd22a17bc3e347b841a33c5f27bf997489644a4