[INFO] cloning repository https://github.com/javierbg/DaMaGed
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/javierbg/DaMaGed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavierbg%2FDaMaGed", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavierbg%2FDaMaGed'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 135b57d196d3190e611546ead148568e1a476991
[INFO] checking javierbg/DaMaGed against master#1b8f2e46e14b08208a53585570edd9206374aae8 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavierbg%2FDaMaGed" "/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/javierbg/DaMaGed
[INFO] finished tweaking git repo https://github.com/javierbg/DaMaGed
[INFO] tweaked toml for git repo https://github.com/javierbg/DaMaGed written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/javierbg/DaMaGed on toolchain 1b8f2e46e14b08208a53585570edd9206374aae8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/javierbg/DaMaGed 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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dylib v0.0.1
[INFO] [stderr]   Downloaded gdi32-sys v0.1.1
[INFO] [stderr]   Downloaded libc v0.2.19
[INFO] [stderr]   Downloaded redox_syscall v0.1.16
[INFO] [stderr]   Downloaded time v0.1.36
[INFO] [stderr]   Downloaded libc v0.1.12
[INFO] [stderr]   Downloaded user32-sys v0.1.2
[INFO] [stderr]   Downloaded argparse v0.2.1
[INFO] [stderr]   Downloaded x11-dl v2.2.1
[INFO] [stderr]   Downloaded minifb v0.9.0
[INFO] [stderr]   Downloaded gcc v0.3.41
[INFO] [stderr]   Downloaded kernel32-sys v0.1.4
[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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3d18973c2c3d3068e36cf5c3c07dc28bc1613e5e83e4afc0399e2a212bf8ea8
[INFO] running `Command { std: "docker" "start" "-a" "e3d18973c2c3d3068e36cf5c3c07dc28bc1613e5e83e4afc0399e2a212bf8ea8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3d18973c2c3d3068e36cf5c3c07dc28bc1613e5e83e4afc0399e2a212bf8ea8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3d18973c2c3d3068e36cf5c3c07dc28bc1613e5e83e4afc0399e2a212bf8ea8", kill_on_drop: false }`
[INFO] [stdout] e3d18973c2c3d3068e36cf5c3c07dc28bc1613e5e83e4afc0399e2a212bf8ea8
[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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd7c7600d3637eeb7d6b20ce7c6e40915bbef0f74af56d73b679f84317e99169
[INFO] running `Command { std: "docker" "start" "-a" "cd7c7600d3637eeb7d6b20ce7c6e40915bbef0f74af56d73b679f84317e99169", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking libc v0.2.19
[INFO] [stderr]    Compiling gcc v0.3.41
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]     Checking argparse v0.2.1
[INFO] [stderr]     Checking dylib v0.0.1
[INFO] [stderr]     Checking time v0.1.36
[INFO] [stderr]     Checking x11-dl v2.2.1
[INFO] [stderr]    Compiling minifb v0.9.0
[INFO] [stderr]     Checking rustyboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |             0x01 ... 0x03 => println!("Write to SERIAL"),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |             0x04 ... 0x07 => self.timer.write_timer(addr, val),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |             0x10 ... 0x26 => println!("Write to SOUND"),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |             0x40 ... 0x4B => self.ppu.write_ppu(addr, val),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |             0x51 ... 0x7F => {}, // Empty
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |             0x04 ... 0x07 => self.timer.read_timer(addr),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |             0x40 ... 0x4B => self.ppu.read_ppu(addr),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/mem_map.rs:97:23
[INFO] [stdout]    |
[INFO] [stdout] 97 |         CARTRIDGE_ROM_START ... CARTRIDGE_ROM_END
[INFO] [stdout]    |                             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 |         VRAM_START ... VRAM_END
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:103:22
[INFO] [stdout]     |
[INFO] [stdout] 103 |         EXTERNAL_RAM_START ... EXTERNAL_RAM_END
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 |         INTERNAL_RAM_START ... INTERNAL_RAM_END
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 |         ECHO_INTERNAL_RAM_START ... ECHO_INTERNAL_RAM_END
[INFO] [stdout]     |                                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:112:20
[INFO] [stdout]     |
[INFO] [stdout] 112 |         SPRITE_RAM_START ... SPRITE_RAM_END
[INFO] [stdout]     |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:115:16
[INFO] [stdout]     |
[INFO] [stdout] 115 |         UNUSED_START ... UNUSED_END
[INFO] [stdout]     |                      ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |         HARDWARE_IO_START ... HARDWARE_IO_END
[INFO] [stdout]     |                           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout] 121 |         HIGH_RAM_START ... HIGH_RAM_END
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/rom.rs:85:35
[INFO] [stdout]    |
[INFO] [stdout] 85 |             mem_map::CARTRIDGE_BANK0_START ... mem_map::CARTRIDGE_BANK0_END => {
[INFO] [stdout]    |                                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/rom.rs:94:35
[INFO] [stdout]    |
[INFO] [stdout] 94 |             mem_map::CARTRIDGE_BANKN_START ... mem_map::CARTRIDGE_BANKN_END => {
[INFO] [stdout]    |                                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/rom.rs:109:11
[INFO] [stdout]     |
[INFO] [stdout] 109 |             0x2000 ... 0x3FFF => { //TODO: Extract to constant?
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |             0x01 ... 0x03 => println!("Write to SERIAL"),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |             0x04 ... 0x07 => self.timer.write_timer(addr, val),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |             0x10 ... 0x26 => println!("Write to SOUND"),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |             0x40 ... 0x4B => self.ppu.write_ppu(addr, val),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |             0x51 ... 0x7F => {}, // Empty
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |             0x04 ... 0x07 => self.timer.read_timer(addr),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/io.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |             0x40 ... 0x4B => self.ppu.read_ppu(addr),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/mem_map.rs:97:23
[INFO] [stdout]    |
[INFO] [stdout] 97 |         CARTRIDGE_ROM_START ... CARTRIDGE_ROM_END
[INFO] [stdout]    |                             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 |         VRAM_START ... VRAM_END
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:103:22
[INFO] [stdout]     |
[INFO] [stdout] 103 |         EXTERNAL_RAM_START ... EXTERNAL_RAM_END
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 |         INTERNAL_RAM_START ... INTERNAL_RAM_END
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 |         ECHO_INTERNAL_RAM_START ... ECHO_INTERNAL_RAM_END
[INFO] [stdout]     |                                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:112:20
[INFO] [stdout]     |
[INFO] [stdout] 112 |         SPRITE_RAM_START ... SPRITE_RAM_END
[INFO] [stdout]     |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:115:16
[INFO] [stdout]     |
[INFO] [stdout] 115 |         UNUSED_START ... UNUSED_END
[INFO] [stdout]     |                      ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |         HARDWARE_IO_START ... HARDWARE_IO_END
[INFO] [stdout]     |                           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mem_map.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout] 121 |         HIGH_RAM_START ... HIGH_RAM_END
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/rom.rs:85:35
[INFO] [stdout]    |
[INFO] [stdout] 85 |             mem_map::CARTRIDGE_BANK0_START ... mem_map::CARTRIDGE_BANK0_END => {
[INFO] [stdout]    |                                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/rom.rs:94:35
[INFO] [stdout]    |
[INFO] [stdout] 94 |             mem_map::CARTRIDGE_BANKN_START ... mem_map::CARTRIDGE_BANKN_END => {
[INFO] [stdout]    |                                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/rom.rs:109:11
[INFO] [stdout]     |
[INFO] [stdout] 109 |             0x2000 ... 0x3FFF => { //TODO: Extract to constant?
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut new_val: u8;
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/mem_map.rs:127:3
[INFO] [stdout]     |
[INFO] [stdout] 127 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/mem_map.rs:127:3
[INFO] [stdout]     |
[INFO] [stdout]  97 |         CARTRIDGE_ROM_START ... CARTRIDGE_ROM_END
[INFO] [stdout]     |         ----------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 100 |         VRAM_START ... VRAM_END
[INFO] [stdout]     |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 103 |         EXTERNAL_RAM_START ... EXTERNAL_RAM_END
[INFO] [stdout]     |         --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 106 |         INTERNAL_RAM_START ... INTERNAL_RAM_END
[INFO] [stdout]     |         --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 127 |         _ => {
[INFO] [stdout]     |         ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sprite` is assigned to, but never used
[INFO] [stdout]    --> src/video.rs:156:7
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let mut sprite = self.sprite_ram[sprite_index];
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sprite` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |             0b00 => sprite.position_y = val,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 |             0b01 => sprite.position_x = val,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |             0b10 => sprite.tile_number = val,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 sprite.priority = if (val & 0b1000_0000) != 0 { true } else { false };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 sprite.flip_y = if (val & 0b0100_0000) != 0 { true } else { false };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 sprite.flip_x = if (val & 0b0010_0000) != 0 { true } else { false };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:166:5
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 sprite.palette = if (val & 0b1000_0000) != 0 { 1 } else { 0 };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/emulator.rs:195:4
[INFO] [stdout]     |
[INFO] [stdout] 195 |             stdout.flush();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |             let _ = stdout.flush();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `i8`
[INFO] [stdout]    --> src/cpu.rs:437:39
[INFO] [stdout]     |
[INFO] [stdout] 437 |                         if (old_val & 0b1000_0000) != 0 { self.set_flag(Flag::C) } else { self.reset_flag(Flag::C) };
[INFO] [stdout]     |                                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0b1000_0000` (decimal `128`) does not fit into the type `i8` and will become `-128i8`
[INFO] [stdout]     = help: consider using the type `u8` instead
[INFO] [stdout]     = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] help: to use as a negative number (decimal `-128`), consider using the type `u8` for the literal and cast it to `i8`
[INFO] [stdout]     |
[INFO] [stdout] 437 |                         if (old_val & 0b1000_0000u8 as i8) != 0 { self.set_flag(Flag::C) } else { self.reset_flag(Flag::C) };
[INFO] [stdout]     |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut new_val: u8;
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustyboy` (bin "rustyboy" test) due to 1 previous error; 30 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/mem_map.rs:127:3
[INFO] [stdout]     |
[INFO] [stdout] 127 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/mem_map.rs:127:3
[INFO] [stdout]     |
[INFO] [stdout]  97 |         CARTRIDGE_ROM_START ... CARTRIDGE_ROM_END
[INFO] [stdout]     |         ----------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 100 |         VRAM_START ... VRAM_END
[INFO] [stdout]     |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 103 |         EXTERNAL_RAM_START ... EXTERNAL_RAM_END
[INFO] [stdout]     |         --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 106 |         INTERNAL_RAM_START ... INTERNAL_RAM_END
[INFO] [stdout]     |         --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 127 |         _ => {
[INFO] [stdout]     |         ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sprite` is assigned to, but never used
[INFO] [stdout]    --> src/video.rs:156:7
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let mut sprite = self.sprite_ram[sprite_index];
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sprite` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |             0b00 => sprite.position_y = val,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 |             0b01 => sprite.position_x = val,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |             0b10 => sprite.tile_number = val,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 sprite.priority = if (val & 0b1000_0000) != 0 { true } else { false };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 sprite.flip_y = if (val & 0b0100_0000) != 0 { true } else { false };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 sprite.flip_x = if (val & 0b0010_0000) != 0 { true } else { false };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite` is never read
[INFO] [stdout]    --> src/video.rs:166:5
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 sprite.palette = if (val & 0b1000_0000) != 0 { 1 } else { 0 };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/emulator.rs:195:4
[INFO] [stdout]     |
[INFO] [stdout] 195 |             stdout.flush();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |             let _ = stdout.flush();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `i8`
[INFO] [stdout]    --> src/cpu.rs:437:39
[INFO] [stdout]     |
[INFO] [stdout] 437 |                         if (old_val & 0b1000_0000) != 0 { self.set_flag(Flag::C) } else { self.reset_flag(Flag::C) };
[INFO] [stdout]     |                                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0b1000_0000` (decimal `128`) does not fit into the type `i8` and will become `-128i8`
[INFO] [stdout]     = help: consider using the type `u8` instead
[INFO] [stdout]     = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] help: to use as a negative number (decimal `-128`), consider using the type `u8` for the literal and cast it to `i8`
[INFO] [stdout]     |
[INFO] [stdout] 437 |                         if (old_val & 0b1000_0000u8 as i8) != 0 { self.set_flag(Flag::C) } else { self.reset_flag(Flag::C) };
[INFO] [stdout]     |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustyboy` (bin "rustyboy") due to 1 previous error; 30 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cd7c7600d3637eeb7d6b20ce7c6e40915bbef0f74af56d73b679f84317e99169", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd7c7600d3637eeb7d6b20ce7c6e40915bbef0f74af56d73b679f84317e99169", kill_on_drop: false }`
[INFO] [stdout] cd7c7600d3637eeb7d6b20ce7c6e40915bbef0f74af56d73b679f84317e99169
