[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgosselin%2Frgb" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sgosselin/rgb on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-11/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 214da0a7055f52041f345fd76de3ea56b2366c47f7fddfd6b8ac6fe664b3b7fb [INFO] running `Command { std: "docker" "start" "-a" "214da0a7055f52041f345fd76de3ea56b2366c47f7fddfd6b8ac6fe664b3b7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "214da0a7055f52041f345fd76de3ea56b2366c47f7fddfd6b8ac6fe664b3b7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214da0a7055f52041f345fd76de3ea56b2366c47f7fddfd6b8ac6fe664b3b7fb", kill_on_drop: false }` [INFO] [stdout] 214da0a7055f52041f345fd76de3ea56b2366c47f7fddfd6b8ac6fe664b3b7fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3de62e631f050a70911322e9d81fc81059acfcc198360835f5a999e84e85596d [INFO] running `Command { std: "docker" "start" "-a" "3de62e631f050a70911322e9d81fc81059acfcc198360835f5a999e84e85596d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.84 (as host dependency): extra_traits [INFO] [stderr] memchr v2.3.4: default, std, use_std [INFO] [stderr] regex v1.4.3 (as host dependency): default [INFO] [stderr] regex-syntax v0.6.22 (as host dependency): default [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.2 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/cpu/cpu.rs (10 fixes) [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: 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: 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: 18 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.74s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Checking nom v6.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking minifb v0.19.2 [INFO] [stderr] Checking rgb v0.1.0 (/tmp/fixit) [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: 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: 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: 18 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.51s [INFO] running `Command { std: "docker" "inspect" "3de62e631f050a70911322e9d81fc81059acfcc198360835f5a999e84e85596d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de62e631f050a70911322e9d81fc81059acfcc198360835f5a999e84e85596d", kill_on_drop: false }` [INFO] [stdout] 3de62e631f050a70911322e9d81fc81059acfcc198360835f5a999e84e85596d