[INFO] cloning repository https://github.com/sgosselin/rgb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sgosselin/rgb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgosselin%2Frgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgosselin%2Frgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d49168d200c97300be135c696e29992ccb61c8bf [INFO] checking sgosselin/rgb against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgosselin%2Frgb" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sgosselin/rgb on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sgosselin/rgb [INFO] finished tweaking git repo https://github.com/sgosselin/rgb [INFO] tweaked toml for git repo https://github.com/sgosselin/rgb written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/sgosselin/rgb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e88dc1e149baa4ba2c4b159192ca55b70d93afec25324487bc6a139d2c549fc [INFO] running `Command { std: "docker" "start" "-a" "0e88dc1e149baa4ba2c4b159192ca55b70d93afec25324487bc6a139d2c549fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e88dc1e149baa4ba2c4b159192ca55b70d93afec25324487bc6a139d2c549fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e88dc1e149baa4ba2c4b159192ca55b70d93afec25324487bc6a139d2c549fc", kill_on_drop: false }` [INFO] [stdout] 0e88dc1e149baa4ba2c4b159192ca55b70d93afec25324487bc6a139d2c549fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a94bb1178967c63a77140ea29b5889fc7d64963ecf11c167e2c3442df77ce1f [INFO] running `Command { std: "docker" "start" "-a" "6a94bb1178967c63a77140ea29b5889fc7d64963ecf11c167e2c3442df77ce1f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu/cpu.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let r = ((d8 << 1) + u8::from(self.regs.get_flag(Flag::C))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu/cpu.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let r = ((d8 << 1) + u8::from(self.regs.get_flag(Flag::C))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 287 | fn _get_r16_from_rp(&mut self, mmu: &mut Mmu, rp: u8) -> u16 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | fn _get_r16_from_rp2(&mut self, mmu: &mut Mmu, rp2: u8) -> u16 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | fn _set_r16_from_rp(&mut self, mmu: &mut Mmu, rp: u8, val: u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | fn _set_r16_from_rp2(&mut self, mmu: &mut Mmu, rp2: u8, val: u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut sys = sys::System::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/cpu.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut ncycles = opcode.ncycles.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 287 | fn _get_r16_from_rp(&mut self, mmu: &mut Mmu, rp: u8) -> u16 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | fn _get_r16_from_rp2(&mut self, mmu: &mut Mmu, rp2: u8) -> u16 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | fn _set_r16_from_rp(&mut self, mmu: &mut Mmu, rp: u8, val: u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | fn _set_r16_from_rp2(&mut self, mmu: &mut Mmu, rp2: u8, val: u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | let mut mmu = Mmu::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/cpu/cpu.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let mut mmu = Mmu::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut sys = sys::System::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_bc` [INFO] [stdout] --> src/cpu/regs.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn dec_bc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_de` [INFO] [stdout] --> src/cpu/regs.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn dec_de(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/cpu.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut ncycles = opcode.ncycles.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RRAM_LEN` [INFO] [stdout] --> src/mem/mmu.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const RRAM_LEN: usize = (RRAM_END_ADDR - RRAM_BEG_ADDR + 1) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_bios_mapped` [INFO] [stdout] --> src/mem/mmu.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn is_bios_mapped(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmap_bios` [INFO] [stdout] --> src/mem/mmu.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn unmap_bios(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HBlank` [INFO] [stdout] --> src/vid/gpu.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | HBlank, // Mode 0 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VBlank` [INFO] [stdout] --> src/vid/gpu.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | VBlank, // Mode 1 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Drawing` [INFO] [stdout] --> src/vid/gpu.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Drawing, // Mode 3 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `curr_mode` [INFO] [stdout] --> src/vid/gpu.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | curr_mode: Mode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/cpu.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | let mut mmu = Mmu::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/cpu.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | let mut mmu = Mmu::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | write!(f, "opcode( is_cb:{}", if self.is_cb { "T" } else { "F" }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | write!(f, ", value=0x{:02x}", self.value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | write!(f, ", ncycles=({:2},{:2})", self.ncycles.0, self.ncycles.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | write!(f, ", mnemo='{:10}'", self.mnemo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | write!(f, "regs( "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | / write!(f, "a=0x{:02x} f=0x{:02x} b=0x{:02x} c=0x{:02x} ", [INFO] [stdout] 100 | | self.a, self.f, self.b, self.c); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / write!(f, "d=0x{:02x} e=0x{:02x} h=0x{:02x} l=0x{:02x} ", [INFO] [stdout] 102 | | self.d, self.e, self.h, self.l); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / write!(f, "pc=0x{:04x} sp=0x{:04x} ", [INFO] [stdout] 104 | | self.pc, self.sp); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | write!(f, "flag:{}{}{}{}", z_s, n_s, h_s, c_s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RRAM_LEN` [INFO] [stdout] --> src/mem/mmu.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const RRAM_LEN: usize = (RRAM_END_ADDR - RRAM_BEG_ADDR + 1) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HBlank` [INFO] [stdout] --> src/vid/gpu.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | HBlank, // Mode 0 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VBlank` [INFO] [stdout] --> src/vid/gpu.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | VBlank, // Mode 1 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Drawing` [INFO] [stdout] --> src/vid/gpu.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Drawing, // Mode 3 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `curr_mode` [INFO] [stdout] --> src/vid/gpu.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | curr_mode: Mode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | write!(f, "opcode( is_cb:{}", if self.is_cb { "T" } else { "F" }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | write!(f, ", value=0x{:02x}", self.value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | write!(f, ", ncycles=({:2},{:2})", self.ncycles.0, self.ncycles.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/opcode.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | write!(f, ", mnemo='{:10}'", self.mnemo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | write!(f, "regs( "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | / write!(f, "a=0x{:02x} f=0x{:02x} b=0x{:02x} c=0x{:02x} ", [INFO] [stdout] 100 | | self.a, self.f, self.b, self.c); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / write!(f, "d=0x{:02x} e=0x{:02x} h=0x{:02x} l=0x{:02x} ", [INFO] [stdout] 102 | | self.d, self.e, self.h, self.l); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / write!(f, "pc=0x{:04x} sp=0x{:04x} ", [INFO] [stdout] 104 | | self.pc, self.sp); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/regs.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | write!(f, "flag:{}{}{}{}", z_s, n_s, h_s, c_s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.06s [INFO] running `Command { std: "docker" "inspect" "6a94bb1178967c63a77140ea29b5889fc7d64963ecf11c167e2c3442df77ce1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a94bb1178967c63a77140ea29b5889fc7d64963ecf11c167e2c3442df77ce1f", kill_on_drop: false }` [INFO] [stdout] 6a94bb1178967c63a77140ea29b5889fc7d64963ecf11c167e2c3442df77ce1f