[INFO] cloning repository https://github.com/wbjohnston/sgbe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wbjohnston/sgbe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fsgbe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fsgbe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4be50267e7e0df3304ed348bf2064a64b7b9f93 [INFO] testing wbjohnston/sgbe against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fsgbe" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbjohnston/sgbe on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wbjohnston/sgbe [INFO] finished tweaking git repo https://github.com/wbjohnston/sgbe [INFO] tweaked toml for git repo https://github.com/wbjohnston/sgbe written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/wbjohnston/sgbe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88e7537142bd177ee5c023d85f67064a411378514115df382d6959da584a621d [INFO] running `Command { std: "docker" "start" "-a" "88e7537142bd177ee5c023d85f67064a411378514115df382d6959da584a621d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88e7537142bd177ee5c023d85f67064a411378514115df382d6959da584a621d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e7537142bd177ee5c023d85f67064a411378514115df382d6959da584a621d", kill_on_drop: false }` [INFO] [stdout] 88e7537142bd177ee5c023d85f67064a411378514115df382d6959da584a621d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fea96671ff7b59a431dfeb581c8e5296a1ca6f1a6a9bbb85ef069aac1437ad47 [INFO] running `Command { std: "docker" "start" "-a" "fea96671ff7b59a431dfeb581c8e5296a1ca6f1a6a9bbb85ef069aac1437ad47", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling enumset v0.3.10 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling smallvec v0.6.1 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling backtrace v0.3.8 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `Memory32Kb` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use hardware::memory::{Memory, Memory32Kb, Switchable}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Word` [INFO] [stdout] --> core/src/hardware/cpu/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hardware::bios::Bios` [INFO] [stdout] --> core/src/hardware/ppu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hardware::bios::Bios; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | ROM0_OFFSET...ROM0_END => if let Some(ref cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | SROM_OFFSET...SROM_END => if let Some(ref cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | ERAM_OFFSET...ERAM_END => if let Some(ref cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | VRAM_OFFSET...VRAM_END => self.vram.read(address - VRAM_OFFSET), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | WRAM_OFFSET...WRAM_END => self.wram.read(address - WRAM_OFFSET), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | SWRAM_OFFSET...SWRAM_END => self.swram.read(address - SWRAM_OFFSET), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | ECHO_RAM_OFFSET...ECHO_RAM_END => if let Some(ref cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | OAM_OFFSET...OAM_END => self.oam[(address - OAM_OFFSET) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | address @ UNUSABLE_MEMORY_OFFSET...UNUSABLE_MEMORY_END => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | IOM_OFFSET...IOM_END => self.iom[(address - IOM_OFFSET) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | HRAM_OFFSET...HRAM_END => self.hram[(address - HRAM_OFFSET) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | ROM0_OFFSET...ROM0_END => if let Some(ref mut cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | SROM_OFFSET...SROM_END => if let Some(ref mut cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | ERAM_OFFSET...ERAM_END => if let Some(ref mut cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | VRAM_OFFSET...VRAM_END => self.vram.write(address - VRAM_OFFSET, value), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | WRAM_OFFSET...WRAM_END => self.wram.write(address - WRAM_OFFSET, value), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | SWRAM_OFFSET...SWRAM_END => self.swram.write(address - SWRAM_OFFSET, value), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | ECHO_RAM_OFFSET...ECHO_RAM_END => if let Some(ref mut cartridge) = self.cartridge { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | OAM_OFFSET...OAM_END => self.oam[(address - OAM_OFFSET) as usize] = value, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | address @ UNUSABLE_MEMORY_OFFSET...UNUSABLE_MEMORY_END => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | IOM_OFFSET...IOM_END => self.iom[(address - IOM_OFFSET) as usize] = value, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | HRAM_OFFSET...HRAM_END => self.hram[(address - HRAM_OFFSET) as usize] = value, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> core/src/system.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | /// A gameboy button [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/disasm.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/disasm.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/hardware/cpu/mod.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> core/src/hardware/ppu.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn emulate(&mut self, cycles: usize, mmu: &mut Mmu) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> core/src/hardware/ppu.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn emulate(&mut self, cycles: usize, mmu: &mut Mmu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> core/src/hardware/mmu/mod.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_input_registers(&mut self, input: Buttons) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> core/src/hardware/apu.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn emulate(&mut self, cycles: usize, mmu: &mut Mmu) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> core/src/hardware/apu.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn emulate(&mut self, cycles: usize, mmu: &mut Mmu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> core/src/hardware/timer.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn emulate(&mut self, cycles: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn validate(bytes: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | fn validate(bytes: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | fn validate(bytes: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | fn validate(bytes: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | fn validate(bytes: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | fn read_huc1(&self, address: Address) -> Word { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | fn write_huc1(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | fn write_huc1(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bank_idx` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | fn switch_bank_huc1(&mut self, bank_idx: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bank_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | fn read_mbc1(&self, address: Address) -> Word { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | fn write_mbc1(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | fn write_mbc1(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bank_idx` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | fn switch_bank_mbc1(&mut self, bank_idx: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bank_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | fn read_mbc2(&self, address: Address) -> Word { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | fn write_mbc2(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | fn write_mbc2(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bank_idx` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | fn switch_bank_mbc2(&mut self, bank_idx: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bank_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn read_mbc3(&self, address: Address) -> Word { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | fn write_mbc3(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | fn write_mbc3(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bank_idx` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | fn switch_bank_mbc3(&mut self, bank_idx: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bank_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | fn read_mbc5(&self, address: Address) -> Word { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | fn write_mbc5(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | fn write_mbc5(&mut self, address: Address, value: Word) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bank_idx` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | fn switch_bank_mbc5(&mut self, bank_idx: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bank_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/hardware/cartridge/mbc.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/hardware/mmu/swram.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/hardware/mmu/swram.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom0` [INFO] [stdout] --> core/src/hardware/cartridge/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | rom0: Memory32Kb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cartridge` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> core/src/hardware/cartridge/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_battery` [INFO] [stdout] --> core/src/hardware/cartridge/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | has_battery: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cartridge` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> core/src/hardware/cartridge/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timer` [INFO] [stdout] --> core/src/hardware/cartridge/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | timer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cartridge` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> core/src/hardware/cartridge/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_bios_disabled` [INFO] [stdout] --> core/src/hardware/cpu/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | is_bios_disabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cpu` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> core/src/hardware/cpu/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bios` [INFO] [stdout] --> core/src/hardware/cpu/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | bios: B, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cpu` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> core/src/hardware/cpu/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sgbe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../roms/gb_bios.bin: No such file or directory (os error 2) [INFO] [stdout] --> src/gbdb.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let bios = GbBios::from(*include_bytes!("../roms/gb_bios.bin")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../roms/tetris.gb: No such file or directory (os error 2) [INFO] [stdout] --> src/gbdb.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | let rom = include_bytes!("../roms/tetris.gb"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bios` [INFO] [stdout] --> src/gbdb.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use core::hardware::bios::{Bios, GbBios}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/gbdb.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/cli.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cgb`, `Gb` [INFO] [stdout] --> src/cli.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use core::system::{Cgb, Gb}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sgbe` due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/cli.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let cartridge = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bios` [INFO] [stdout] --> src/cli.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let bios = fs::File::open(args.next().unwrap())?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bios` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cli.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mode = Some("gb"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fea96671ff7b59a431dfeb581c8e5296a1ca6f1a6a9bbb85ef069aac1437ad47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea96671ff7b59a431dfeb581c8e5296a1ca6f1a6a9bbb85ef069aac1437ad47", kill_on_drop: false }` [INFO] [stdout] fea96671ff7b59a431dfeb581c8e5296a1ca6f1a6a9bbb85ef069aac1437ad47