[INFO] cloning repository https://github.com/luisgabrielroldan/gamebrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luisgabrielroldan/gamebrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf37a3f4e23d6c4e7c66e1f0973ac27750ad2fdd [INFO] building luisgabrielroldan/gamebrust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luisgabrielroldan/gamebrust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luisgabrielroldan/gamebrust [INFO] finished tweaking git repo https://github.com/luisgabrielroldan/gamebrust [INFO] tweaked toml for git repo https://github.com/luisgabrielroldan/gamebrust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luisgabrielroldan/gamebrust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af7aa39c3cd9d9296babe5642c82d2a131776b50ed4a597d953c7b529fc1989d [INFO] running `Command { std: "docker" "start" "-a" "af7aa39c3cd9d9296babe5642c82d2a131776b50ed4a597d953c7b529fc1989d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af7aa39c3cd9d9296babe5642c82d2a131776b50ed4a597d953c7b529fc1989d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7aa39c3cd9d9296babe5642c82d2a131776b50ed4a597d953c7b529fc1989d", kill_on_drop: false }` [INFO] [stdout] af7aa39c3cd9d9296babe5642c82d2a131776b50ed4a597d953c7b529fc1989d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6a9497d75d34c8bf05cd6d581aaeda1b74f72e9333ae5cdd35e0d6e57a80040 [INFO] running `Command { std: "docker" "start" "-a" "d6a9497d75d34c8bf05cd6d581aaeda1b74f72e9333ae5cdd35e0d6e57a80040", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | R16::SP => (self.sp), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - R16::SP => (self.sp), [INFO] [stdout] 145 + R16::SP => self.sp, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | R16::PC => (self.pc), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - R16::PC => (self.pc), [INFO] [stdout] 146 + R16::PC => self.pc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> core/src/ppu/mod.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] 185 + self.framebuffer[self.ly as usize * SCREEN_W as usize + x as usize] = color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/ppu/mod.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] 238 + let tile = self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.25.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn dump(&mut self, mem: &mut dyn Memory) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/registers.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Registers { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_divider` is never used [INFO] [stdout] --> core/src/io/timer.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn set_divider(&mut self, divider: Divider) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cgb`, `sgb`, `rom_size`, `rom_banks`, and `ram_banks` are never read [INFO] [stdout] --> core/src/cartridge/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | cgb: CGB, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | sgb: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | mbc_type: u8, [INFO] [stdout] 64 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | rom_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | ram_size: usize, [INFO] [stdout] 67 | ram_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> core/src/memory/mmu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl OAMDma { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn start(&mut self, from: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_priority` is never read [INFO] [stdout] --> core/src/ppu/sprite.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub bg_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling minifb v0.17.0 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wayland-commons v0.25.0 [INFO] [stderr] Compiling wayland-cursor v0.25.0 [INFO] [stderr] Compiling gamebrust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_thread` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let cpu_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_step` is never read [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut last_step = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.98s [INFO] running `Command { std: "docker" "inspect" "d6a9497d75d34c8bf05cd6d581aaeda1b74f72e9333ae5cdd35e0d6e57a80040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a9497d75d34c8bf05cd6d581aaeda1b74f72e9333ae5cdd35e0d6e57a80040", kill_on_drop: false }` [INFO] [stdout] d6a9497d75d34c8bf05cd6d581aaeda1b74f72e9333ae5cdd35e0d6e57a80040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e632a5fb0ffe0dc00779bc312275ea1190792bb9f158ab0b02beae92306b013 [INFO] running `Command { std: "docker" "start" "-a" "6e632a5fb0ffe0dc00779bc312275ea1190792bb9f158ab0b02beae92306b013", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | R16::SP => (self.sp), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - R16::SP => (self.sp), [INFO] [stdout] 145 + R16::SP => self.sp, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | R16::PC => (self.pc), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - R16::PC => (self.pc), [INFO] [stdout] 146 + R16::PC => self.pc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> core/src/ppu/mod.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] 185 + self.framebuffer[self.ly as usize * SCREEN_W as usize + x as usize] = color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/ppu/mod.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] 238 + let tile = self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn dump(&mut self, mem: &mut dyn Memory) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/registers.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Registers { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_divider` is never used [INFO] [stdout] --> core/src/io/timer.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn set_divider(&mut self, divider: Divider) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cgb`, `sgb`, `rom_size`, `rom_banks`, and `ram_banks` are never read [INFO] [stdout] --> core/src/cartridge/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | cgb: CGB, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | sgb: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | mbc_type: u8, [INFO] [stdout] 64 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | rom_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | ram_size: usize, [INFO] [stdout] 67 | ram_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> core/src/memory/mmu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl OAMDma { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn start(&mut self, from: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_priority` is never read [INFO] [stdout] --> core/src/ppu/sprite.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub bg_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gamebrust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_thread` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let cpu_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_step` is never read [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut last_step = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "6e632a5fb0ffe0dc00779bc312275ea1190792bb9f158ab0b02beae92306b013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e632a5fb0ffe0dc00779bc312275ea1190792bb9f158ab0b02beae92306b013", kill_on_drop: false }` [INFO] [stdout] 6e632a5fb0ffe0dc00779bc312275ea1190792bb9f158ab0b02beae92306b013