[INFO] cloning repository https://github.com/JDRobotter/rgg [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JDRobotter/rgg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJDRobotter%2Frgg"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJDRobotter%2Frgg'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7c8fe4ef5d3384eb40ab2889e919c08d28c98802 [INFO] checking JDRobotter/rgg against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJDRobotter%2Frgg" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JDRobotter/rgg on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/JDRobotter/rgg [INFO] finished tweaking git repo https://github.com/JDRobotter/rgg [INFO] tweaked toml for git repo https://github.com/JDRobotter/rgg written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/JDRobotter/rgg already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4852b7268a9bfa45be3eeb57326bb3346b9305a65e80fd856a2f671334636566 [INFO] running `"docker" "start" "-a" "4852b7268a9bfa45be3eeb57326bb3346b9305a65e80fd856a2f671334636566"` [INFO] [stderr] Checking rgg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops` [INFO] [stderr] --> src/cpu/z80.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::ops; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::From` [INFO] [stderr] --> src/cpu/z80.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/cpu/z80.rs:422:14 [INFO] [stderr] | [INFO] [stderr] 422 | match(op) { [INFO] [stderr] | ^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/cpu/z80.rs:1055:25 [INFO] [stderr] | [INFO] [stderr] 1055 | byte &= (1< src/cpu/z80.rs:1292:23 [INFO] [stderr] | [INFO] [stderr] 1292 | if(self.registers.BC() == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/cpu/z80.rs:1304:23 [INFO] [stderr] | [INFO] [stderr] 1304 | if(self.registers.BC() == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/cpu/z80_decoder.rs:197:22 [INFO] [stderr] | [INFO] [stderr] 197 | match(v) { [INFO] [stderr] | ^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::cpu::Z80` [INFO] [stderr] --> src/system/bus.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::cpu::Z80; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/system/bus.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RefCell`, `RefMut` [INFO] [stderr] --> src/system/bus.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::cell::{RefCell,RefMut}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::system::SystemBus` [INFO] [stderr] --> src/system/gamegear.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::system::SystemBus; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::system::VDP` [INFO] [stderr] --> src/system/gamegear.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::system::VDP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/system/gamegear.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/system/gamegear.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops` [INFO] [stderr] --> src/cpu/z80.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::ops; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::From` [INFO] [stderr] --> src/cpu/z80.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/cpu/z80.rs:422:14 [INFO] [stderr] | [INFO] [stderr] 422 | match(op) { [INFO] [stderr] | ^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/cpu/z80.rs:1055:25 [INFO] [stderr] | [INFO] [stderr] 1055 | byte &= (1< src/cpu/z80.rs:1292:23 [INFO] [stderr] | [INFO] [stderr] 1292 | if(self.registers.BC() == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/cpu/z80.rs:1304:23 [INFO] [stderr] | [INFO] [stderr] 1304 | if(self.registers.BC() == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/cpu/z80_decoder.rs:197:22 [INFO] [stderr] | [INFO] [stderr] 197 | match(v) { [INFO] [stderr] | ^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::cpu::Z80` [INFO] [stderr] --> src/system/bus.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::cpu::Z80; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/system/bus.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RefCell`, `RefMut` [INFO] [stderr] --> src/system/bus.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::cell::{RefCell,RefMut}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::system::SystemBus` [INFO] [stderr] --> src/system/gamegear.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::system::SystemBus; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::system::VDP` [INFO] [stderr] --> src/system/gamegear.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::system::VDP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/system/gamegear.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/system/gamegear.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lhs` [INFO] [stderr] --> src/cpu/z80.rs:786:21 [INFO] [stderr] | [INFO] [stderr] 786 | let lhs = match oplhs { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_lhs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `oplhs` [INFO] [stderr] --> src/cpu/z80.rs:839:28 [INFO] [stderr] | [INFO] [stderr] 839 | ZI::Sub16Carry(oplhs, oprhs) => { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_oplhs` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let mut rom = rom.unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private type `cpu::z80_decoder::Z80InstructionByte` in public interface (error E0446) [INFO] [stderr] --> src/cpu/z80_decoder.rs:335:5 [INFO] [stderr] | [INFO] [stderr] 335 | / pub fn match_special(&mut self, mbytes:&[Z80InstructionByte]) -> bool { [INFO] [stderr] 336 | | [INFO] [stderr] 337 | | // check size [INFO] [stderr] 338 | | let n = mbytes.len(); [INFO] [stderr] ... | [INFO] [stderr] 363 | | return true; [INFO] [stderr] 364 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `iv` [INFO] [stderr] --> src/cpu/z80.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | iv: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mr` [INFO] [stderr] --> src/cpu/z80.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | mr: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `interrupt` [INFO] [stderr] --> src/cpu/z80.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn interrupt(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `debug_cpu_registers` [INFO] [stderr] --> src/cpu/z80.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | pub fn debug_cpu_registers(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RegisterIndirectIX` [INFO] [stderr] --> src/cpu/z80_decoder.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | RegisterIndirectIX, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RegisterIndirectIY` [INFO] [stderr] --> src/cpu/z80_decoder.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | RegisterIndirectIY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `set_AF` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn set_AF(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_af` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `set_BC` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn set_BC(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_bc` [INFO] [stderr] [INFO] [stderr] warning: method `set_DE` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn set_DE(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_de` [INFO] [stderr] [INFO] [stderr] warning: method `set_HL` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn set_HL(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_hl` [INFO] [stderr] [INFO] [stderr] warning: method `AF` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn AF(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `af` [INFO] [stderr] [INFO] [stderr] warning: method `BC` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn BC(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stderr] [INFO] [stderr] warning: method `DE` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn DE(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `de` [INFO] [stderr] [INFO] [stderr] warning: method `HL` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn HL(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stderr] [INFO] [stderr] warning: method `read_AND_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:268:8 [INFO] [stderr] | [INFO] [stderr] 268 | fn read_AND_operand(&self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_and_operand` [INFO] [stderr] [INFO] [stderr] warning: method `write_AND_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:293:8 [INFO] [stderr] | [INFO] [stderr] 293 | fn write_AND_operand(&mut self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_and_operand` [INFO] [stderr] [INFO] [stderr] warning: method `read_EX_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:324:8 [INFO] [stderr] | [INFO] [stderr] 324 | fn read_EX_operand(&self, op:Z80InstructionLocation) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_ex_operand` [INFO] [stderr] [INFO] [stderr] warning: method `write_EX_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:338:8 [INFO] [stderr] | [INFO] [stderr] 338 | fn write_EX_operand(&mut self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_ex_operand` [INFO] [stderr] [INFO] [stderr] warning: method `unpack_LD_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:354:8 [INFO] [stderr] | [INFO] [stderr] 354 | fn unpack_LD_operand(&self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unpack_ld_operand` [INFO] [stderr] [INFO] [stderr] warning: method `decode_CB_bit_manipulation` should have a snake case name [INFO] [stderr] --> src/cpu/z80_decoder.rs:404:8 [INFO] [stderr] | [INFO] [stderr] 404 | fn decode_CB_bit_manipulation(&mut self, byte: u8, oix: Option) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decode_cb_bit_manipulation` [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/memory/ram.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | (0 <= addr) && (addr < sz) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lhs` [INFO] [stderr] --> src/cpu/z80.rs:786:21 [INFO] [stderr] | [INFO] [stderr] 786 | let lhs = match oplhs { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_lhs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `oplhs` [INFO] [stderr] --> src/cpu/z80.rs:839:28 [INFO] [stderr] | [INFO] [stderr] 839 | ZI::Sub16Carry(oplhs, oprhs) => { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_oplhs` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let mut rom = rom.unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private type `cpu::z80_decoder::Z80InstructionByte` in public interface (error E0446) [INFO] [stderr] --> src/cpu/z80_decoder.rs:335:5 [INFO] [stderr] | [INFO] [stderr] 335 | / pub fn match_special(&mut self, mbytes:&[Z80InstructionByte]) -> bool { [INFO] [stderr] 336 | | [INFO] [stderr] 337 | | // check size [INFO] [stderr] 338 | | let n = mbytes.len(); [INFO] [stderr] ... | [INFO] [stderr] 363 | | return true; [INFO] [stderr] 364 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `iv` [INFO] [stderr] --> src/cpu/z80.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | iv: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mr` [INFO] [stderr] --> src/cpu/z80.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | mr: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `interrupt` [INFO] [stderr] --> src/cpu/z80.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn interrupt(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `debug_cpu_registers` [INFO] [stderr] --> src/cpu/z80.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | pub fn debug_cpu_registers(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RegisterIndirectIX` [INFO] [stderr] --> src/cpu/z80_decoder.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | RegisterIndirectIX, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RegisterIndirectIY` [INFO] [stderr] --> src/cpu/z80_decoder.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | RegisterIndirectIY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `set_AF` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn set_AF(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_af` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `set_BC` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn set_BC(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_bc` [INFO] [stderr] [INFO] [stderr] warning: method `set_DE` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn set_DE(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_de` [INFO] [stderr] [INFO] [stderr] warning: method `set_HL` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn set_HL(&mut self, w:u16) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `set_hl` [INFO] [stderr] [INFO] [stderr] warning: method `AF` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn AF(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `af` [INFO] [stderr] [INFO] [stderr] warning: method `BC` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn BC(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stderr] [INFO] [stderr] warning: method `DE` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn DE(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `de` [INFO] [stderr] [INFO] [stderr] warning: method `HL` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn HL(&self) -> u16 { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stderr] [INFO] [stderr] warning: method `read_AND_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:268:8 [INFO] [stderr] | [INFO] [stderr] 268 | fn read_AND_operand(&self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_and_operand` [INFO] [stderr] [INFO] [stderr] warning: method `write_AND_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:293:8 [INFO] [stderr] | [INFO] [stderr] 293 | fn write_AND_operand(&mut self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_and_operand` [INFO] [stderr] [INFO] [stderr] warning: method `read_EX_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:324:8 [INFO] [stderr] | [INFO] [stderr] 324 | fn read_EX_operand(&self, op:Z80InstructionLocation) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_ex_operand` [INFO] [stderr] [INFO] [stderr] warning: method `write_EX_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:338:8 [INFO] [stderr] | [INFO] [stderr] 338 | fn write_EX_operand(&mut self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_ex_operand` [INFO] [stderr] [INFO] [stderr] warning: method `unpack_LD_operand` should have a snake case name [INFO] [stderr] --> src/cpu/z80.rs:354:8 [INFO] [stderr] | [INFO] [stderr] 354 | fn unpack_LD_operand(&self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unpack_ld_operand` [INFO] [stderr] [INFO] [stderr] warning: method `decode_CB_bit_manipulation` should have a snake case name [INFO] [stderr] --> src/cpu/z80_decoder.rs:404:8 [INFO] [stderr] | [INFO] [stderr] 404 | fn decode_CB_bit_manipulation(&mut self, byte: u8, oix: Option) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decode_cb_bit_manipulation` [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/memory/ram.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | (0 <= addr) && (addr < sz) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `"docker" "inspect" "4852b7268a9bfa45be3eeb57326bb3346b9305a65e80fd856a2f671334636566"` [INFO] running `"docker" "rm" "-f" "4852b7268a9bfa45be3eeb57326bb3346b9305a65e80fd856a2f671334636566"` [INFO] [stdout] 4852b7268a9bfa45be3eeb57326bb3346b9305a65e80fd856a2f671334636566