[INFO] cloning repository https://github.com/ricfehr3/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/ricfehr3/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricfehr3%2Fchip8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricfehr3%2Fchip8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9be48e5903dbb934e51639c7953c8aa952176d54 [INFO] building ricfehr3/chip8-emulator against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricfehr3%2Fchip8-emulator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ricfehr3/chip8-emulator on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ricfehr3/chip8-emulator [INFO] finished tweaking git repo https://github.com/ricfehr3/chip8-emulator [INFO] tweaked toml for git repo https://github.com/ricfehr3/chip8-emulator written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ricfehr3/chip8-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1be1447f470130d14d90176cee027d463967ab3c74130bd0f1aa5697b5a0538 [INFO] running `Command { std: "docker" "start" "-a" "f1be1447f470130d14d90176cee027d463967ab3c74130bd0f1aa5697b5a0538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1be1447f470130d14d90176cee027d463967ab3c74130bd0f1aa5697b5a0538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1be1447f470130d14d90176cee027d463967ab3c74130bd0f1aa5697b5a0538", kill_on_drop: false }` [INFO] [stdout] f1be1447f470130d14d90176cee027d463967ab3c74130bd0f1aa5697b5a0538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d70e9239dd8b553e791d349fa6a16e4375ca0019f6e726caf86ba8d3bc717cbc [INFO] running `Command { std: "docker" "start" "-a" "d70e9239dd8b553e791d349fa6a16e4375ca0019f6e726caf86ba8d3bc717cbc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling nix v0.20.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | fn op_8xy6(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | fn op_8xy7(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | fn op_8xy7(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | fn op_8xyE(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | 0x1000..0x1FFF => self.op_1nnn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `4096_u16..=8191_u16` [INFO] [stdout] 321 | 0x2000..0x2FFF => self.op_2nnn(nnn), [INFO] [stdout] | -------------- this could appear to continue range `4096_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | 0x2000..0x2FFF => self.op_2nnn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `12287_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `8192_u16..=12287_u16` [INFO] [stdout] 322 | 0x3000..0x3FFF => self.op_3xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `8192_u16..12287_u16`, but `12287_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | 0x3000..0x3FFF => self.op_3xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `16383_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `12288_u16..=16383_u16` [INFO] [stdout] 323 | 0x4000..0x4FFF => self.op_4xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `12288_u16..16383_u16`, but `16383_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | 0x4000..0x4FFF => self.op_4xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `20479_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `16384_u16..=20479_u16` [INFO] [stdout] 324 | 0x5000..0x5FFF => { [INFO] [stdout] | -------------- this could appear to continue range `16384_u16..20479_u16`, but `20479_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 0x5000..0x5FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `24575_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `20480_u16..=24575_u16` [INFO] [stdout] ... [INFO] [stdout] 330 | 0x6000..0x6FFF => self.op_6xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `20480_u16..24575_u16`, but `24575_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | 0x6000..0x6FFF => self.op_6xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `28671_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `24576_u16..=28671_u16` [INFO] [stdout] 331 | 0x7000..0x7FFF => self.op_7xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `24576_u16..28671_u16`, but `28671_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 0x7000..0x7FFF => self.op_7xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `32767_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `28672_u16..=32767_u16` [INFO] [stdout] 332 | 0x8000..0x8FFF => { [INFO] [stdout] | -------------- this could appear to continue range `28672_u16..32767_u16`, but `32767_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | 0x8000..0x8FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `36863_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `32768_u16..=36863_u16` [INFO] [stdout] ... [INFO] [stdout] 346 | 0x9000..0x9FFF => { [INFO] [stdout] | -------------- this could appear to continue range `32768_u16..36863_u16`, but `36863_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | 0x9000..0x9FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `40959_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `36864_u16..=40959_u16` [INFO] [stdout] ... [INFO] [stdout] 352 | 0xA000..0xAFFF => self.op_Annn(nnn), [INFO] [stdout] | -------------- this could appear to continue range `36864_u16..40959_u16`, but `40959_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | 0xA000..0xAFFF => self.op_Annn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `45055_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `40960_u16..=45055_u16` [INFO] [stdout] 353 | 0xB000..0xBFFF => self.op_Bnnn(nnn), [INFO] [stdout] | -------------- this could appear to continue range `40960_u16..45055_u16`, but `45055_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | 0xB000..0xBFFF => self.op_Bnnn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `49151_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `45056_u16..=49151_u16` [INFO] [stdout] 354 | 0xC000..0xCFFF => self.op_Cxkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `45056_u16..49151_u16`, but `49151_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | 0xC000..0xCFFF => self.op_Cxkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `53247_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `49152_u16..=53247_u16` [INFO] [stdout] 355 | 0xD000..0xDFFF => self.op_Dxyn(x_reg, y_reg, n), [INFO] [stdout] | -------------- this could appear to continue range `49152_u16..53247_u16`, but `53247_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | 0xD000..0xDFFF => self.op_Dxyn(x_reg, y_reg, n), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `57343_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `53248_u16..=57343_u16` [INFO] [stdout] 356 | 0xE000..0xEFFF => { [INFO] [stdout] | -------------- this could appear to continue range `53248_u16..57343_u16`, but `57343_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | 0xE000..0xEFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `61439_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `57344_u16..=61439_u16` [INFO] [stdout] ... [INFO] [stdout] 363 | 0xF000..0xFFFF => { [INFO] [stdout] | -------------- this could appear to continue range `57344_u16..61439_u16`, but `61439_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: exclusive range missing `u16::MAX` [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | 0xF000..0xFFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `u16::MAX` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `61440_u16..=u16::MAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pause` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn pause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `old_pc` is never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Chip8 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | old_pc: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | f.read(&mut self.memory[0x200 ..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = f.read(&mut self.memory[0x200 ..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_00E0` should have a snake case name [INFO] [stdout] --> src/main.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn op_00E0(&mut self) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_00_e0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_00EE` should have a snake case name [INFO] [stdout] --> src/main.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn op_00EE(&mut self) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_00_ee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_8xyE` should have a snake case name [INFO] [stdout] --> src/main.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn op_8xyE(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_8xy_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Annn` should have a snake case name [INFO] [stdout] --> src/main.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn op_Annn(&mut self, nnn: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_annn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Bnnn` should have a snake case name [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn op_Bnnn(&mut self, nnn: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_bnnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Cxkk` should have a snake case name [INFO] [stdout] --> src/main.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_Cxkk(&mut self, x: usize, kk: u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_cxkk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Dxyn` should have a snake case name [INFO] [stdout] --> src/main.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn op_Dxyn(&mut self, x: usize, y: usize, n: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_dxyn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Ex9E` should have a snake case name [INFO] [stdout] --> src/main.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn op_Ex9E(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_ex9_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_ExA1` should have a snake case name [INFO] [stdout] --> src/main.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | fn op_ExA1(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_ex_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx07` should have a snake case name [INFO] [stdout] --> src/main.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | fn op_Fx07(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx07` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx0A` should have a snake case name [INFO] [stdout] --> src/main.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | fn op_Fx0A(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_fx0_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx15` should have a snake case name [INFO] [stdout] --> src/main.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn op_Fx15(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx18` should have a snake case name [INFO] [stdout] --> src/main.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn op_Fx18(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx1E` should have a snake case name [INFO] [stdout] --> src/main.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn op_Fx1E(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_fx1_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx29` should have a snake case name [INFO] [stdout] --> src/main.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | fn op_Fx29(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx29` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx33` should have a snake case name [INFO] [stdout] --> src/main.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn op_Fx33(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx33` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx55` should have a snake case name [INFO] [stdout] --> src/main.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn op_Fx55(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx55` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx65` should have a snake case name [INFO] [stdout] --> src/main.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn op_Fx65(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx65` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 360 - _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] 360 + _ => panic!("Invalid opcode {:#04x}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 374 - _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] 374 + _ => panic!("Invalid opcode {:#04x}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 378 - _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] 378 + _ => panic!("Invalid opcode {:#04x}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d70e9239dd8b553e791d349fa6a16e4375ca0019f6e726caf86ba8d3bc717cbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d70e9239dd8b553e791d349fa6a16e4375ca0019f6e726caf86ba8d3bc717cbc", kill_on_drop: false }` [INFO] [stdout] d70e9239dd8b553e791d349fa6a16e4375ca0019f6e726caf86ba8d3bc717cbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffbe8e0fdfb424da94a97e7b78a17218b215ce4911ad31b22117d3c3351ad693 [INFO] running `Command { std: "docker" "start" "-a" "ffbe8e0fdfb424da94a97e7b78a17218b215ce4911ad31b22117d3c3351ad693", kill_on_drop: false }` [INFO] [stderr] Compiling chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | fn op_8xy6(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | fn op_8xy7(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | fn op_8xy7(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | fn op_8xyE(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | 0x1000..0x1FFF => self.op_1nnn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `4096_u16..=8191_u16` [INFO] [stdout] 321 | 0x2000..0x2FFF => self.op_2nnn(nnn), [INFO] [stdout] | -------------- this could appear to continue range `4096_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | 0x2000..0x2FFF => self.op_2nnn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `12287_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `8192_u16..=12287_u16` [INFO] [stdout] 322 | 0x3000..0x3FFF => self.op_3xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `8192_u16..12287_u16`, but `12287_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | 0x3000..0x3FFF => self.op_3xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `16383_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `12288_u16..=16383_u16` [INFO] [stdout] 323 | 0x4000..0x4FFF => self.op_4xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `12288_u16..16383_u16`, but `16383_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | 0x4000..0x4FFF => self.op_4xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `20479_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `16384_u16..=20479_u16` [INFO] [stdout] 324 | 0x5000..0x5FFF => { [INFO] [stdout] | -------------- this could appear to continue range `16384_u16..20479_u16`, but `20479_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 0x5000..0x5FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `24575_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `20480_u16..=24575_u16` [INFO] [stdout] ... [INFO] [stdout] 330 | 0x6000..0x6FFF => self.op_6xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `20480_u16..24575_u16`, but `24575_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | 0x6000..0x6FFF => self.op_6xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `28671_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `24576_u16..=28671_u16` [INFO] [stdout] 331 | 0x7000..0x7FFF => self.op_7xkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `24576_u16..28671_u16`, but `28671_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 0x7000..0x7FFF => self.op_7xkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `32767_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `28672_u16..=32767_u16` [INFO] [stdout] 332 | 0x8000..0x8FFF => { [INFO] [stdout] | -------------- this could appear to continue range `28672_u16..32767_u16`, but `32767_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | 0x8000..0x8FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `36863_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `32768_u16..=36863_u16` [INFO] [stdout] ... [INFO] [stdout] 346 | 0x9000..0x9FFF => { [INFO] [stdout] | -------------- this could appear to continue range `32768_u16..36863_u16`, but `36863_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | 0x9000..0x9FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `40959_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `36864_u16..=40959_u16` [INFO] [stdout] ... [INFO] [stdout] 352 | 0xA000..0xAFFF => self.op_Annn(nnn), [INFO] [stdout] | -------------- this could appear to continue range `36864_u16..40959_u16`, but `40959_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | 0xA000..0xAFFF => self.op_Annn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `45055_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `40960_u16..=45055_u16` [INFO] [stdout] 353 | 0xB000..0xBFFF => self.op_Bnnn(nnn), [INFO] [stdout] | -------------- this could appear to continue range `40960_u16..45055_u16`, but `45055_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | 0xB000..0xBFFF => self.op_Bnnn(nnn), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `49151_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `45056_u16..=49151_u16` [INFO] [stdout] 354 | 0xC000..0xCFFF => self.op_Cxkk(x_reg, kk), [INFO] [stdout] | -------------- this could appear to continue range `45056_u16..49151_u16`, but `49151_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | 0xC000..0xCFFF => self.op_Cxkk(x_reg, kk), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `53247_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `49152_u16..=53247_u16` [INFO] [stdout] 355 | 0xD000..0xDFFF => self.op_Dxyn(x_reg, y_reg, n), [INFO] [stdout] | -------------- this could appear to continue range `49152_u16..53247_u16`, but `53247_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | 0xD000..0xDFFF => self.op_Dxyn(x_reg, y_reg, n), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `57343_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `53248_u16..=57343_u16` [INFO] [stdout] 356 | 0xE000..0xEFFF => { [INFO] [stdout] | -------------- this could appear to continue range `53248_u16..57343_u16`, but `57343_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/main.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | 0xE000..0xEFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `61439_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `57344_u16..=61439_u16` [INFO] [stdout] ... [INFO] [stdout] 363 | 0xF000..0xFFFF => { [INFO] [stdout] | -------------- this could appear to continue range `57344_u16..61439_u16`, but `61439_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: exclusive range missing `u16::MAX` [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | 0xF000..0xFFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `u16::MAX` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `61440_u16..=u16::MAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pause` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn pause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `old_pc` is never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Chip8 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | old_pc: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | f.read(&mut self.memory[0x200 ..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = f.read(&mut self.memory[0x200 ..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_00E0` should have a snake case name [INFO] [stdout] --> src/main.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn op_00E0(&mut self) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_00_e0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_00EE` should have a snake case name [INFO] [stdout] --> src/main.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn op_00EE(&mut self) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_00_ee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_8xyE` should have a snake case name [INFO] [stdout] --> src/main.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn op_8xyE(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_8xy_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Annn` should have a snake case name [INFO] [stdout] --> src/main.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn op_Annn(&mut self, nnn: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_annn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Bnnn` should have a snake case name [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn op_Bnnn(&mut self, nnn: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_bnnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Cxkk` should have a snake case name [INFO] [stdout] --> src/main.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_Cxkk(&mut self, x: usize, kk: u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_cxkk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Dxyn` should have a snake case name [INFO] [stdout] --> src/main.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn op_Dxyn(&mut self, x: usize, y: usize, n: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_dxyn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Ex9E` should have a snake case name [INFO] [stdout] --> src/main.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn op_Ex9E(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_ex9_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_ExA1` should have a snake case name [INFO] [stdout] --> src/main.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | fn op_ExA1(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_ex_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx07` should have a snake case name [INFO] [stdout] --> src/main.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | fn op_Fx07(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx07` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx0A` should have a snake case name [INFO] [stdout] --> src/main.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | fn op_Fx0A(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_fx0_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx15` should have a snake case name [INFO] [stdout] --> src/main.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn op_Fx15(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx18` should have a snake case name [INFO] [stdout] --> src/main.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn op_Fx18(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx1E` should have a snake case name [INFO] [stdout] --> src/main.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn op_Fx1E(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `op_fx1_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx29` should have a snake case name [INFO] [stdout] --> src/main.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | fn op_Fx29(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx29` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx33` should have a snake case name [INFO] [stdout] --> src/main.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn op_Fx33(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx33` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx55` should have a snake case name [INFO] [stdout] --> src/main.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn op_Fx55(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx55` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `op_Fx65` should have a snake case name [INFO] [stdout] --> src/main.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn op_Fx65(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx65` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 360 - _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] 360 + _ => panic!("Invalid opcode {:#04x}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 374 - _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] 374 + _ => panic!("Invalid opcode {:#04x}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 378 - _ => panic!(format!("Invalid opcode {:#04x}", opcode)), [INFO] [stdout] 378 + _ => panic!("Invalid opcode {:#04x}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ffbe8e0fdfb424da94a97e7b78a17218b215ce4911ad31b22117d3c3351ad693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbe8e0fdfb424da94a97e7b78a17218b215ce4911ad31b22117d3c3351ad693", kill_on_drop: false }` [INFO] [stdout] ffbe8e0fdfb424da94a97e7b78a17218b215ce4911ad31b22117d3c3351ad693