[INFO] updating cached repository https://github.com/abrodersen/chip-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ea43a23a11cc28190ac0b5cb002b2e233780e254 [INFO] testing abrodersen/chip-rs against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrodersen%2Fchip-rs" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abrodersen/chip-rs on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/abrodersen/chip-rs already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] de146031a4004c3392ce0507ad8b3a2dbaa2100f4bcf82377e8087aa18e04252 [INFO] running `"docker" "start" "-a" "de146031a4004c3392ce0507ad8b3a2dbaa2100f4bcf82377e8087aa18e04252"` [INFO] [stderr] Compiling bit-vec v0.4.3 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling chan v0.1.19 [INFO] [stderr] Compiling sdl2 v0.29.0 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling chan-signal v0.2.0 [INFO] [stderr] Compiling chip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/chip8/cpu.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use super::display::{self, Display, Point, Sprite}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chip8/cpu.rs:98:46 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::rect` [INFO] [stderr] --> src/chip8/display/sdl.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use sdl2::rect; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/main.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | use rand::{Rng, SeedableRng}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::video` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use sdl2::video; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base_addr` [INFO] [stderr] --> src/chip8/cpu.rs:311:21 [INFO] [stderr] | [INFO] [stderr] 311 | let base_addr = self.i_reg; [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_base_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let mut rng = rand::StdRng::from_seed(seed); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let mut display = display::sdl::SdlDisplay::new(&video_subsystem); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let mut input = input::sdl::SdlInput::new(&mut input_subsystem); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `DebugDisplay` [INFO] [stderr] --> src/chip8/display/debug.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct DebugDisplay { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/chip8/display/debug.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new() -> DebugDisplay { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | renderer.set_scale(SCALE_FACTOR as f32, SCALE_FACTOR as f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | r.draw_points(white.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | r.draw_points(black.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `"docker" "inspect" "de146031a4004c3392ce0507ad8b3a2dbaa2100f4bcf82377e8087aa18e04252"` [INFO] running `"docker" "rm" "-f" "de146031a4004c3392ce0507ad8b3a2dbaa2100f4bcf82377e8087aa18e04252"` [INFO] [stdout] de146031a4004c3392ce0507ad8b3a2dbaa2100f4bcf82377e8087aa18e04252 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] bed6e1a48ec0a2e249a4c506b7ba3d3547c2ebade232649901e6ba795286861e [INFO] running `"docker" "start" "-a" "bed6e1a48ec0a2e249a4c506b7ba3d3547c2ebade232649901e6ba795286861e"` [INFO] [stderr] Compiling chip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/chip8/cpu.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use super::display::{self, Display, Point, Sprite}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chip8/cpu.rs:98:46 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn load_program(&mut self, src: &mut io::Read) -> Result { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::rect` [INFO] [stderr] --> src/chip8/display/sdl.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use sdl2::rect; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/main.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | use rand::{Rng, SeedableRng}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::video` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use sdl2::video; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/chip8/display/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | pub static ref ZERO: Sprite = { Sprite::new(&[0xF0, 0x90, 0x90, 0x90, 0xF0]) }; [INFO] [stderr] 23 | | pub static ref ONE: Sprite = { Sprite::new(&[0x20, 0x60, 0x20, 0x20, 0x70]) }; [INFO] [stderr] 24 | | pub static ref TWO: Sprite = { Sprite::new(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]) }; [INFO] [stderr] ... | [INFO] [stderr] 37 | | pub static ref F: Sprite = { Sprite::new(&[0xF0, 0x80, 0xF0, 0x80, 0x80]) }; [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base_addr` [INFO] [stderr] --> src/chip8/cpu.rs:311:21 [INFO] [stderr] | [INFO] [stderr] 311 | let base_addr = self.i_reg; [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_base_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let mut rng = rand::StdRng::from_seed(seed); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let mut display = display::sdl::SdlDisplay::new(&video_subsystem); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let mut input = input::sdl::SdlInput::new(&mut input_subsystem); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `DebugDisplay` [INFO] [stderr] --> src/chip8/display/debug.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct DebugDisplay { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/chip8/display/debug.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new() -> DebugDisplay { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | renderer.set_scale(SCALE_FACTOR as f32, SCALE_FACTOR as f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | r.draw_points(white.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/chip8/display/sdl.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | r.draw_points(black.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `"docker" "inspect" "bed6e1a48ec0a2e249a4c506b7ba3d3547c2ebade232649901e6ba795286861e"` [INFO] running `"docker" "rm" "-f" "bed6e1a48ec0a2e249a4c506b7ba3d3547c2ebade232649901e6ba795286861e"` [INFO] [stdout] bed6e1a48ec0a2e249a4c506b7ba3d3547c2ebade232649901e6ba795286861e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] acfbfb6e9e766754af00a0eb6741b1f94d81d561875f2d6026649fd4cf7bf0f7 [INFO] running `"docker" "start" "-a" "acfbfb6e9e766754af00a0eb6741b1f94d81d561875f2d6026649fd4cf7bf0f7"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/chip_rs-a2cce59b99801ae1 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test chip8::op::get_byte ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "acfbfb6e9e766754af00a0eb6741b1f94d81d561875f2d6026649fd4cf7bf0f7"` [INFO] running `"docker" "rm" "-f" "acfbfb6e9e766754af00a0eb6741b1f94d81d561875f2d6026649fd4cf7bf0f7"` [INFO] [stdout] acfbfb6e9e766754af00a0eb6741b1f94d81d561875f2d6026649fd4cf7bf0f7