[INFO] cloning repository https://github.com/epizzella/Rust-Boy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epizzella/Rust-Boy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepizzella%2FRust-Boy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepizzella%2FRust-Boy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 704d05e4ad8ba614e7715ac3a263c59d42c269e4 [INFO] checking epizzella/Rust-Boy against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepizzella%2FRust-Boy" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epizzella/Rust-Boy on toolchain 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/epizzella/Rust-Boy [INFO] finished tweaking git repo https://github.com/epizzella/Rust-Boy [INFO] tweaked toml for git repo https://github.com/epizzella/Rust-Boy written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/epizzella/Rust-Boy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66547e1efc101cab4cd3dace501e3ac3d39792c077415e7bdeeac41afcee19bf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "66547e1efc101cab4cd3dace501e3ac3d39792c077415e7bdeeac41afcee19bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66547e1efc101cab4cd3dace501e3ac3d39792c077415e7bdeeac41afcee19bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66547e1efc101cab4cd3dace501e3ac3d39792c077415e7bdeeac41afcee19bf", kill_on_drop: false }` [INFO] [stdout] 66547e1efc101cab4cd3dace501e3ac3d39792c077415e7bdeeac41afcee19bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a3b6617eac1d1b5eba140aa2952d1b61dc10ea9afd566605a55496fdeb6a5816 [INFO] running `Command { std: "docker" "start" "-a" "a3b6617eac1d1b5eba140aa2952d1b61dc10ea9afd566605a55496fdeb6a5816", kill_on_drop: false }` [INFO] [stderr] Checking gbc_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::windows_interface::*` [INFO] [stdout] --> src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::windows_interface::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::windows_interface::*` [INFO] [stdout] --> src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::windows_interface::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:508:23 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn daa(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:749:24 [INFO] [stdout] | [INFO] [stdout] 749 | pub fn halt(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:755:24 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn stop(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:761:22 [INFO] [stdout] | [INFO] [stdout] 761 | pub fn di(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:767:22 [INFO] [stdout] | [INFO] [stdout] 767 | pub fn ei(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:508:23 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn daa(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:749:24 [INFO] [stdout] | [INFO] [stdout] 749 | pub fn halt(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:755:24 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn stop(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:761:22 [INFO] [stdout] | [INFO] [stdout] 761 | pub fn di(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instructions.rs:767:22 [INFO] [stdout] | [INFO] [stdout] 767 | pub fn ei(&self, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/cpu.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | B = 0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/cpu.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | D, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/cpu.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | E, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cpu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | H, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | L, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_00_START` [INFO] [stdout] --> src/cpu.rs:857:1 [INFO] [stdout] | [INFO] [stdout] 857 | const BANK_00_START: usize = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_00_END` [INFO] [stdout] --> src/cpu.rs:858:1 [INFO] [stdout] | [INFO] [stdout] 858 | const BANK_00_END: usize = 0x3fff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_01_START` [INFO] [stdout] --> src/cpu.rs:859:1 [INFO] [stdout] | [INFO] [stdout] 859 | const BANK_01_START: usize = 0x4000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_01_END` [INFO] [stdout] --> src/cpu.rs:860:1 [INFO] [stdout] | [INFO] [stdout] 860 | const BANK_01_END: usize = 0x7fff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VRAM_START` [INFO] [stdout] --> src/cpu.rs:861:1 [INFO] [stdout] | [INFO] [stdout] 861 | const VRAM_START: usize = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXTERNAL_RAM_START` [INFO] [stdout] --> src/cpu.rs:863:1 [INFO] [stdout] | [INFO] [stdout] 863 | const EXTERNAL_RAM_START: usize = 0xa000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXTERNAL_RAM_END` [INFO] [stdout] --> src/cpu.rs:864:1 [INFO] [stdout] | [INFO] [stdout] 864 | const EXTERNAL_RAM_END: usize = 0xbfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_0_START` [INFO] [stdout] --> src/cpu.rs:865:1 [INFO] [stdout] | [INFO] [stdout] 865 | const WRAM_BANK_0_START: usize = 0xc000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_0_END` [INFO] [stdout] --> src/cpu.rs:866:1 [INFO] [stdout] | [INFO] [stdout] 866 | const WRAM_BANK_0_END: usize = 0xcfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_1_START` [INFO] [stdout] --> src/cpu.rs:867:1 [INFO] [stdout] | [INFO] [stdout] 867 | const WRAM_BANK_1_START: usize = 0xd000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_1_END` [INFO] [stdout] --> src/cpu.rs:868:1 [INFO] [stdout] | [INFO] [stdout] 868 | const WRAM_BANK_1_END: usize = 0xdfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ECHO_START` [INFO] [stdout] --> src/cpu.rs:869:1 [INFO] [stdout] | [INFO] [stdout] 869 | const ECHO_START: usize = 0xe000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ECHO_END` [INFO] [stdout] --> src/cpu.rs:870:1 [INFO] [stdout] | [INFO] [stdout] 870 | const ECHO_END: usize = 0xfdff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_START` [INFO] [stdout] --> src/cpu.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | const OAM_START: usize = 0xfe00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_END` [INFO] [stdout] --> src/cpu.rs:872:1 [INFO] [stdout] | [INFO] [stdout] 872 | const OAM_END: usize = 0xfe9f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NOT_USABLE_START` [INFO] [stdout] --> src/cpu.rs:873:1 [INFO] [stdout] | [INFO] [stdout] 873 | const NOT_USABLE_START: usize = 0xfea0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NOT_USABLE_END` [INFO] [stdout] --> src/cpu.rs:874:1 [INFO] [stdout] | [INFO] [stdout] 874 | const NOT_USABLE_END: usize = 0xfeff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IO_START` [INFO] [stdout] --> src/cpu.rs:875:1 [INFO] [stdout] | [INFO] [stdout] 875 | const IO_START: usize = 0xff00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IO_END` [INFO] [stdout] --> src/cpu.rs:876:1 [INFO] [stdout] | [INFO] [stdout] 876 | const IO_END: usize = 0xff7f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HRAM_START` [INFO] [stdout] --> src/cpu.rs:877:1 [INFO] [stdout] | [INFO] [stdout] 877 | const HRAM_START: usize = 0xff80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HRAM_END` [INFO] [stdout] --> src/cpu.rs:878:1 [INFO] [stdout] | [INFO] [stdout] 878 | const HRAM_END: usize = 0xfffe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERRUPT_ENABLE_REG` [INFO] [stdout] --> src/cpu.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | const INTERRUPT_ENABLE_REG: usize = 0xffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_cycles` [INFO] [stdout] --> src/instructions.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | number_of_cycles: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_log_console` [INFO] [stdout] --> src/windows_interface.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn print_log_console(cpu: &Cpu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_log_file` [INFO] [stdout] --> src/windows_interface.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn print_log_file(cpu: &Cpu) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sleep` [INFO] [stdout] --> src/windows_interface.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sleep() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F_Add_SUB_SET` should have an upper case name [INFO] [stdout] --> src/cpu.rs:848:7 [INFO] [stdout] | [INFO] [stdout] 848 | const F_Add_SUB_SET: u8 = 0x40; //0100 0000 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `F_ADD_SUB_SET` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F_Add_SUB_CLR` should have an upper case name [INFO] [stdout] --> src/cpu.rs:853:7 [INFO] [stdout] | [INFO] [stdout] 853 | const F_Add_SUB_CLR: u8 = 0xbf; //1011 1111 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `F_ADD_SUB_CLR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/cpu.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | B = 0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/cpu.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | D, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/cpu.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | E, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cpu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | H, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | L, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_00_START` [INFO] [stdout] --> src/cpu.rs:857:1 [INFO] [stdout] | [INFO] [stdout] 857 | const BANK_00_START: usize = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_00_END` [INFO] [stdout] --> src/cpu.rs:858:1 [INFO] [stdout] | [INFO] [stdout] 858 | const BANK_00_END: usize = 0x3fff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_01_START` [INFO] [stdout] --> src/cpu.rs:859:1 [INFO] [stdout] | [INFO] [stdout] 859 | const BANK_01_START: usize = 0x4000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BANK_01_END` [INFO] [stdout] --> src/cpu.rs:860:1 [INFO] [stdout] | [INFO] [stdout] 860 | const BANK_01_END: usize = 0x7fff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VRAM_START` [INFO] [stdout] --> src/cpu.rs:861:1 [INFO] [stdout] | [INFO] [stdout] 861 | const VRAM_START: usize = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXTERNAL_RAM_START` [INFO] [stdout] --> src/cpu.rs:863:1 [INFO] [stdout] | [INFO] [stdout] 863 | const EXTERNAL_RAM_START: usize = 0xa000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXTERNAL_RAM_END` [INFO] [stdout] --> src/cpu.rs:864:1 [INFO] [stdout] | [INFO] [stdout] 864 | const EXTERNAL_RAM_END: usize = 0xbfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_0_START` [INFO] [stdout] --> src/cpu.rs:865:1 [INFO] [stdout] | [INFO] [stdout] 865 | const WRAM_BANK_0_START: usize = 0xc000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_0_END` [INFO] [stdout] --> src/cpu.rs:866:1 [INFO] [stdout] | [INFO] [stdout] 866 | const WRAM_BANK_0_END: usize = 0xcfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_1_START` [INFO] [stdout] --> src/cpu.rs:867:1 [INFO] [stdout] | [INFO] [stdout] 867 | const WRAM_BANK_1_START: usize = 0xd000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_BANK_1_END` [INFO] [stdout] --> src/cpu.rs:868:1 [INFO] [stdout] | [INFO] [stdout] 868 | const WRAM_BANK_1_END: usize = 0xdfff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ECHO_START` [INFO] [stdout] --> src/cpu.rs:869:1 [INFO] [stdout] | [INFO] [stdout] 869 | const ECHO_START: usize = 0xe000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ECHO_END` [INFO] [stdout] --> src/cpu.rs:870:1 [INFO] [stdout] | [INFO] [stdout] 870 | const ECHO_END: usize = 0xfdff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_START` [INFO] [stdout] --> src/cpu.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | const OAM_START: usize = 0xfe00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_END` [INFO] [stdout] --> src/cpu.rs:872:1 [INFO] [stdout] | [INFO] [stdout] 872 | const OAM_END: usize = 0xfe9f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NOT_USABLE_START` [INFO] [stdout] --> src/cpu.rs:873:1 [INFO] [stdout] | [INFO] [stdout] 873 | const NOT_USABLE_START: usize = 0xfea0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NOT_USABLE_END` [INFO] [stdout] --> src/cpu.rs:874:1 [INFO] [stdout] | [INFO] [stdout] 874 | const NOT_USABLE_END: usize = 0xfeff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IO_START` [INFO] [stdout] --> src/cpu.rs:875:1 [INFO] [stdout] | [INFO] [stdout] 875 | const IO_START: usize = 0xff00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IO_END` [INFO] [stdout] --> src/cpu.rs:876:1 [INFO] [stdout] | [INFO] [stdout] 876 | const IO_END: usize = 0xff7f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HRAM_START` [INFO] [stdout] --> src/cpu.rs:877:1 [INFO] [stdout] | [INFO] [stdout] 877 | const HRAM_START: usize = 0xff80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HRAM_END` [INFO] [stdout] --> src/cpu.rs:878:1 [INFO] [stdout] | [INFO] [stdout] 878 | const HRAM_END: usize = 0xfffe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERRUPT_ENABLE_REG` [INFO] [stdout] --> src/cpu.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | const INTERRUPT_ENABLE_REG: usize = 0xffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_cycles` [INFO] [stdout] --> src/instructions.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | number_of_cycles: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_log_console` [INFO] [stdout] --> src/windows_interface.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn print_log_console(cpu: &Cpu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_log_file` [INFO] [stdout] --> src/windows_interface.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn print_log_file(cpu: &Cpu) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sleep` [INFO] [stdout] --> src/windows_interface.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sleep() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F_Add_SUB_SET` should have an upper case name [INFO] [stdout] --> src/cpu.rs:848:7 [INFO] [stdout] | [INFO] [stdout] 848 | const F_Add_SUB_SET: u8 = 0x40; //0100 0000 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `F_ADD_SUB_SET` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F_Add_SUB_CLR` should have an upper case name [INFO] [stdout] --> src/cpu.rs:853:7 [INFO] [stdout] | [INFO] [stdout] 853 | const F_Add_SUB_CLR: u8 = 0xbf; //1011 1111 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `F_ADD_SUB_CLR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "a3b6617eac1d1b5eba140aa2952d1b61dc10ea9afd566605a55496fdeb6a5816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b6617eac1d1b5eba140aa2952d1b61dc10ea9afd566605a55496fdeb6a5816", kill_on_drop: false }` [INFO] [stdout] a3b6617eac1d1b5eba140aa2952d1b61dc10ea9afd566605a55496fdeb6a5816