[INFO] cloning repository https://github.com/JJag/gb-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JJag/gb-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3662b403478bb0160e0b3bbcefcb4e7823101a7
[INFO] checking JJag/gb-rust against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JJag/gb-rust
[INFO] finished tweaking git repo https://github.com/JJag/gb-rust
[INFO] tweaked toml for git repo https://github.com/JJag/gb-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JJag/gb-rust on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JJag/gb-rust 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" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b
[INFO] running `Command { std: "docker" "start" "3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]     Checking arrayvec v0.4.8
[INFO] [stderr]    Compiling khronos_api v3.0.0
[INFO] [stderr]     Checking piston-float v0.3.0
[INFO] [stderr]     Checking stb_truetype v0.2.4
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]     Checking nix v0.11.0
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking rand_core v0.2.2
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]     Checking approx v0.3.0
[INFO] [stderr]     Checking ordered-float v1.0.1
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]     Checking piston-viewport v0.5.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.7
[INFO] [stderr]     Checking rusttype v0.7.3
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling serde v1.0.80
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking rand v0.5.5
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking wayland-sys v0.21.7
[INFO] [stderr]     Checking same-file v1.0.4
[INFO] [stderr]    Compiling num-derive v0.2.3
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling wayland-client v0.21.7
[INFO] [stderr]    Compiling wayland-protocols v0.21.7
[INFO] [stderr]     Checking downcast-rs v1.0.3
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]     Checking walkdir v2.2.7
[INFO] [stderr]     Checking smallvec v0.6.7
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking shader_version v0.3.0
[INFO] [stderr]     Checking wayland-commons v0.21.7
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]     Checking andrew v0.1.4
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]     Checking inflate v0.4.3
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking parking_lot v0.6.4
[INFO] [stderr]    Compiling gfx_gl v0.5.0
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking num-rational v0.2.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking piston-texture v0.6.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking vecmath v0.3.1
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking interpolation v0.1.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking piston2d-graphics v0.28.0
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.80
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.2
[INFO] [stderr]     Checking winit v0.18.0
[INFO] [stderr]     Checking tiff v0.2.1
[INFO] [stderr]     Checking image v0.20.1
[INFO] [stderr]     Checking gfx_core v0.8.3
[INFO] [stderr]     Checking gfx v0.17.1
[INFO] [stderr]     Checking gfx_device_gl v0.15.3
[INFO] [stderr]     Checking pistoncore-input v0.23.0
[INFO] [stderr]     Checking piston-gfx_texture v0.34.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.54.0
[INFO] [stderr]     Checking pistoncore-window v0.34.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.39.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.51.1
[INFO] [stderr]     Checking piston v0.39.0
[INFO] [stderr]     Checking piston_window v0.85.0
[INFO] [stderr]     Checking gb-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `piston_window::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use piston_window::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::gb::Interrupts`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::gb::Interrupts;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::gb::joypad::JoypadInterrupt`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::gb::joypad::JoypadInterrupt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::Array2D`
[INFO] [stdout]  --> src/frontend/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::util::Array2D;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::gb::joypad::JoypadInterrupt`
[INFO] [stdout]  --> src/emu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::gb::joypad::JoypadInterrupt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gb/mmu.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 0x0000...0x3FFF => self.cart.read_byte(addr as u16),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 0x4000...0x7FFF => self.cart.read_byte(addr as u16),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 0x8000...0x9FFF => {
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 0xA000...0xBFFF => self.cart.read_byte(addr as u16),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 0xC000...0xDFFF => self.work_ram[addr - 0xC000],
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:86:23
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 0xE000...0xFDFF => self.work_ram[addr - 0xE000],
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 0xFE00...0xFE9F => {
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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: unused import: `piston_window::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use piston_window::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb/mmu.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 0xFF00...0xFF7F => self.unhandled_io[addr - 0xFF00],
[INFO] [stdout]     |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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: unused import: `crate::gb::Interrupts`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::gb::Interrupts;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb/mmu.rs:121:23
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80],
[INFO] [stdout]     |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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: unused import: `crate::gb::joypad::JoypadInterrupt`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::gb::joypad::JoypadInterrupt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb/mmu.rs:122:23
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 0xFEA0...0xFEFF => 0, // accessing this memory is undefined behaviour
[INFO] [stdout]     |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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: unused import: `crate::util::Array2D`
[INFO] [stdout]  --> src/frontend/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::util::Array2D;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb/mmu.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |             0x0000...0x3FFF => self.cart.write_byte(addr as u16, val),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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: unused import: `crate::gb::joypad::JoypadInterrupt`
[INFO] [stdout]  --> src/emu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::gb::joypad::JoypadInterrupt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb/mmu.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 139 |             0x4000...0x7FFF => self.cart.write_byte(addr as u16, val),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 0x0000...0x3FFF => self.cart.read_byte(addr as u16),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:140:19
[INFO] [stdout]     |
[INFO] [stdout] 140 |             0x8000...0x9FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:145:19
[INFO] [stdout]     |
[INFO] [stdout] 145 |             0xA000...0xBFFF => self.cart.write_byte(addr as u16, val),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 0x4000...0x7FFF => self.cart.read_byte(addr as u16),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 0x8000...0x9FFF => {
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:146:19
[INFO] [stdout]     |
[INFO] [stdout] 146 |             0xC000...0xDFFF => self.work_ram[addr - 0xC000] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 0xA000...0xBFFF => self.cart.read_byte(addr as u16),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:147:19
[INFO] [stdout]     |
[INFO] [stdout] 147 |             0xE000...0xFDFF => self.work_ram[addr - 0xE000] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:148:19
[INFO] [stdout]     |
[INFO] [stdout] 148 |             0xFE00...0xFE9F => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:177:19
[INFO] [stdout]     |
[INFO] [stdout] 177 |             0xFF01...0xFF7F => self.unhandled_io[addr - 0xFF00] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:178:19
[INFO] [stdout]     |
[INFO] [stdout] 178 |             0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:179:19
[INFO] [stdout]     |
[INFO] [stdout] 179 |             0xFEA0...0xFEFF => {}, // accessing this memory is undefined behaviour
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/gb/ppu.rs:359:9
[INFO] [stdout]     |
[INFO] [stdout] 359 | /         (
[INFO] [stdout] 360 | |             (self.lcd_display_enable as u8) << 7 |
[INFO] [stdout]     | |____________^
[INFO] [stdout] ...
[INFO] [stdout] 367 |                   (self.bg_window_priority as u8) << 0
[INFO] [stdout]     |  _____________________________________________________^
[INFO] [stdout] 368 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 359 ~         (self.lcd_display_enable as u8) << 7 |
[INFO] [stdout] 360 |                 (self.window_tilemap_select1 as u8) << 6 |
[INFO] [stdout] ...
[INFO] [stdout] 365 |                 (self.sprites_enabled as u8) << 1 |
[INFO] [stdout] 366 ~                 (self.bg_window_priority as u8) << 0 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gb/mbc.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |             0x0000...0x3FFF => self.rom[addr as usize],
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |             0x4000...0x7FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |             0xA000...0xBFFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 0xC000...0xDFFF => self.work_ram[addr - 0xC000],
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |             0x0000...0x1FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:86:23
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 0xE000...0xFDFF => self.work_ram[addr - 0xE000],
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |             0x2000...0x3FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 0xFE00...0xFE9F => {
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |             0x4000...0x5FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 0xFF00...0xFF7F => self.unhandled_io[addr - 0xFF00],
[INFO] [stdout]     |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x6000...0x7FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:121:23
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80],
[INFO] [stdout]     |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 |             0xA000...0xBFFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:122:23
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 0xFEA0...0xFEFF => 0, // accessing this memory is undefined behaviour
[INFO] [stdout]     |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |             0x0000...0x3FFF => self.cart.write_byte(addr as u16, val),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 139 |             0x4000...0x7FFF => self.cart.write_byte(addr as u16, val),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:140:19
[INFO] [stdout]     |
[INFO] [stdout] 140 |             0x8000...0x9FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:145:19
[INFO] [stdout]     |
[INFO] [stdout] 145 |             0xA000...0xBFFF => self.cart.write_byte(addr as u16, val),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:146:19
[INFO] [stdout]     |
[INFO] [stdout] 146 |             0xC000...0xDFFF => self.work_ram[addr - 0xC000] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:147:19
[INFO] [stdout]     |
[INFO] [stdout] 147 |             0xE000...0xFDFF => self.work_ram[addr - 0xE000] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:148:19
[INFO] [stdout]     |
[INFO] [stdout] 148 |             0xFE00...0xFE9F => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:177:19
[INFO] [stdout]     |
[INFO] [stdout] 177 |             0xFF01...0xFF7F => self.unhandled_io[addr - 0xFF00] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:178:19
[INFO] [stdout]     |
[INFO] [stdout] 178 |             0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80] = val,
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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/gb/mmu.rs:179:19
[INFO] [stdout]     |
[INFO] [stdout] 179 |             0xFEA0...0xFEFF => {}, // accessing this memory is undefined behaviour
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) 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: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/gb/ppu.rs:359:9
[INFO] [stdout]     |
[INFO] [stdout] 359 | /         (
[INFO] [stdout] 360 | |             (self.lcd_display_enable as u8) << 7 |
[INFO] [stdout]     | |____________^
[INFO] [stdout] ...
[INFO] [stdout] 367 |                   (self.bg_window_priority as u8) << 0
[INFO] [stdout]     |  _____________________________________________________^
[INFO] [stdout] 368 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 359 ~         (self.lcd_display_enable as u8) << 7 |
[INFO] [stdout] 360 |                 (self.window_tilemap_select1 as u8) << 6 |
[INFO] [stdout] ...
[INFO] [stdout] 365 |                 (self.sprites_enabled as u8) << 1 |
[INFO] [stdout] 366 ~                 (self.bg_window_priority as u8) << 0 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gb/mbc.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |             0x0000...0x3FFF => self.rom[addr as usize],
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |             0x4000...0x7FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |             0xA000...0xBFFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |             0x0000...0x1FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |             0x2000...0x3FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |             0x4000...0x5FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x6000...0x7FFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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/gb/mbc.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 |             0xA000...0xBFFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/emu.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub frontend: Box<Frontend>,
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) 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(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub frontend: Box<dyn Frontend>,
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gb/mmu.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub cart: Box<Cartridge>,
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub cart: Box<dyn Cartridge>,
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/emu.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub frontend: Box<Frontend>,
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) 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(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub frontend: Box<dyn Frontend>,
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gb/mmu.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub cart: Box<Cartridge>,
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub cart: Box<dyn Cartridge>,
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn build_cart(rom: Vec<u8>) -> Box<Cartridge> {
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn build_cart(rom: Vec<u8>) -> Box<dyn Cartridge> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gb/mmu.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |         cart: Box<Cartridge>,
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |         cart: Box<dyn Cartridge>,
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn build_cart(rom: Vec<u8>) -> Box<Cartridge> {
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn build_cart(rom: Vec<u8>) -> Box<dyn Cartridge> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gb/mmu.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |         cart: Box<Cartridge>,
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |         cart: Box<dyn Cartridge>,
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston_window`
[INFO] [stdout]  --> src/emu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use piston_window::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston_window`
[INFO] [stdout]  --> src/emu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use piston_window::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/gb/mbc.rs:101:30
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn write_byte(&mut self, addr: u16, val: u8) {}
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/gb/mbc.rs:101:41
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn write_byte(&mut self, addr: u16, val: u8) {}
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gb/mod.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 388 |         _ => handle_invalid_opcode(opcode),
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gb/mod.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         0x00 => cpu.nop(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 113 |         0x01 => cpu.ld_bc_nn(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 114 |         0x02 => cpu.ld_bc_a(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 115 |         0x03 => cpu.INC_BC(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 388 |         _ => handle_invalid_opcode(opcode),
[INFO] [stdout]     |         ^ ...and 252 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: unused variable: `rom_name`
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let rom_name = cart.get_name();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/frontend/gfx.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 11 -     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout] 11 +     let bytes: [u8; 4] = unsafe { u32::to_ne_bytes(rgba.to_be()) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/gb/cpu/instrs/add16.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 34 -         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout] 34 +         let signed_n = unsafe { u8::cast_signed(n) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/gb/cpu/instrs/jp.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let n = unsafe { mem::transmute::<u8, i8>(self.mmu.read_byte(self.pc)) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 42 -         let n = unsafe { mem::transmute::<u8, i8>(self.mmu.read_byte(self.pc)) };
[INFO] [stdout] 42 +         let n = unsafe { u8::cast_signed(self.mmu.read_byte(self.pc)) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/gb/cpu/instrs/ld.rs:168:33
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 168 -         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout] 168 +         let signed_n = unsafe { u8::cast_signed(n) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/gb/ppu.rs:330:33
[INFO] [stdout]     |
[INFO] [stdout] 330 |         let tile_idx = unsafe { mem::transmute::<u8, i8>(tile_idx) } as i32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 330 -         let tile_idx = unsafe { mem::transmute::<u8, i8>(tile_idx) } as i32;
[INFO] [stdout] 330 +         let tile_idx = unsafe { u8::cast_signed(tile_idx) } as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/gb/ppu.rs:388:35
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 388 -     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout] 388 +     let bytes: [u8; 4] = unsafe { u32::to_ne_bytes(rgba.to_be()) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/gb/mbc.rs:101:30
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn write_byte(&mut self, addr: u16, val: u8) {}
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/gb/mbc.rs:101:41
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn write_byte(&mut self, addr: u16, val: u8) {}
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gb/mod.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 388 |         _ => handle_invalid_opcode(opcode),
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gb/mod.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         0x00 => cpu.nop(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 113 |         0x01 => cpu.ld_bc_nn(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 114 |         0x02 => cpu.ld_bc_a(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 115 |         0x03 => cpu.INC_BC(),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 388 |         _ => handle_invalid_opcode(opcode),
[INFO] [stdout]     |         ^ ...and 252 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: unused variable: `rom_name`
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let rom_name = cart.get_name();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/frontend/gfx.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 11 -     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout] 11 +     let bytes: [u8; 4] = unsafe { u32::to_ne_bytes(rgba.to_be()) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/gb/cpu/instrs/add16.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 34 -         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout] 34 +         let signed_n = unsafe { u8::cast_signed(n) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/gb/cpu/instrs/jp.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let n = unsafe { mem::transmute::<u8, i8>(self.mmu.read_byte(self.pc)) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 42 -         let n = unsafe { mem::transmute::<u8, i8>(self.mmu.read_byte(self.pc)) };
[INFO] [stdout] 42 +         let n = unsafe { u8::cast_signed(self.mmu.read_byte(self.pc)) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/gb/cpu/instrs/ld.rs:168:33
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 168 -         let signed_n = unsafe { mem::transmute::<u8, i8>(n) };
[INFO] [stdout] 168 +         let signed_n = unsafe { u8::cast_signed(n) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/gb/ppu.rs:330:33
[INFO] [stdout]     |
[INFO] [stdout] 330 |         let tile_idx = unsafe { mem::transmute::<u8, i8>(tile_idx) } as i32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 330 -         let tile_idx = unsafe { mem::transmute::<u8, i8>(tile_idx) } as i32;
[INFO] [stdout] 330 +         let tile_idx = unsafe { u8::cast_signed(tile_idx) } as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/gb/ppu.rs:388:35
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 388 -     let bytes: [u8; 4] = unsafe { transmute(rgba.to_be()) };
[INFO] [stdout] 388 +     let bytes: [u8; 4] = unsafe { u32::to_ne_bytes(rgba.to_be()) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.44s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b", kill_on_drop: false }`
[INFO] [stdout] 3b6c6367ac2b5b6d90a83fd34b82a00c96f9307ce4f17ba7f0a2f4fb0d76b46b
