[INFO] cloning repository https://github.com/JoshMarron/chip8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshMarron/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshMarron%2Fchip8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshMarron%2Fchip8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca356a087ab2986b2ed8dcf69715e2fbdf79d073 [INFO] checking JoshMarron/chip8-emulator against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshMarron%2Fchip8-emulator" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshMarron/chip8-emulator on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshMarron/chip8-emulator [INFO] finished tweaking git repo https://github.com/JoshMarron/chip8-emulator [INFO] tweaked toml for git repo https://github.com/JoshMarron/chip8-emulator written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/JoshMarron/chip8-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term_size v0.3.0 [INFO] [stderr] Downloaded textwrap v0.8.0 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded num v0.1.40 [INFO] [stderr] Downloaded atty v0.2.2 [INFO] [stderr] Downloaded libc v0.2.30 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded fern v0.4.2 [INFO] [stderr] Downloaded magenta v0.1.1 [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] [stderr] Downloaded magenta-sys v0.1.1 [INFO] [stderr] Downloaded sdl2-sys v0.30.0 [INFO] [stderr] Downloaded rand v0.3.16 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded log v0.3.8 [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded clap v2.26.2 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb5b6dcec031bbce10fa5018742a7f34181d49de17e7b6fdb8333dfb41ef4192 [INFO] running `Command { std: "docker" "start" "-a" "cb5b6dcec031bbce10fa5018742a7f34181d49de17e7b6fdb8333dfb41ef4192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb5b6dcec031bbce10fa5018742a7f34181d49de17e7b6fdb8333dfb41ef4192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb5b6dcec031bbce10fa5018742a7f34181d49de17e7b6fdb8333dfb41ef4192", kill_on_drop: false }` [INFO] [stdout] cb5b6dcec031bbce10fa5018742a7f34181d49de17e7b6fdb8333dfb41ef4192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c7eb747aaf2413c2fe276afec377886d923e64131a4b1e26d0287c9654deb15 [INFO] running `Command { std: "docker" "start" "-a" "8c7eb747aaf2413c2fe276afec377886d923e64131a4b1e26d0287c9654deb15", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.30 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking fern v0.4.2 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking chip8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/emustate.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | debug!("{:04X} -- {:?}", self.cpu.program_counter().full(), instruction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `debug` (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/emulator.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run(config: Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emulator.rs:34:77 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn loop_emulation(mut state: Chip8State, debug: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | 0x00...0x0F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | 0x10...0x1F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | 0x20...0x2F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | 0x30...0x3F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | 0x40...0x4F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | 0x50...0x5F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | 0x60...0x6F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 0x70...0x7F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | 0x80...0x8F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | 0x90...0x9F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 0xA0...0xAF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | 0xB0...0xBF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | 0xC0...0xCF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | 0xD0...0xDF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | 0xE0...0xEF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/emustate.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | debug!("{:04X} -- {:?}", self.cpu.program_counter().full(), instruction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | 0xF0...0xFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/display.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | 0.0...0.5 => self.volume, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | mut_x = if (mut_x == (CHIP8_WIDTH - 1) as u8) {0} else {mut_x + 1}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | y = if (y == (CHIP8_HEIGHT - 1) as u8) {0} else {y + 1}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | ... (xpos as i32 * PIXEL_SIZE as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... (ypos as i32 * PIXEL_SIZE as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emulator.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run(config: Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emulator.rs:34:77 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn loop_emulation(mut state: Chip8State, debug: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | 0x00...0x0F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | 0x10...0x1F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | 0x20...0x2F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | 0x30...0x3F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | 0x40...0x4F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | 0x50...0x5F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | 0x60...0x6F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 0x70...0x7F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | 0x80...0x8F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | 0x90...0x9F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 0xA0...0xAF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | 0xB0...0xBF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | 0xC0...0xCF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | 0xD0...0xDF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | 0xE0...0xEF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoder.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | 0xF0...0xFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/display.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | 0.0...0.5 => self.volume, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | mut_x = if (mut_x == (CHIP8_WIDTH - 1) as u8) {0} else {mut_x + 1}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/display.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | y = if (y == (CHIP8_HEIGHT - 1) as u8) {0} else {y + 1}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | ... (xpos as i32 * PIXEL_SIZE as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... (ypos as i32 * PIXEL_SIZE as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8-emulator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8c7eb747aaf2413c2fe276afec377886d923e64131a4b1e26d0287c9654deb15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7eb747aaf2413c2fe276afec377886d923e64131a4b1e26d0287c9654deb15", kill_on_drop: false }` [INFO] [stdout] 8c7eb747aaf2413c2fe276afec377886d923e64131a4b1e26d0287c9654deb15