[INFO] cloning repository https://github.com/GarntS/garntboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GarntS/garntboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGarntS%2Fgarntboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGarntS%2Fgarntboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 881c6f697a3be1b1c891e1ff11afbb45361e43c4
[INFO] checking GarntS/garntboy against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGarntS%2Fgarntboy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/GarntS/garntboy
[INFO] finished tweaking git repo https://github.com/GarntS/garntboy
[INFO] tweaked toml for git repo https://github.com/GarntS/garntboy written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GarntS/garntboy on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/GarntS/garntboy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-libretro-sys v0.1.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.47
[INFO] [stderr]   Downloaded termcolor v1.1.3
[INFO] [stderr]   Downloaded either v1.8.0
[INFO] [stderr]   Downloaded which v4.3.0
[INFO] [stderr]   Downloaded ident_case v1.0.1
[INFO] [stderr]   Downloaded rust-libretro-proc v0.1.5
[INFO] [stderr]   Downloaded getrandom v0.2.7
[INFO] [stderr]   Downloaded darling_macro v0.12.4
[INFO] [stderr]   Downloaded darling v0.12.4
[INFO] [stderr]   Downloaded humantime v2.1.0
[INFO] [stderr]   Downloaded libloading v0.7.3
[INFO] [stderr]   Downloaded once_cell v1.15.0
[INFO] [stderr]   Downloaded env_logger v0.9.1
[INFO] [stderr]   Downloaded uuid v0.8.2
[INFO] [stderr]   Downloaded darling_core v0.12.4
[INFO] [stderr]   Downloaded clang-sys v1.4.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.5
[INFO] [stderr]   Downloaded aho-corasick v0.7.19
[INFO] [stderr]   Downloaded quote v1.0.21
[INFO] [stderr]   Downloaded nom v7.1.1
[INFO] [stderr]   Downloaded rust-libretro v0.1.5
[INFO] [stderr]   Downloaded clap v2.34.0
[INFO] [stderr]   Downloaded bindgen v0.59.2
[INFO] [stderr]   Downloaded syn v1.0.102
[INFO] [stderr]   Downloaded regex-syntax v0.6.27
[INFO] [stderr]   Downloaded regex v1.6.0
[INFO] [stderr]   Downloaded doc_item v0.2.5
[INFO] [stderr]   Downloaded libc v0.2.135
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f13c1da77c23137281cd2045c68f4638d6c6e3907fc8d312084f667100f26154
[INFO] running `Command { std: "docker" "start" "-a" "f13c1da77c23137281cd2045c68f4638d6c6e3907fc8d312084f667100f26154", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f13c1da77c23137281cd2045c68f4638d6c6e3907fc8d312084f667100f26154", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f13c1da77c23137281cd2045c68f4638d6c6e3907fc8d312084f667100f26154", kill_on_drop: false }`
[INFO] [stdout] f13c1da77c23137281cd2045c68f4638d6c6e3907fc8d312084f667100f26154
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b7bd19392c7a24082adf017f29dd5cf97f3eb7e289228f861122bbbbedc0c50c
[INFO] running `Command { std: "docker" "start" "-a" "b7bd19392c7a24082adf017f29dd5cf97f3eb7e289228f861122bbbbedc0c50c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.135
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling syn v1.0.102
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking once_cell v1.15.0
[INFO] [stderr]    Compiling clang-sys v1.4.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.1
[INFO] [stderr]    Compiling darling_core v0.12.4
[INFO] [stderr]    Compiling darling_macro v0.12.4
[INFO] [stderr]    Compiling darling v0.12.4
[INFO] [stderr]    Compiling doc_item v0.2.5
[INFO] [stderr]    Compiling rust-libretro-sys v0.1.5
[INFO] [stderr]    Compiling rust-libretro-proc v0.1.5
[INFO] [stderr]     Checking rust-libretro v0.1.5
[INFO] [stderr]     Checking garntboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `CPUFlags` is more private than the item `RegisterState::cpu_flags`
[INFO] [stdout]   --> src/register_state.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn cpu_flags(&mut self) -> CPUFlags {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RegisterState::cpu_flags` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `CPUFlags` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/register_state.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / bitflags! {
[INFO] [stdout] 13 | |     // Results in default value with bits: 0
[INFO] [stdout] 14 | |     struct CPUFlags: u8 {
[INFO] [stdout] 15 | |         const Z = 0b10000000;
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `CPUFlags` is more private than the item `RegisterState::set_cpu_flags`
[INFO] [stdout]   --> src/register_state.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn set_cpu_flags(&mut self, val: CPUFlags) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RegisterState::set_cpu_flags` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `CPUFlags` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/register_state.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / bitflags! {
[INFO] [stdout] 13 | |     // Results in default value with bits: 0
[INFO] [stdout] 14 | |     struct CPUFlags: u8 {
[INFO] [stdout] 15 | |         const Z = 0b10000000;
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/instruction.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Instruction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/instruction.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Instruction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 19 |     const fn new(op: u8, mn: &'static str, len: u8, cyc: u8) -> Instruction {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTRUCTIONS` is never used
[INFO] [stdout]   --> src/instruction.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const INSTRUCTIONS: [Instruction; 256] = [
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_single_insn` is never used
[INFO] [stdout]    --> src/instruction.rs:286:8
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub fn execute_single_insn(opcode: u8, state: &mut GarntboyState) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/register_state.rs:59:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl RegisterState {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn cpu_flags(&mut self) -> CPUFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn set_cpu_flags(&mut self, val: CPUFlags) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn af(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn set_af(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn bc(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn set_bc(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn de(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn set_de(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn hl(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn set_hl(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn sp(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn set_sp(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn pc(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn a(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn set_a(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn f(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn set_f(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn b(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn set_b(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn c(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn set_c(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn d(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn set_d(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn e(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn set_e(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn h(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn set_h(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn l(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn set_l(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cycles_to_sleep`, `has_queued_changes`, `register_changes`, and `memory_changes` are never read
[INFO] [stdout]   --> src/garntboy_state.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct GarntboyState {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub cycles_to_sleep: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     pub has_queued_changes: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     pub register_changes: RegisterState,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     pub memory_changes: HashMap<usize, u8>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `option_1`, `option_2`, `pixels`, `timer`, and `even` are never read
[INFO] [stdout]   --> src/garntboy_core.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct GarntboyCore {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 20 |     option_1: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     option_2: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     pixels: [u8; 160 * 144 * 4],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 23 |     timer: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     even: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `CPUFlags` is more private than the item `RegisterState::cpu_flags`
[INFO] [stdout]   --> src/register_state.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn cpu_flags(&mut self) -> CPUFlags {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RegisterState::cpu_flags` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `CPUFlags` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/register_state.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / bitflags! {
[INFO] [stdout] 13 | |     // Results in default value with bits: 0
[INFO] [stdout] 14 | |     struct CPUFlags: u8 {
[INFO] [stdout] 15 | |         const Z = 0b10000000;
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `CPUFlags` is more private than the item `RegisterState::set_cpu_flags`
[INFO] [stdout]   --> src/register_state.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn set_cpu_flags(&mut self, val: CPUFlags) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RegisterState::set_cpu_flags` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `CPUFlags` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/register_state.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / bitflags! {
[INFO] [stdout] 13 | |     // Results in default value with bits: 0
[INFO] [stdout] 14 | |     struct CPUFlags: u8 {
[INFO] [stdout] 15 | |         const Z = 0b10000000;
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/instruction.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Instruction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/instruction.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Instruction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 19 |     const fn new(op: u8, mn: &'static str, len: u8, cyc: u8) -> Instruction {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTRUCTIONS` is never used
[INFO] [stdout]   --> src/instruction.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const INSTRUCTIONS: [Instruction; 256] = [
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_single_insn` is never used
[INFO] [stdout]    --> src/instruction.rs:286:8
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub fn execute_single_insn(opcode: u8, state: &mut GarntboyState) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/register_state.rs:59:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl RegisterState {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn cpu_flags(&mut self) -> CPUFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn set_cpu_flags(&mut self, val: CPUFlags) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn af(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn set_af(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn bc(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn set_bc(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn de(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn set_de(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn hl(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn set_hl(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn sp(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn set_sp(&mut self, val: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn pc(&mut self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn a(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn set_a(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn f(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn set_f(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn b(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn set_b(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn c(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn set_c(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn d(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn set_d(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn e(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn set_e(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn h(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn set_h(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn l(&mut self) -> u8 {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn set_l(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cycles_to_sleep`, `has_queued_changes`, `register_changes`, and `memory_changes` are never read
[INFO] [stdout]   --> src/garntboy_state.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct GarntboyState {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub cycles_to_sleep: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     pub has_queued_changes: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     pub register_changes: RegisterState,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     pub memory_changes: HashMap<usize, u8>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `option_1`, `option_2`, `pixels`, `timer`, and `even` are never read
[INFO] [stdout]   --> src/garntboy_core.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct GarntboyCore {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 20 |     option_1: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     option_2: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     pixels: [u8; 160 * 144 * 4],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 23 |     timer: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     even: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.28s
[INFO] running `Command { std: "docker" "inspect" "b7bd19392c7a24082adf017f29dd5cf97f3eb7e289228f861122bbbbedc0c50c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7bd19392c7a24082adf017f29dd5cf97f3eb7e289228f861122bbbbedc0c50c", kill_on_drop: false }`
[INFO] [stdout] b7bd19392c7a24082adf017f29dd5cf97f3eb7e289228f861122bbbbedc0c50c
