[INFO] cloning repository https://github.com/solo-kibr7/Doma_emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solo-kibr7/Doma_emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolo-kibr7%2FDoma_emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolo-kibr7%2FDoma_emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9929e4162b614159bdd26fae7c68d980f43c8f5c [INFO] checking solo-kibr7/Doma_emu against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolo-kibr7%2FDoma_emu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/solo-kibr7/Doma_emu on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solo-kibr7/Doma_emu [INFO] finished tweaking git repo https://github.com/solo-kibr7/Doma_emu [INFO] tweaked toml for git repo https://github.com/solo-kibr7/Doma_emu written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/solo-kibr7/Doma_emu 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed-vec-deque v0.1.9 [INFO] [stderr] Downloaded ascii v0.5.4 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded crossterm v0.16.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39145df78053f31b553d66804fb646207533148ac7dc3425a099b69667244dd4 [INFO] running `Command { std: "docker" "start" "-a" "39145df78053f31b553d66804fb646207533148ac7dc3425a099b69667244dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39145df78053f31b553d66804fb646207533148ac7dc3425a099b69667244dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39145df78053f31b553d66804fb646207533148ac7dc3425a099b69667244dd4", kill_on_drop: false }` [INFO] [stdout] 39145df78053f31b553d66804fb646207533148ac7dc3425a099b69667244dd4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5415c791e1b512e86ec8e2fd7f5065878f30d46a5237f9e3891b14dc701d70dd [INFO] running `Command { std: "docker" "start" "-a" "5415c791e1b512e86ec8e2fd7f5065878f30d46a5237f9e3891b14dc701d70dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking ascii v0.5.4 [INFO] [stderr] Checking fixed-vec-deque v0.1.9 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking doma_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorStyle`, `MouseMode`, `Scale` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use minifb::{CursorStyle, MouseMode, Scale, Key, KeyRepeat, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interrupts`, `serial` [INFO] [stdout] --> src/main.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mmu::{MMU, interrupts, serial}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction::Instruction` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PPU`, `lcd::state_machine` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::ppu::{PPU, lcd::state_machine}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::timer::Timer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::timer::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/interrupts.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/dma.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dma`, `interrupts` [INFO] [stdout] --> src/cpu/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::{MMU, interrupts, dma, DmaTransfer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/instruction.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lcd`, `PixelFifo` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::ppu::{PPU, lcd::{Lcd, Mode}, fifo::{PixelFifo, FetchState}}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MMU` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::{MMU, interrupts::{Interrupts, InterruptType}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterruptType` [INFO] [stdout] --> src/ppu.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub use crate::mmu::interrupts::{Interrupts, InterruptType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorStyle`, `MouseMode`, `Scale` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use minifb::{CursorStyle, MouseMode, Scale, Key, KeyRepeat, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interrupts`, `serial` [INFO] [stdout] --> src/main.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mmu::{MMU, interrupts, serial}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction::Instruction` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PPU`, `lcd::state_machine` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::ppu::{PPU, lcd::state_machine}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::timer::Timer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::timer::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/interrupts.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/dma.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dma`, `interrupts` [INFO] [stdout] --> src/cpu/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::{MMU, interrupts, dma, DmaTransfer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/instruction.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lcd`, `PixelFifo` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::ppu::{PPU, lcd::{Lcd, Mode}, fifo::{PixelFifo, FetchState}}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MMU` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::{MMU, interrupts::{Interrupts, InterruptType}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterruptType` [INFO] [stdout] --> src/ppu.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub use crate::mmu::interrupts::{Interrupts, InterruptType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycle` [INFO] [stdout] --> src/cpu/mod.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | for cycle in 0..cycles { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cycle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/cpu/mod.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | for tick in 0..4 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/ppu.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | let (priority, sp_color) = self.fetch_sprite_pixels(color, &mut bg_color); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | for i in 0..self.pixel_fifo.bgfifo.length() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | for (i, &selected_sprite) in self.selected_oam.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 0..gameboy_buffer.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycle` [INFO] [stdout] --> src/cpu/mod.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | for cycle in 0..cycles { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cycle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/cpu/mod.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | for tick in 0..4 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | f.read_to_end(&mut rom_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = f.read_to_end(&mut rom_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:377:49 [INFO] [stdout] | [INFO] [stdout] 377 | self.lcd.lcd_control.window_enable() && (self.lcd.window_x >= 0) && (self.lcd.window_x <= 166) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:378:16 [INFO] [stdout] | [INFO] [stdout] 378 | && (self.lcd.window_y >= 0) && (self.lcd.window_y < YRES as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/ppu.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | let (priority, sp_color) = self.fetch_sprite_pixels(color, &mut bg_color); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | for i in 0..self.pixel_fifo.bgfifo.length() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | for (i, &selected_sprite) in self.selected_oam.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 0..gameboy_buffer.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | f.read_to_end(&mut rom_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = f.read_to_end(&mut rom_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:377:49 [INFO] [stdout] | [INFO] [stdout] 377 | self.lcd.lcd_control.window_enable() && (self.lcd.window_x >= 0) && (self.lcd.window_x <= 166) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:378:16 [INFO] [stdout] | [INFO] [stdout] 378 | && (self.lcd.window_y >= 0) && (self.lcd.window_y < YRES as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.00s [INFO] running `Command { std: "docker" "inspect" "5415c791e1b512e86ec8e2fd7f5065878f30d46a5237f9e3891b14dc701d70dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5415c791e1b512e86ec8e2fd7f5065878f30d46a5237f9e3891b14dc701d70dd", kill_on_drop: false }` [INFO] [stdout] 5415c791e1b512e86ec8e2fd7f5065878f30d46a5237f9e3891b14dc701d70dd [INFO] checking solo-kibr7/Doma_emu against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolo-kibr7%2FDoma_emu" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/solo-kibr7/Doma_emu on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solo-kibr7/Doma_emu [INFO] finished tweaking git repo https://github.com/solo-kibr7/Doma_emu [INFO] tweaked toml for git repo https://github.com/solo-kibr7/Doma_emu written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/solo-kibr7/Doma_emu 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 201020345f1666e180eeecda6afb09de725fa91f54e94d171c807c49b71fe176 [INFO] running `Command { std: "docker" "start" "-a" "201020345f1666e180eeecda6afb09de725fa91f54e94d171c807c49b71fe176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "201020345f1666e180eeecda6afb09de725fa91f54e94d171c807c49b71fe176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201020345f1666e180eeecda6afb09de725fa91f54e94d171c807c49b71fe176", kill_on_drop: false }` [INFO] [stdout] 201020345f1666e180eeecda6afb09de725fa91f54e94d171c807c49b71fe176 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3cd25841c143baec4e43d2b94c21f77cd70cbb969404ad906bdf27193947a60 [INFO] running `Command { std: "docker" "start" "-a" "f3cd25841c143baec4e43d2b94c21f77cd70cbb969404ad906bdf27193947a60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking ascii v0.5.4 [INFO] [stderr] Checking fixed-vec-deque v0.1.9 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking doma_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorStyle`, `MouseMode`, `Scale` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use minifb::{CursorStyle, MouseMode, Scale, Key, KeyRepeat, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interrupts`, `serial` [INFO] [stdout] --> src/main.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mmu::{MMU, interrupts, serial}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction::Instruction` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PPU`, `lcd::state_machine` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::ppu::{PPU, lcd::state_machine}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::timer::Timer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::timer::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/interrupts.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/dma.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dma`, `interrupts` [INFO] [stdout] --> src/cpu/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::{MMU, interrupts, dma, DmaTransfer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/instruction.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lcd`, `PixelFifo` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::ppu::{PPU, lcd::{Lcd, Mode}, fifo::{PixelFifo, FetchState}}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MMU` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::{MMU, interrupts::{Interrupts, InterruptType}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterruptType` [INFO] [stdout] --> src/ppu.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub use crate::mmu::interrupts::{Interrupts, InterruptType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorStyle`, `MouseMode`, `Scale` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use minifb::{CursorStyle, MouseMode, Scale, Key, KeyRepeat, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interrupts`, `serial` [INFO] [stdout] --> src/main.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mmu::{MMU, interrupts, serial}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction::Instruction` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PPU`, `lcd::state_machine` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::ppu::{PPU, lcd::state_machine}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::timer::Timer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::timer::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/interrupts.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mmu::MMU` [INFO] [stdout] --> src/mmu/dma.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dma`, `interrupts` [INFO] [stdout] --> src/cpu/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::mmu::{MMU, interrupts, dma, DmaTransfer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/instruction.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lcd`, `PixelFifo` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::ppu::{PPU, lcd::{Lcd, Mode}, fifo::{PixelFifo, FetchState}}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MMU` [INFO] [stdout] --> src/ppu/lcd/state_machine.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::mmu::{MMU, interrupts::{Interrupts, InterruptType}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterruptType` [INFO] [stdout] --> src/ppu.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub use crate::mmu::interrupts::{Interrupts, InterruptType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycle` [INFO] [stdout] --> src/cpu/mod.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | for cycle in 0..cycles { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cycle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/cpu/mod.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | for tick in 0..4 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/ppu.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | let (priority, sp_color) = self.fetch_sprite_pixels(color, &mut bg_color); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | for i in 0..self.pixel_fifo.bgfifo.length() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | for (i, &selected_sprite) in self.selected_oam.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycle` [INFO] [stdout] --> src/cpu/mod.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | for cycle in 0..cycles { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cycle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/cpu/mod.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | for tick in 0..4 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 0..gameboy_buffer.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | f.read_to_end(&mut rom_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = f.read_to_end(&mut rom_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:377:49 [INFO] [stdout] | [INFO] [stdout] 377 | self.lcd.lcd_control.window_enable() && (self.lcd.window_x >= 0) && (self.lcd.window_x <= 166) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:378:16 [INFO] [stdout] | [INFO] [stdout] 378 | && (self.lcd.window_y >= 0) && (self.lcd.window_y < YRES as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/ppu.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | let (priority, sp_color) = self.fetch_sprite_pixels(color, &mut bg_color); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | for i in 0..self.pixel_fifo.bgfifo.length() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ppu.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | for (i, &selected_sprite) in self.selected_oam.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 0..gameboy_buffer.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | f.read_to_end(&mut rom_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = f.read_to_end(&mut rom_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = bootfile.read_to_end(&mut boot_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:377:49 [INFO] [stdout] | [INFO] [stdout] 377 | self.lcd.lcd_control.window_enable() && (self.lcd.window_x >= 0) && (self.lcd.window_x <= 166) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ppu.rs:378:16 [INFO] [stdout] | [INFO] [stdout] 378 | && (self.lcd.window_y >= 0) && (self.lcd.window_y < YRES as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.25s [INFO] running `Command { std: "docker" "inspect" "f3cd25841c143baec4e43d2b94c21f77cd70cbb969404ad906bdf27193947a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cd25841c143baec4e43d2b94c21f77cd70cbb969404ad906bdf27193947a60", kill_on_drop: false }` [INFO] [stdout] f3cd25841c143baec4e43d2b94c21f77cd70cbb969404ad906bdf27193947a60