[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] building abrodersen/chip-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrodersen%2Fchip-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abrodersen/chip-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded chan v0.1.19 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded chan-signal v0.2.0 [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded bit-vec v0.4.3 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e5f094abdaba1d98c44b4bcdedf13fbb3cacbb3842f2102bda82620f17233bf [INFO] running `Command { std: "docker" "start" "-a" "9e5f094abdaba1d98c44b4bcdedf13fbb3cacbb3842f2102bda82620f17233bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e5f094abdaba1d98c44b4bcdedf13fbb3cacbb3842f2102bda82620f17233bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5f094abdaba1d98c44b4bcdedf13fbb3cacbb3842f2102bda82620f17233bf", kill_on_drop: false }` [INFO] [stdout] 9e5f094abdaba1d98c44b4bcdedf13fbb3cacbb3842f2102bda82620f17233bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d1738d109a0b49f3db153e7508308cb27e66d1a2fdb4ca2e463623b8c28504e [INFO] running `Command { std: "docker" "start" "-a" "9d1738d109a0b49f3db153e7508308cb27e66d1a2fdb4ca2e463623b8c28504e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 bitflags v0.7.0 [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 num v0.1.37 [INFO] [stderr] Compiling chan v0.1.19 [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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 `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 `new` is never used [INFO] [stdout] --> src/chip8/display/debug.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl DebugDisplay { [INFO] [stdout] | ----------------- associated function in this implementation [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: method `wait_pressed` is never used [INFO] [stdout] --> src/chip8/input/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Input { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 5 | fn is_pressed(&mut self, u8) -> bool; [INFO] [stdout] 6 | fn wait_pressed(&mut self, u8); [INFO] [stdout] | ^^^^^^^^^^^^ [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = renderer.set_scale(SCALE_FACTOR as f32, SCALE_FACTOR as f32); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = r.draw_points(white.as_slice()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = r.draw_points(black.as_slice()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9d1738d109a0b49f3db153e7508308cb27e66d1a2fdb4ca2e463623b8c28504e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d1738d109a0b49f3db153e7508308cb27e66d1a2fdb4ca2e463623b8c28504e", kill_on_drop: false }` [INFO] [stdout] 9d1738d109a0b49f3db153e7508308cb27e66d1a2fdb4ca2e463623b8c28504e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a340d500b1bf7edadc690ff9a921a68a84b221c3c2d9833ed15e2e72b8809af9 [INFO] running `Command { std: "docker" "start" "-a" "a340d500b1bf7edadc690ff9a921a68a84b221c3c2d9833ed15e2e72b8809af9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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 `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 `new` is never used [INFO] [stdout] --> src/chip8/display/debug.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl DebugDisplay { [INFO] [stdout] | ----------------- associated function in this implementation [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: method `wait_pressed` is never used [INFO] [stdout] --> src/chip8/input/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Input { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 5 | fn is_pressed(&mut self, u8) -> bool; [INFO] [stdout] 6 | fn wait_pressed(&mut self, u8); [INFO] [stdout] | ^^^^^^^^^^^^ [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = renderer.set_scale(SCALE_FACTOR as f32, SCALE_FACTOR as f32); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = r.draw_points(white.as_slice()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = r.draw_points(black.as_slice()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a340d500b1bf7edadc690ff9a921a68a84b221c3c2d9833ed15e2e72b8809af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a340d500b1bf7edadc690ff9a921a68a84b221c3c2d9833ed15e2e72b8809af9", kill_on_drop: false }` [INFO] [stdout] a340d500b1bf7edadc690ff9a921a68a84b221c3c2d9833ed15e2e72b8809af9