[INFO] cloning repository https://github.com/abrodersen/chip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abrodersen/chip-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrodersen%2Fchip-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrodersen%2Fchip-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea43a23a11cc28190ac0b5cb002b2e233780e254 [INFO] testing abrodersen/chip-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrodersen%2Fchip-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abrodersen/chip-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abrodersen/chip-rs [INFO] finished tweaking git repo https://github.com/abrodersen/chip-rs [INFO] tweaked toml for git repo https://github.com/abrodersen/chip-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/abrodersen/chip-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7f2a7c12af49718e0ed2aa654013201d13ccdf1809c3d6b70eb6d11f1865905 [INFO] running `Command { std: "docker" "start" "-a" "f7f2a7c12af49718e0ed2aa654013201d13ccdf1809c3d6b70eb6d11f1865905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7f2a7c12af49718e0ed2aa654013201d13ccdf1809c3d6b70eb6d11f1865905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7f2a7c12af49718e0ed2aa654013201d13ccdf1809c3d6b70eb6d11f1865905", kill_on_drop: false }` [INFO] [stdout] f7f2a7c12af49718e0ed2aa654013201d13ccdf1809c3d6b70eb6d11f1865905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07a1f8487192fdbc9dae1208dfd8016c4dba449b8291ed65dd492abac5965250 [INFO] running `Command { std: "docker" "start" "-a" "07a1f8487192fdbc9dae1208dfd8016c4dba449b8291ed65dd492abac5965250", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Compiling bit-vec v0.4.3 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling chan v0.1.19 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling sdl2 v0.29.0 [INFO] [stderr] Compiling chan-signal v0.2.0 [INFO] [stderr] Compiling chip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/chip8/cpu.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use super::display::{self, Display, Point, Sprite}; [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/chip8/cpu.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | try!(src.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/chip8/op.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | (self.0 & 0xFFF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - (self.0 & 0xFFF) [INFO] [stdout] 101 + self.0 & 0xFFF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect` [INFO] [stdout] --> src/chip8/display/sdl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::rect; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 22 - pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 22 + pub static ref ZERO: Sprite = Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 23 - pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 23 + pub static ref ONE: Sprite = Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] 24 + pub static ref TWO: Sprite = Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | pub static ref THREE: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 25 - pub static ref THREE: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] 25 + pub static ref THREE: Sprite = Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | pub static ref FOUR: Sprite = { Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 26 - pub static ref FOUR: Sprite = { Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]) }; [INFO] [stdout] 26 + pub static ref FOUR: Sprite = Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ref FIVE: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 27 - pub static ref FIVE: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] 27 + pub static ref FIVE: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | pub static ref SIX: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - pub static ref SIX: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] 28 + pub static ref SIX: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub static ref SEVEN: Sprite = { Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 29 - pub static ref SEVEN: Sprite = { Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]) }; [INFO] [stdout] 29 + pub static ref SEVEN: Sprite = Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | pub static ref EIGHT: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 30 - pub static ref EIGHT: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] 30 + pub static ref EIGHT: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub static ref NINE: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 31 - pub static ref NINE: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] 31 + pub static ref NINE: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ref A: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 32 - pub static ref A: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]) }; [INFO] [stdout] 32 + pub static ref A: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | pub static ref B: Sprite = { Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 33 - pub static ref B: Sprite = { Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]) }; [INFO] [stdout] 33 + pub static ref B: Sprite = Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | pub static ref C: Sprite = { Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 34 - pub static ref C: Sprite = { Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]) }; [INFO] [stdout] 34 + pub static ref C: Sprite = Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | pub static ref D: Sprite = { Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 - pub static ref D: Sprite = { Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]) }; [INFO] [stdout] 35 + pub static ref D: Sprite = Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub static ref E: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 36 - pub static ref E: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] 36 + pub static ref E: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 37 - pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 37 + pub static ref F: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chip8/input/mod.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_pressed(&mut self, u8) -> bool; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chip8/input/mod.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | fn wait_pressed(&mut self, u8); [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use sdl2::video; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/cpu.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stdout] 98 + pub fn load_program(&mut self, src: &mut dyn io::Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_addr` [INFO] [stdout] --> src/chip8/cpu.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | let base_addr = self.i_reg; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut rng = rand::StdRng::from_seed(seed); [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/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut display = display::sdl::SdlDisplay::new(&video_subsystem); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut input = input::sdl::SdlInput::new(&mut input_subsystem); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/display/debug.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> DebugDisplay { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8/display/sdl.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | renderer.set_scale(SCALE_FACTOR as f32, SCALE_FACTOR as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8/display/sdl.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | r.draw_points(white.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8/display/sdl.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | r.draw_points(black.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.08s [INFO] running `Command { std: "docker" "inspect" "07a1f8487192fdbc9dae1208dfd8016c4dba449b8291ed65dd492abac5965250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a1f8487192fdbc9dae1208dfd8016c4dba449b8291ed65dd492abac5965250", kill_on_drop: false }` [INFO] [stdout] 07a1f8487192fdbc9dae1208dfd8016c4dba449b8291ed65dd492abac5965250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f394163ef0de7c8f1cd3acf095928facef22e9274c8d42b4ee76ed562968e16e [INFO] running `Command { std: "docker" "start" "-a" "f394163ef0de7c8f1cd3acf095928facef22e9274c8d42b4ee76ed562968e16e", kill_on_drop: false }` [INFO] [stderr] Compiling chip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/chip8/cpu.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use super::display::{self, Display, Point, Sprite}; [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/chip8/cpu.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | try!(src.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/chip8/op.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | (self.0 & 0xFFF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - (self.0 & 0xFFF) [INFO] [stdout] 101 + self.0 & 0xFFF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect` [INFO] [stdout] --> src/chip8/display/sdl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::rect; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 22 - pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 22 + pub static ref ZERO: Sprite = Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 23 - pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 23 + pub static ref ONE: Sprite = Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] 24 + pub static ref TWO: Sprite = Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | pub static ref THREE: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 25 - pub static ref THREE: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] 25 + pub static ref THREE: Sprite = Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | pub static ref FOUR: Sprite = { Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 26 - pub static ref FOUR: Sprite = { Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]) }; [INFO] [stdout] 26 + pub static ref FOUR: Sprite = Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ref FIVE: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 27 - pub static ref FIVE: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] 27 + pub static ref FIVE: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | pub static ref SIX: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - pub static ref SIX: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] 28 + pub static ref SIX: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub static ref SEVEN: Sprite = { Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 29 - pub static ref SEVEN: Sprite = { Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]) }; [INFO] [stdout] 29 + pub static ref SEVEN: Sprite = Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | pub static ref EIGHT: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 30 - pub static ref EIGHT: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]) }; [INFO] [stdout] 30 + pub static ref EIGHT: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub static ref NINE: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 31 - pub static ref NINE: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]) }; [INFO] [stdout] 31 + pub static ref NINE: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ref A: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 32 - pub static ref A: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]) }; [INFO] [stdout] 32 + pub static ref A: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | pub static ref B: Sprite = { Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 33 - pub static ref B: Sprite = { Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]) }; [INFO] [stdout] 33 + pub static ref B: Sprite = Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | pub static ref C: Sprite = { Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 34 - pub static ref C: Sprite = { Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]) }; [INFO] [stdout] 34 + pub static ref C: Sprite = Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | pub static ref D: Sprite = { Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 - pub static ref D: Sprite = { Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]) }; [INFO] [stdout] 35 + pub static ref D: Sprite = Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub static ref E: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 36 - pub static ref E: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] 36 + pub static ref E: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/chip8/display/mod.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 37 - pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 37 + pub static ref F: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chip8/input/mod.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_pressed(&mut self, u8) -> bool; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chip8/input/mod.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | fn wait_pressed(&mut self, u8); [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use sdl2::video; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/display/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stdout] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stdout] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/chip8/cpu.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stdout] 98 + pub fn load_program(&mut self, src: &mut dyn io::Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_addr` [INFO] [stdout] --> src/chip8/cpu.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | let base_addr = self.i_reg; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut rng = rand::StdRng::from_seed(seed); [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/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut display = display::sdl::SdlDisplay::new(&video_subsystem); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut input = input::sdl::SdlInput::new(&mut input_subsystem); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/display/debug.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> DebugDisplay { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8/display/sdl.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | renderer.set_scale(SCALE_FACTOR as f32, SCALE_FACTOR as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8/display/sdl.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | r.draw_points(white.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8/display/sdl.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | r.draw_points(black.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.39s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/chip_rs-bd973e12e1d99184) [INFO] running `Command { std: "docker" "inspect" "f394163ef0de7c8f1cd3acf095928facef22e9274c8d42b4ee76ed562968e16e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f394163ef0de7c8f1cd3acf095928facef22e9274c8d42b4ee76ed562968e16e", kill_on_drop: false }` [INFO] [stdout] f394163ef0de7c8f1cd3acf095928facef22e9274c8d42b4ee76ed562968e16e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d17116869ac81b8e9de460c78341d92eb54c81c1498fc4ea17f2d90926e6b217 [INFO] running `Command { std: "docker" "start" "-a" "d17116869ac81b8e9de460c78341d92eb54c81c1498fc4ea17f2d90926e6b217", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/chip8/cpu.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use super::display::{self, Display, Point, Sprite}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/chip8/cpu.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | try!(src.read_to_end(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/chip8/op.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | (self.0 & 0xFFF) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 101 - (self.0 & 0xFFF) [INFO] [stderr] 101 + self.0 & 0xFFF [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::rect` [INFO] [stderr] --> src/chip8/display/sdl.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use sdl2::rect; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 22 - pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 22 + pub static ref ZERO: Sprite = Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 23 - pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 23 + pub static ref ONE: Sprite = Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 24 - pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] 24 + pub static ref TWO: Sprite = Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:25:36 [INFO] [stderr] | [INFO] [stderr] 25 | pub static ref THREE: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 25 - pub static ref THREE: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]) }; [INFO] [stderr] 25 + pub static ref THREE: Sprite = Sprite::new(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:26:36 [INFO] [stderr] | [INFO] [stderr] 26 | pub static ref FOUR: Sprite = { Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 26 - pub static ref FOUR: Sprite = { Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]) }; [INFO] [stderr] 26 + pub static ref FOUR: Sprite = Sprite::new(&[0x90, 0x90, 0xF0, 0x10, 0x10]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | pub static ref FIVE: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 27 - pub static ref FIVE: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]) }; [INFO] [stderr] 27 + pub static ref FIVE: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:28:36 [INFO] [stderr] | [INFO] [stderr] 28 | pub static ref SIX: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 28 - pub static ref SIX: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]) }; [INFO] [stderr] 28 + pub static ref SIX: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | pub static ref SEVEN: Sprite = { Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 29 - pub static ref SEVEN: Sprite = { Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]) }; [INFO] [stderr] 29 + pub static ref SEVEN: Sprite = Sprite::new(&[0xF0, 0x10, 0x20, 0x40, 0x40]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:30:36 [INFO] [stderr] | [INFO] [stderr] 30 | pub static ref EIGHT: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 30 - pub static ref EIGHT: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]) }; [INFO] [stderr] 30 + pub static ref EIGHT: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:31:36 [INFO] [stderr] | [INFO] [stderr] 31 | pub static ref NINE: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 31 - pub static ref NINE: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]) }; [INFO] [stderr] 31 + pub static ref NINE: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:32:36 [INFO] [stderr] | [INFO] [stderr] 32 | pub static ref A: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 32 - pub static ref A: Sprite = { Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]) }; [INFO] [stderr] 32 + pub static ref A: Sprite = Sprite::new(&[0xF0, 0x90, 0xF0, 0x90, 0x90]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:33:36 [INFO] [stderr] | [INFO] [stderr] 33 | pub static ref B: Sprite = { Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 33 - pub static ref B: Sprite = { Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]) }; [INFO] [stderr] 33 + pub static ref B: Sprite = Sprite::new(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:34:36 [INFO] [stderr] | [INFO] [stderr] 34 | pub static ref C: Sprite = { Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 34 - pub static ref C: Sprite = { Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]) }; [INFO] [stderr] 34 + pub static ref C: Sprite = Sprite::new(&[0xF0, 0x80, 0x80, 0x80, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | pub static ref D: Sprite = { Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 35 - pub static ref D: Sprite = { Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]) }; [INFO] [stderr] 35 + pub static ref D: Sprite = Sprite::new(&[0xE0, 0x90, 0x90, 0x90, 0xE0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | pub static ref E: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 36 - pub static ref E: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] 36 + pub static ref E: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/chip8/display/mod.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 37 - pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 37 + pub static ref F: Sprite = Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/chip8/input/mod.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | fn is_pressed(&mut self, u8) -> bool; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/chip8/input/mod.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | fn wait_pressed(&mut self, u8); [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/main.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | use rand::{Rng, SeedableRng}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::video` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use sdl2::video; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chip8/cpu.rs:98:46 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 - pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stderr] 98 + pub fn load_program(&mut self, src: &mut dyn io::Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base_addr` [INFO] [stderr] --> src/chip8/cpu.rs:311:21 [INFO] [stderr] | [INFO] [stderr] 311 | let base_addr = self.i_reg; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let mut rng = rand::StdRng::from_seed(seed); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let mut display = display::sdl::SdlDisplay::new(&video_subsystem); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let mut input = input::sdl::SdlInput::new(&mut input_subsystem); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/chip8/display/debug.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new() -> DebugDisplay { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | renderer.set_scale(SCALE_FACTOR as f32, SCALE_FACTOR as f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | r.draw_points(white.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | r.draw_points(black.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `chip-rs` (bin "chip-rs" test) generated 65 warnings (31 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chip_rs-bd973e12e1d99184) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test chip8::op::get_byte ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d17116869ac81b8e9de460c78341d92eb54c81c1498fc4ea17f2d90926e6b217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17116869ac81b8e9de460c78341d92eb54c81c1498fc4ea17f2d90926e6b217", kill_on_drop: false }` [INFO] [stdout] d17116869ac81b8e9de460c78341d92eb54c81c1498fc4ea17f2d90926e6b217