[INFO] cloning repository https://github.com/LeafChage/fc.rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeafChage/fc.rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeafChage%2Ffc.rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeafChage%2Ffc.rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4830c5b723be77aeb398ef4e814a6c934ba52f4c [INFO] building LeafChage/fc.rust against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeafChage%2Ffc.rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LeafChage/fc.rust [INFO] finished tweaking git repo https://github.com/LeafChage/fc.rust [INFO] tweaked toml for git repo https://github.com/LeafChage/fc.rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LeafChage/fc.rust 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/LeafChage/fc.rust 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] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.90 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.40 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.90 [INFO] [stderr] Downloaded fdeflate v0.3.3 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] [stderr] Downloaded clap v4.4.18 [INFO] [stderr] Downloaded ahash v0.8.7 [INFO] [stderr] Downloaded polling v3.3.1 [INFO] [stderr] Downloaded proc-macro-crate v2.0.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.90 [INFO] [stderr] Downloaded js-sys v0.3.67 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.90 [INFO] [stderr] Downloaded clap_builder v4.4.18 [INFO] [stderr] Downloaded miniquad v0.4.0-alpha.10 [INFO] [stderr] Downloaded rustix v0.38.30 [INFO] [stderr] Downloaded macroquad v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a8f90dacb7cc925f181fa769fd552f23870be466bd081f95e92840a2db8a6b2a [INFO] running `Command { std: "docker" "start" "-a" "a8f90dacb7cc925f181fa769fd552f23870be466bd081f95e92840a2db8a6b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f90dacb7cc925f181fa769fd552f23870be466bd081f95e92840a2db8a6b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f90dacb7cc925f181fa769fd552f23870be466bd081f95e92840a2db8a6b2a", kill_on_drop: false }` [INFO] [stdout] a8f90dacb7cc925f181fa769fd552f23870be466bd081f95e92840a2db8a6b2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8fcbcbf04ac8bf6b3c391a9a12752321a0dfb594f8f3b17c3fddcd9baef21c71 [INFO] running `Command { std: "docker" "start" "-a" "8fcbcbf04ac8bf6b3c391a9a12752321a0dfb594f8f3b17c3fddcd9baef21c71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling miniquad v0.4.0-alpha.10 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling winit v0.29.9 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling binary v0.1.0 (/opt/rustwide/workdir/binary) [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling exr v1.71.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling js-sys v0.3.67 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.40 [INFO] [stderr] Compiling web-sys v0.3.67 [INFO] [stderr] Compiling macroquad v0.4.4 [INFO] [stderr] Compiling fc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ppu/ppu.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | Fn: FnMut(&mut Register, &mut (dyn RAM)) -> Result, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - Fn: FnMut(&mut Register, &mut (dyn RAM)) -> Result, [INFO] [stdout] 41 + Fn: FnMut(&mut Register, &mut dyn RAM ) -> Result, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprite_byte::SpriteByte` [INFO] [stdout] --> src/sprite/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use sprite_byte::SpriteByte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 108 | / loop { [INFO] [stdout] 109 | | if macroquad::input::is_key_pressed(macroquad::input::KeyCode::Space) { [INFO] [stdout] 110 | | cpu.reset()?; [INFO] [stdout] ... | [INFO] [stdout] 128 | | quad::next_frame().await; [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 130 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/cpu/cpu.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | fn rti(&mut self, value: Value) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn update_overflow(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn update_break(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_decimal(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn update_interrupt(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `S`, `P`, and `PC` are never constructed [INFO] [stdout] --> src/cpu/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum R { [INFO] [stdout] | - variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | S, [INFO] [stdout] | ^ [INFO] [stdout] 50 | P, [INFO] [stdout] | ^ [INFO] [stdout] 51 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw` is never used [INFO] [stdout] --> src/ines/sprite_rom.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SpriteROM { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 9 | #[cfg(debug_assertions)] [INFO] [stdout] 10 | pub fn raw(&self) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_16_le_bytes` is never used [INFO] [stdout] --> src/ppu/buf_byte.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Bufu8 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_16_le_bytes(v: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sprite_palette0`, `sprite_palette1`, `sprite_palette2`, and `sprite_palette3` are never used [INFO] [stdout] --> src/ppu/palette.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PaletteTable { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn sprite_palette0(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn sprite_palette1(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn sprite_palette2(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn sprite_palette3(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_program` is never used [INFO] [stdout] --> src/program/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn debug_program(rom: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_pos2`, `x`, `y`, `width`, `height`, and `max_pos` are never used [INFO] [stdout] --> src/rect.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn from_pos2(pos: Vec2, max_pos: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn x(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn y(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn max_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_sprite` is never used [INFO] [stdout] --> src/sprite/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn debug_sprite(sprites: SpriteROM) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/vec2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Vec2 [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn y(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/vec2.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Vec2 { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 32 | pub fn one() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/x/range.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/x/range.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn sub(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.53s [INFO] running `Command { std: "docker" "inspect" "8fcbcbf04ac8bf6b3c391a9a12752321a0dfb594f8f3b17c3fddcd9baef21c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fcbcbf04ac8bf6b3c391a9a12752321a0dfb594f8f3b17c3fddcd9baef21c71", kill_on_drop: false }` [INFO] [stdout] 8fcbcbf04ac8bf6b3c391a9a12752321a0dfb594f8f3b17c3fddcd9baef21c71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 31efc578fc2ac7fec0eb9aa64c93d1ec594acbd09346874b4f9ee70a79415167 [INFO] running `Command { std: "docker" "start" "-a" "31efc578fc2ac7fec0eb9aa64c93d1ec594acbd09346874b4f9ee70a79415167", kill_on_drop: false }` [INFO] [stderr] Compiling fc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ppu/ppu.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | Fn: FnMut(&mut Register, &mut (dyn RAM)) -> Result, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - Fn: FnMut(&mut Register, &mut (dyn RAM)) -> Result, [INFO] [stdout] 41 + Fn: FnMut(&mut Register, &mut dyn RAM ) -> Result, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprite_byte::SpriteByte` [INFO] [stdout] --> src/sprite/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use sprite_byte::SpriteByte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 108 | / loop { [INFO] [stdout] 109 | | if macroquad::input::is_key_pressed(macroquad::input::KeyCode::Space) { [INFO] [stdout] 110 | | cpu.reset()?; [INFO] [stdout] ... | [INFO] [stdout] 128 | | quad::next_frame().await; [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 130 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/cpu/cpu.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | fn rti(&mut self, value: Value) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn update_overflow(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn update_break(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_decimal(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn update_interrupt(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `S`, `P`, and `PC` are never constructed [INFO] [stdout] --> src/cpu/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum R { [INFO] [stdout] | - variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | S, [INFO] [stdout] | ^ [INFO] [stdout] 50 | P, [INFO] [stdout] | ^ [INFO] [stdout] 51 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw` is never used [INFO] [stdout] --> src/ines/sprite_rom.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SpriteROM { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 9 | #[cfg(debug_assertions)] [INFO] [stdout] 10 | pub fn raw(&self) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_16_le_bytes` is never used [INFO] [stdout] --> src/ppu/buf_byte.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Bufu8 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_16_le_bytes(v: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sprite_palette0`, `sprite_palette1`, `sprite_palette2`, and `sprite_palette3` are never used [INFO] [stdout] --> src/ppu/palette.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PaletteTable { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn sprite_palette0(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn sprite_palette1(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn sprite_palette2(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn sprite_palette3(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_program` is never used [INFO] [stdout] --> src/program/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn debug_program(rom: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_pos2`, `x`, `y`, `width`, `height`, and `max_pos` are never used [INFO] [stdout] --> src/rect.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn from_pos2(pos: Vec2, max_pos: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn x(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn y(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn max_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_sprite` is never used [INFO] [stdout] --> src/sprite/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn debug_sprite(sprites: SpriteROM) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_new` is never used [INFO] [stdout] --> src/sprite/sprite.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Sprite { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn debug_new(raw: [[u8; SPRITE_LENGTH]; SPRITE_LENGTH]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/vec2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Vec2 [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn y(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/vec2.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Vec2 { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 32 | pub fn one() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/x/range.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/x/range.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn sub(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "31efc578fc2ac7fec0eb9aa64c93d1ec594acbd09346874b4f9ee70a79415167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31efc578fc2ac7fec0eb9aa64c93d1ec594acbd09346874b4f9ee70a79415167", kill_on_drop: false }` [INFO] [stdout] 31efc578fc2ac7fec0eb9aa64c93d1ec594acbd09346874b4f9ee70a79415167