[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 master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricfehr3%2Fchip8-emulator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ricfehr3/chip8-emulator on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-2-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 477cfb5861a9a419d9496be1e7da2afb0545fd250abac61840d296b2e7e0385f [INFO] running `Command { std: "docker" "start" "-a" "477cfb5861a9a419d9496be1e7da2afb0545fd250abac61840d296b2e7e0385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "477cfb5861a9a419d9496be1e7da2afb0545fd250abac61840d296b2e7e0385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477cfb5861a9a419d9496be1e7da2afb0545fd250abac61840d296b2e7e0385f", kill_on_drop: false }` [INFO] [stdout] 477cfb5861a9a419d9496be1e7da2afb0545fd250abac61840d296b2e7e0385f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd0cecf76668636e94bc29e4ac21c1246c8f0e77224fb7dbb911ba0f4a57c397 [INFO] running `Command { std: "docker" "start" "-a" "dd0cecf76668636e94bc29e4ac21c1246c8f0e77224fb7dbb911ba0f4a57c397", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clang-sys v1.2.0 [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 x11-dl v2.18.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 rand v0.8.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling bindgen v0.56.0 [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 20.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 2` [INFO] running `Command { std: "docker" "inspect" "dd0cecf76668636e94bc29e4ac21c1246c8f0e77224fb7dbb911ba0f4a57c397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd0cecf76668636e94bc29e4ac21c1246c8f0e77224fb7dbb911ba0f4a57c397", kill_on_drop: false }` [INFO] [stdout] dd0cecf76668636e94bc29e4ac21c1246c8f0e77224fb7dbb911ba0f4a57c397 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dbb3685bda9acf125a7951da6801b0526aa5a7fcfb772907e7414a250783f4d [INFO] running `Command { std: "docker" "start" "-a" "0dbb3685bda9acf125a7951da6801b0526aa5a7fcfb772907e7414a250783f4d", 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.48s [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 2` [INFO] running `Command { std: "docker" "inspect" "0dbb3685bda9acf125a7951da6801b0526aa5a7fcfb772907e7414a250783f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dbb3685bda9acf125a7951da6801b0526aa5a7fcfb772907e7414a250783f4d", kill_on_drop: false }` [INFO] [stdout] 0dbb3685bda9acf125a7951da6801b0526aa5a7fcfb772907e7414a250783f4d