[INFO] cloning repository https://github.com/synlestidae/webnes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/synlestidae/webnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynlestidae%2Fwebnes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynlestidae%2Fwebnes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b33eaa14e63ac420c871b982988d968529885b32
[INFO] checking synlestidae/webnes/b33eaa14e63ac420c871b982988d968529885b32 against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynlestidae%2Fwebnes" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/synlestidae/webnes on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/synlestidae/webnes
[INFO] finished tweaking git repo https://github.com/synlestidae/webnes
[INFO] tweaked toml for git repo https://github.com/synlestidae/webnes written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 17 packages
[INFO] [stderr]       Adding lazy_static v0.1.16 (latest: v1.4.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 59d8d536afbcfaa7c34995660c1cb8edc34d5049a05eaa3417d0725be2f3ceab
[INFO] running `Command { std: "docker" "start" "-a" "59d8d536afbcfaa7c34995660c1cb8edc34d5049a05eaa3417d0725be2f3ceab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59d8d536afbcfaa7c34995660c1cb8edc34d5049a05eaa3417d0725be2f3ceab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59d8d536afbcfaa7c34995660c1cb8edc34d5049a05eaa3417d0725be2f3ceab", kill_on_drop: false }`
[INFO] [stdout] 59d8d536afbcfaa7c34995660c1cb8edc34d5049a05eaa3417d0725be2f3ceab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cfc0b48f977da763a4e7f753f99c3e898a062ad3cc513a7fb1c5f2f2dad78496
[INFO] running `Command { std: "docker" "start" "-a" "cfc0b48f977da763a4e7f753f99c3e898a062ad3cc513a7fb1c5f2f2dad78496", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]     Checking lazy_static v0.1.16
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]     Checking js-sys v0.3.69
[INFO] [stderr]     Checking web-sys v0.3.69
[INFO] [stderr]     Checking nes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/util.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{self, Read, Write, Result};
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/util.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let count = try!(rd.read(&mut buf[total..]));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutputBuffer`, `self`
[INFO] [stdout]  --> src/apu.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use audio::{self, OutputBuffer};
[INFO] [stdout]   |             ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `resampler::Resampler`
[INFO] [stdout]  --> src/apu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use resampler::Resampler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `web_sys` is imported redundantly
[INFO] [stdout]   --> src/apu.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use web_sys;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | extern crate web_sys;
[INFO] [stdout]    | --------------------- the item `web_sys` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/util.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{self, Read, Write, Result};
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/util.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let count = try!(rd.read(&mut buf[total..]));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutputBuffer`, `self`
[INFO] [stdout]  --> src/apu.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use audio::{self, OutputBuffer};
[INFO] [stdout]   |             ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `resampler::Resampler`
[INFO] [stdout]  --> src/apu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use resampler::Resampler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `web_sys` is imported redundantly
[INFO] [stdout]   --> src/apu.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use web_sys;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | extern crate web_sys;
[INFO] [stdout]    | --------------------- the item `web_sys` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:430:20
[INFO] [stdout]     |
[INFO] [stdout] 430 |             0x4000 ... 0x4003 => self.update_pulse(addr, val, 0),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:431:20
[INFO] [stdout]     |
[INFO] [stdout] 431 |             0x4004 ... 0x4007 => self.update_pulse(addr, val, 1),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:432:20
[INFO] [stdout]     |
[INFO] [stdout] 432 |             0x4008 ... 0x400b => self.regs.triangle.storeb(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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:433:20
[INFO] [stdout]     |
[INFO] [stdout] 433 |             0x400c ... 0x400f => self.update_noise(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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/audio.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice::from_raw_parts_mut`
[INFO] [stdout]   --> src/audio.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::slice::from_raw_parts_mut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:341:23
[INFO] [stdout]     |
[INFO] [stdout] 341 |                     0 ... 1 => self.chr_banks_2k[bank_update_select] = 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:342:23
[INFO] [stdout]     |
[INFO] [stdout] 342 |                     2 ... 5 => self.chr_banks_1k[bank_update_select - 2] = 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:343:23
[INFO] [stdout]     |
[INFO] [stdout] 343 |                     6 ... 7 => self.prg_banks[bank_update_select - 6] = 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:365:21
[INFO] [stdout]     |
[INFO] [stdout] 365 |             (0x0000 ... 0x07ff, false) | (0x1000 ... 0x17ff, true) => (self.chr_banks_2k[0], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:365:50
[INFO] [stdout]     |
[INFO] [stdout] 365 |             (0x0000 ... 0x07ff, false) | (0x1000 ... 0x17ff, true) => (self.chr_banks_2k[0], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |             (0x0800 ... 0x0fff, false) | (0x1800 ... 0x1fff, true) => (self.chr_banks_2k[1], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:366:50
[INFO] [stdout]     |
[INFO] [stdout] 366 |             (0x0800 ... 0x0fff, false) | (0x1800 ... 0x1fff, true) => (self.chr_banks_2k[1], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:367:21
[INFO] [stdout]     |
[INFO] [stdout] 367 |             (0x1000 ... 0x13ff, false) | (0x0000 ... 0x03ff, true) => (self.chr_banks_1k[0], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:367:50
[INFO] [stdout]     |
[INFO] [stdout] 367 |             (0x1000 ... 0x13ff, false) | (0x0000 ... 0x03ff, true) => (self.chr_banks_1k[0], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 |             (0x1400 ... 0x17ff, false) | (0x0400 ... 0x07ff, true) => (self.chr_banks_1k[1], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:368:50
[INFO] [stdout]     |
[INFO] [stdout] 368 |             (0x1400 ... 0x17ff, false) | (0x0400 ... 0x07ff, true) => (self.chr_banks_1k[1], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:369:21
[INFO] [stdout]     |
[INFO] [stdout] 369 |             (0x1800 ... 0x1bff, false) | (0x0800 ... 0x0bff, true) => (self.chr_banks_1k[2], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:430:20
[INFO] [stdout]     |
[INFO] [stdout] 430 |             0x4000 ... 0x4003 => self.update_pulse(addr, val, 0),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:369:50
[INFO] [stdout]     |
[INFO] [stdout] 369 |             (0x1800 ... 0x1bff, false) | (0x0800 ... 0x0bff, true) => (self.chr_banks_1k[2], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:431:20
[INFO] [stdout]     |
[INFO] [stdout] 431 |             0x4004 ... 0x4007 => self.update_pulse(addr, val, 1),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:370:21
[INFO] [stdout]     |
[INFO] [stdout] 370 |             (0x1c00 ... 0x1fff, false) | (0x0c00 ... 0x0fff, true) => (self.chr_banks_1k[3], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:432:20
[INFO] [stdout]     |
[INFO] [stdout] 432 |             0x4008 ... 0x400b => self.regs.triangle.storeb(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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:370:50
[INFO] [stdout]     |
[INFO] [stdout] 370 |             (0x1c00 ... 0x1fff, false) | (0x0c00 ... 0x0fff, true) => (self.chr_banks_1k[3], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apu.rs:433:20
[INFO] [stdout]     |
[INFO] [stdout] 433 |             0x400c ... 0x400f => self.update_noise(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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/audio.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/rom.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/std/src/prelude/mod.rs:124:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/rom.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         try!(util::read_to_buf(&mut header, r));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice::from_raw_parts_mut`
[INFO] [stdout]   --> src/audio.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::slice::from_raw_parts_mut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/rom.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         try!(util::read_to_buf(&mut prg_rom, r));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/rom.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         try!(util::read_to_buf(&mut chr_rom, r));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `apu::Apu`
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use apu::Apu;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cpu::Cpu`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use cpu::Cpu;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Gfx`
[INFO] [stdout]   --> src/lib.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | use gfx::{Gfx, Scale};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InputResult`, `Input`
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | use input::{Input, InputResult};
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mapper::Mapper`
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use mapper::Mapper;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:341:23
[INFO] [stdout]     |
[INFO] [stdout] 341 |                     0 ... 1 => self.chr_banks_2k[bank_update_select] = 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem::MemMap`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use mem::MemMap;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:342:23
[INFO] [stdout]     |
[INFO] [stdout] 342 |                     2 ... 5 => self.chr_banks_1k[bank_update_select - 2] = 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Oam`, `Ppu`, `Vram`
[INFO] [stdout]   --> src/lib.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | use ppu::{Oam, Ppu, Vram};
[INFO] [stdout]    |           ^^^  ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::Save`
[INFO] [stdout]   --> src/lib.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use util::Save;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:343:23
[INFO] [stdout]     |
[INFO] [stdout] 343 |                     6 ... 7 => self.prg_banks[bank_update_select - 6] = 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:365:21
[INFO] [stdout]     |
[INFO] [stdout] 365 |             (0x0000 ... 0x07ff, false) | (0x1000 ... 0x17ff, true) => (self.chr_banks_2k[0], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `input_source::*`
[INFO] [stdout]   --> src/lib.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use input_source::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `emulator::Emulator`
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use emulator::Emulator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:365:50
[INFO] [stdout]     |
[INFO] [stdout] 365 |             (0x0000 ... 0x07ff, false) | (0x1000 ... 0x17ff, true) => (self.chr_banks_2k[0], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |             (0x0800 ... 0x0fff, false) | (0x1800 ... 0x1fff, true) => (self.chr_banks_2k[1], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:366:50
[INFO] [stdout]     |
[INFO] [stdout] 366 |             (0x0800 ... 0x0fff, false) | (0x1800 ... 0x1fff, true) => (self.chr_banks_2k[1], true),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:367:21
[INFO] [stdout]     |
[INFO] [stdout] 367 |             (0x1000 ... 0x13ff, false) | (0x0000 ... 0x03ff, true) => (self.chr_banks_1k[0], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/lib.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `log`
[INFO] [stdout]   --> src/lib.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! log {
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:367:50
[INFO] [stdout]     |
[INFO] [stdout] 367 |             (0x1000 ... 0x13ff, false) | (0x0000 ... 0x03ff, true) => (self.chr_banks_1k[0], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 |             (0x1400 ... 0x17ff, false) | (0x0400 ... 0x07ff, true) => (self.chr_banks_1k[1], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:368:50
[INFO] [stdout]     |
[INFO] [stdout] 368 |             (0x1400 ... 0x17ff, false) | (0x0400 ... 0x07ff, true) => (self.chr_banks_1k[1], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:369:21
[INFO] [stdout]     |
[INFO] [stdout] 369 |             (0x1800 ... 0x1bff, false) | (0x0800 ... 0x0bff, true) => (self.chr_banks_1k[2], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:369:50
[INFO] [stdout]     |
[INFO] [stdout] 369 |             (0x1800 ... 0x1bff, false) | (0x0800 ... 0x0bff, true) => (self.chr_banks_1k[2], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:370:21
[INFO] [stdout]     |
[INFO] [stdout] 370 |             (0x1c00 ... 0x1fff, false) | (0x0c00 ... 0x0fff, true) => (self.chr_banks_1k[3], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/mapper.rs:370:50
[INFO] [stdout]     |
[INFO] [stdout] 370 |             (0x1c00 ... 0x1fff, false) | (0x0c00 ... 0x0fff, true) => (self.chr_banks_1k[3], false),
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/rom.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/std/src/prelude/mod.rs:124:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/rom.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         try!(util::read_to_buf(&mut header, r));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/rom.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         try!(util::read_to_buf(&mut prg_rom, r));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/rom.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         try!(util::read_to_buf(&mut chr_rom, r));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `apu::Apu`
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use apu::Apu;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cpu::Cpu`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use cpu::Cpu;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Gfx`
[INFO] [stdout]   --> src/lib.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | use gfx::{Gfx, Scale};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InputResult`, `Input`
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | use input::{Input, InputResult};
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mapper::Mapper`
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use mapper::Mapper;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem::MemMap`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use mem::MemMap;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Oam`, `Ppu`, `Vram`
[INFO] [stdout]   --> src/lib.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | use ppu::{Oam, Ppu, Vram};
[INFO] [stdout]    |           ^^^  ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::Save`
[INFO] [stdout]   --> src/lib.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use util::Save;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `input_source::*`
[INFO] [stdout]   --> src/lib.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use input_source::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `emulator::Emulator`
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use emulator::Emulator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/lib.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `log`
[INFO] [stdout]   --> src/lib.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! log {
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/audio.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / lazy_static! {
[INFO] [stdout] 26 | |     pub static ref AUDIO_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 27 | |     pub static ref AUDIO_CONDVAR: Condvar = Condvar::new();
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mem.rs:82:32
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub mapper: Rc<RefCell<Box<Mapper+Send>>>,
[INFO] [stdout]    |                                ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub mapper: Rc<RefCell<Box<dyn Mapper+Send>>>,
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ppu.rs:207:32
[INFO] [stdout]     |
[INFO] [stdout] 207 |     pub mapper: Rc<RefCell<Box<Mapper+Send>>>,
[INFO] [stdout]     |                                ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 207 |     pub mapper: Rc<RefCell<Box<dyn Mapper+Send>>>,
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/util.rs:9:49
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn read_to_buf(mut buf: &mut [u8], rd: &mut Read) -> io::Result<()> {
[INFO] [stdout]   |                                                 ^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn read_to_buf(mut buf: &mut [u8], rd: &mut dyn Read) -> io::Result<()> {
[INFO] [stdout]   |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mem.rs:82:32
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub mapper: Rc<RefCell<Box<Mapper+Send>>>,
[INFO] [stdout]    |                                ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub mapper: Rc<RefCell<Box<dyn Mapper+Send>>>,
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ppu.rs:207:32
[INFO] [stdout]     |
[INFO] [stdout] 207 |     pub mapper: Rc<RefCell<Box<Mapper+Send>>>,
[INFO] [stdout]     |                                ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 207 |     pub mapper: Rc<RefCell<Box<dyn Mapper+Send>>>,
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/util.rs:9:49
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn read_to_buf(mut buf: &mut [u8], rd: &mut Read) -> io::Result<()> {
[INFO] [stdout]   |                                                 ^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn read_to_buf(mut buf: &mut [u8], rd: &mut dyn Read) -> io::Result<()> {
[INFO] [stdout]   |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:26:44
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn create_mapper(rom: Box<Rom>) -> Box<Mapper+Send> {
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn create_mapper(rom: Box<Rom>) -> Box<dyn Mapper+Send> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:26:44
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn create_mapper(rom: Box<Rom>) -> Box<Mapper+Send> {
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn create_mapper(rom: Box<Rom>) -> Box<dyn Mapper+Send> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mem.rs:89:39
[INFO] [stdout]    |
[INFO] [stdout] 89 |                mapper: Rc<RefCell<Box<Mapper+Send>>>,
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 89 |                mapper: Rc<RefCell<Box<dyn Mapper+Send>>>,
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mem.rs:89:39
[INFO] [stdout]    |
[INFO] [stdout] 89 |                mapper: Rc<RefCell<Box<Mapper+Send>>>,
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 89 |                mapper: Rc<RefCell<Box<dyn Mapper+Send>>>,
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ppu.rs:213:39
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn new(mapper: Rc<RefCell<Box<Mapper+Send>>>) -> Vram {
[INFO] [stdout]     |                                       ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn new(mapper: Rc<RefCell<Box<dyn Mapper+Send>>>) -> Vram {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ppu.rs:213:39
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn new(mapper: Rc<RefCell<Box<Mapper+Send>>>) -> Vram {
[INFO] [stdout]     |                                       ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn new(mapper: Rc<RefCell<Box<dyn Mapper+Send>>>) -> Vram {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rom.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn load(r: &mut Read) -> Result<Rom, RomLoadError> {
[INFO] [stdout]    |                         ^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn load(r: &mut dyn Read) -> Result<Rom, RomLoadError> {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rom.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn load(r: &mut Read) -> Result<Rom, RomLoadError> {
[INFO] [stdout]    |                         ^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn load(r: &mut dyn Read) -> Result<Rom, RomLoadError> {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |             }) as Box<Mapper+Send>
[INFO] [stdout]    |                       ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |             }) as Box<dyn Mapper+Send>
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |         1 => Box::new(SxRom::new(rom)) as Box<Mapper+Send>,
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |         1 => Box::new(SxRom::new(rom)) as Box<dyn Mapper+Send>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 34 |         4 => Box::new(TxRom::new(rom)) as Box<Mapper+Send>,
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |         4 => Box::new(TxRom::new(rom)) as Box<dyn Mapper+Send>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |             }) as Box<Mapper+Send>
[INFO] [stdout]    |                       ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |             }) as Box<dyn Mapper+Send>
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |         1 => Box::new(SxRom::new(rom)) as Box<Mapper+Send>,
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |         1 => Box::new(SxRom::new(rom)) as Box<dyn Mapper+Send>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapper.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 34 |         4 => Box::new(TxRom::new(rom)) as Box<Mapper+Send>,
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |         4 => Box::new(TxRom::new(rom)) as Box<dyn Mapper+Send>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/util.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn read_to_buf(mut buf: &mut [u8], rd: &mut Read) -> io::Result<()> {
[INFO] [stdout]   |                    ----^^^
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/util.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn read_to_buf(mut buf: &mut [u8], rd: &mut Read) -> io::Result<()> {
[INFO] [stdout]   |                    ----^^^
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pulse_number`
[INFO] [stdout]    --> src/apu.rs:600:30
[INFO] [stdout]     |
[INFO] [stdout] 600 |     fn play_pulse(&mut self, pulse_number: usize, channel: usize) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse_number`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/apu.rs:600:51
[INFO] [stdout]     |
[INFO] [stdout] 600 |     fn play_pulse(&mut self, pulse_number: usize, channel: usize) {
[INFO] [stdout]     |                                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/apu.rs:637:33
[INFO] [stdout]     |
[INFO] [stdout] 637 |     fn play_triangle(&mut self, channel: usize) {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/apu.rs:666:30
[INFO] [stdout]     |
[INFO] [stdout] 666 |     fn play_noise(&mut self, channel: usize) {
[INFO] [stdout]     |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/audio.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pulse_number`
[INFO] [stdout]    --> src/apu.rs:600:30
[INFO] [stdout]     |
[INFO] [stdout] 600 |     fn play_pulse(&mut self, pulse_number: usize, channel: usize) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse_number`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/apu.rs:600:51
[INFO] [stdout]     |
[INFO] [stdout] 600 |     fn play_pulse(&mut self, pulse_number: usize, channel: usize) {
[INFO] [stdout]     |                                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/apu.rs:637:33
[INFO] [stdout]     |
[INFO] [stdout] 637 |     fn play_triangle(&mut self, channel: usize) {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/apu.rs:666:30
[INFO] [stdout]     |
[INFO] [stdout] 666 |     fn play_noise(&mut self, channel: usize) {
[INFO] [stdout]     |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/audio.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nes_sample_rate`
[INFO] [stdout]  --> src/resampler.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn new(nes_sample_rate: u32, output_sample_rate: u32) -> Self {
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nes_sample_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_sample_rate`
[INFO] [stdout]  --> src/resampler.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn new(nes_sample_rate: u32, output_sample_rate: u32) -> Self {
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_sample_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/resampler.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn process(&self, input: &mut [i16], output: &mut [u8]) {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/resampler.rs:14:46
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn process(&self, input: &mut [i16], output: &mut [u8]) {
[INFO] [stdout]    |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nes_sample_rate`
[INFO] [stdout]  --> src/resampler.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn new(nes_sample_rate: u32, output_sample_rate: u32) -> Self {
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nes_sample_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_sample_rate`
[INFO] [stdout]  --> src/resampler.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn new(nes_sample_rate: u32, output_sample_rate: u32) -> Self {
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_sample_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/resampler.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn process(&self, input: &mut [i16], output: &mut [u8]) {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/resampler.rs:14:46
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn process(&self, input: &mut [i16], output: &mut [u8]) {
[INFO] [stdout]    |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ppu_screen`
[INFO] [stdout]    --> src/gfx.rs:327:24
[INFO] [stdout]     |
[INFO] [stdout] 327 |     fn blit(&mut self, ppu_screen: &[u8; SCREEN_SIZE]) {
[INFO] [stdout]     |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ppu_screen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ppu_screen`
[INFO] [stdout]    --> src/gfx.rs:327:24
[INFO] [stdout]     |
[INFO] [stdout] 327 |     fn blit(&mut self, ppu_screen: &[u8; SCREEN_SIZE]) {
[INFO] [stdout]     |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ppu_screen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rom`
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn start_emulator(rom: Rom, scale: Scale) {
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_rom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scale`
[INFO] [stdout]   --> src/lib.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn start_emulator(rom: Rom, scale: Scale) {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NES_SAMPLE_RATE` is never used
[INFO] [stdout]   --> src/apu.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const NES_SAMPLE_RATE: u32 = 1789920;   // Actual is 1789800, but this is divisible by 240.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OUTPUT_SAMPLE_RATE` is never used
[INFO] [stdout]   --> src/apu.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const OUTPUT_SAMPLE_RATE: u32 = 44100;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TICK_FREQUENCY` is never used
[INFO] [stdout]   --> src/apu.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const TICK_FREQUENCY: u32 = 240;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NES_SAMPLES_PER_TICK` is never used
[INFO] [stdout]   --> src/apu.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const NES_SAMPLES_PER_TICK: u32 = NES_SAMPLE_RATE / TICK_FREQUENCY;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PULSE_WAVEFORMS` is never used
[INFO] [stdout]   --> src/apu.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const PULSE_WAVEFORMS: [u8; 4] = [ 0b01000000, 0b01100000, 0b01111000, 0b10011111 ];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRIANGLE_WAVEFORM` is never used
[INFO] [stdout]   --> src/apu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const TRIANGLE_WAVEFORM: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `audible` and `sample_volume` are never used
[INFO] [stdout]    --> src/apu.rs:155:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl ApuEnvelope {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn audible(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn sample_volume(&self) -> i16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `audible` and `wavelen` are never used
[INFO] [stdout]    --> src/apu.rs:193:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl ApuTimer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn audible(&self) -> bool { self.value > 0 }
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 194 |     fn wavelen(&self) -> u64 { (self.value as u64 + 1) * 2 }
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `waveform_index` is never read
[INFO] [stdout]    --> src/apu.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 261 | struct ApuTriangle {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 267 |     waveform_index: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ApuTriangle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `audible` is never used
[INFO] [stdout]    --> src/apu.rs:308:8
[INFO] [stdout]     |
[INFO] [stdout] 272 | impl ApuTriangle {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 308 |     fn audible(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rng` is never read
[INFO] [stdout]    --> src/apu.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 315 | struct ApuNoise {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 322 |     rng: Xorshift,      // FIXME: This is inaccurate.
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ApuNoise` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAMPLE_COUNT` is never used
[INFO] [stdout]    --> src/apu.rs:400:7
[INFO] [stdout]     |
[INFO] [stdout] 400 | const SAMPLE_COUNT: usize = 178992;
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SampleBuffer` is never constructed
[INFO] [stdout]    --> src/apu.rs:402:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | struct SampleBuffer {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_or_zero_sample_buffer`, `play_pulse`, `play_triangle`, and `play_noise` are never used
[INFO] [stdout]    --> src/apu.rs:587:8
[INFO] [stdout]     |
[INFO] [stdout] 449 | impl Apu {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 587 |     fn get_or_zero_sample_buffer(buffer: &mut [i16], offset: usize, audible: bool)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 600 |     fn play_pulse(&mut self, pulse_number: usize, channel: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 637 |     fn play_triangle(&mut self, channel: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 666 |     fn play_noise(&mut self, channel: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `g_output_buffer` is never used
[INFO] [stdout]   --> src/audio.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | static mut g_output_buffer: Option<*mut OutputBuffer> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `factor` is never used
[INFO] [stdout]    --> src/gfx.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl Scale {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 267 |     fn factor(self) -> usize {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `1` is never read
[INFO] [stdout]    --> src/ppu.rs:308:26
[INFO] [stdout]     |
[INFO] [stdout] 308 |     SpriteTiles8x16(u16, u16)
[INFO] [stdout]     |     ---------------      ^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 308 |     SpriteTiles8x16(u16, ())
[INFO] [stdout]     |                          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `g_output_buffer` should have an upper case name
[INFO] [stdout]   --> src/audio.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | static mut g_output_buffer: Option<*mut OutputBuffer> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `G_OUTPUT_BUFFER`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rom`
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn start_emulator(rom: Rom, scale: Scale) {
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_rom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scale`
[INFO] [stdout]   --> src/lib.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn start_emulator(rom: Rom, scale: Scale) {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NES_SAMPLE_RATE` is never used
[INFO] [stdout]   --> src/apu.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const NES_SAMPLE_RATE: u32 = 1789920;   // Actual is 1789800, but this is divisible by 240.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OUTPUT_SAMPLE_RATE` is never used
[INFO] [stdout]   --> src/apu.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const OUTPUT_SAMPLE_RATE: u32 = 44100;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TICK_FREQUENCY` is never used
[INFO] [stdout]   --> src/apu.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const TICK_FREQUENCY: u32 = 240;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NES_SAMPLES_PER_TICK` is never used
[INFO] [stdout]   --> src/apu.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const NES_SAMPLES_PER_TICK: u32 = NES_SAMPLE_RATE / TICK_FREQUENCY;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PULSE_WAVEFORMS` is never used
[INFO] [stdout]   --> src/apu.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const PULSE_WAVEFORMS: [u8; 4] = [ 0b01000000, 0b01100000, 0b01111000, 0b10011111 ];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRIANGLE_WAVEFORM` is never used
[INFO] [stdout]   --> src/apu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const TRIANGLE_WAVEFORM: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `audible` and `sample_volume` are never used
[INFO] [stdout]    --> src/apu.rs:155:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl ApuEnvelope {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn audible(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn sample_volume(&self) -> i16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `audible` and `wavelen` are never used
[INFO] [stdout]    --> src/apu.rs:193:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl ApuTimer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn audible(&self) -> bool { self.value > 0 }
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 194 |     fn wavelen(&self) -> u64 { (self.value as u64 + 1) * 2 }
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `waveform_index` is never read
[INFO] [stdout]    --> src/apu.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 261 | struct ApuTriangle {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 267 |     waveform_index: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ApuTriangle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `audible` is never used
[INFO] [stdout]    --> src/apu.rs:308:8
[INFO] [stdout]     |
[INFO] [stdout] 272 | impl ApuTriangle {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 308 |     fn audible(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rng` is never read
[INFO] [stdout]    --> src/apu.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 315 | struct ApuNoise {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 322 |     rng: Xorshift,      // FIXME: This is inaccurate.
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ApuNoise` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAMPLE_COUNT` is never used
[INFO] [stdout]    --> src/apu.rs:400:7
[INFO] [stdout]     |
[INFO] [stdout] 400 | const SAMPLE_COUNT: usize = 178992;
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SampleBuffer` is never constructed
[INFO] [stdout]    --> src/apu.rs:402:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | struct SampleBuffer {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_or_zero_sample_buffer`, `play_pulse`, `play_triangle`, and `play_noise` are never used
[INFO] [stdout]    --> src/apu.rs:587:8
[INFO] [stdout]     |
[INFO] [stdout] 449 | impl Apu {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 587 |     fn get_or_zero_sample_buffer(buffer: &mut [i16], offset: usize, audible: bool)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 600 |     fn play_pulse(&mut self, pulse_number: usize, channel: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 637 |     fn play_triangle(&mut self, channel: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 666 |     fn play_noise(&mut self, channel: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `g_output_buffer` is never used
[INFO] [stdout]   --> src/audio.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | static mut g_output_buffer: Option<*mut OutputBuffer> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `factor` is never used
[INFO] [stdout]    --> src/gfx.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl Scale {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 267 |     fn factor(self) -> usize {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `1` is never read
[INFO] [stdout]    --> src/ppu.rs:308:26
[INFO] [stdout]     |
[INFO] [stdout] 308 |     SpriteTiles8x16(u16, u16)
[INFO] [stdout]     |     ---------------      ^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 308 |     SpriteTiles8x16(u16, ())
[INFO] [stdout]     |                          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `g_output_buffer` should have an upper case name
[INFO] [stdout]   --> src/audio.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | static mut g_output_buffer: Option<*mut OutputBuffer> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `G_OUTPUT_BUFFER`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 92 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 92 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.91s
[INFO] running `Command { std: "docker" "inspect" "cfc0b48f977da763a4e7f753f99c3e898a062ad3cc513a7fb1c5f2f2dad78496", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfc0b48f977da763a4e7f753f99c3e898a062ad3cc513a7fb1c5f2f2dad78496", kill_on_drop: false }`
[INFO] [stdout] cfc0b48f977da763a4e7f753f99c3e898a062ad3cc513a7fb1c5f2f2dad78496
