[INFO] cloning repository https://github.com/smt923/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smt923/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmt923%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmt923%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a040c2fd498a6fa3c697f7a10b61064bbb0c9a24 [INFO] checking smt923/chip8 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmt923%2Fchip8" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smt923/chip8 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smt923/chip8 [INFO] finished tweaking git repo https://github.com/smt923/chip8 [INFO] tweaked toml for git repo https://github.com/smt923/chip8 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/smt923/chip8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99a332cde9ab86d80c4aaa5c1362a435dc303a49b4e474abce6d282e47bafea1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99a332cde9ab86d80c4aaa5c1362a435dc303a49b4e474abce6d282e47bafea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99a332cde9ab86d80c4aaa5c1362a435dc303a49b4e474abce6d282e47bafea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a332cde9ab86d80c4aaa5c1362a435dc303a49b4e474abce6d282e47bafea1", kill_on_drop: false }` [INFO] [stdout] 99a332cde9ab86d80c4aaa5c1362a435dc303a49b4e474abce6d282e47bafea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70b3fa05074f7151b55c31db6fb6a58b2c30c052f91f62c6f010386e501816a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "70b3fa05074f7151b55c31db6fb6a58b2c30c052f91f62c6f010386e501816a7", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking chip8 v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/chip8.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/chip8.rs:290:35 [INFO] [stdout] | [INFO] [stdout] 290 | let mut idx = (x + xl + ((y + yl as usize) * SCREEN_W)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chip8` [INFO] [stdout] --> src/display.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use chip8::{SCREEN_H, SCREEN_W, Chip8}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display::Display` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use display::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::Input` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use input::Input; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sdl2::pixels; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: label name `'running` shadows a label name that is already in scope [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 43 | 'running: loop { [INFO] [stdout] | -------- first declared here [INFO] [stdout] ... [INFO] [stdout] 73 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ lifetime 'running already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/chip8.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/chip8.rs:290:35 [INFO] [stdout] | [INFO] [stdout] 290 | let mut idx = (x + xl + ((y + yl as usize) * SCREEN_W)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chip8` [INFO] [stdout] --> src/display.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use chip8::{SCREEN_H, SCREEN_W, Chip8}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display::Display` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use display::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::Input` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use input::Input; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sdl2::pixels; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: label name `'running` shadows a label name that is already in scope [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 43 | 'running: loop { [INFO] [stdout] | -------- first declared here [INFO] [stdout] ... [INFO] [stdout] 73 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ lifetime 'running already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/chip8.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | stack = stack.trim_right_matches(" ").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/chip8.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | regs = regs.trim_right_matches(" ").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/chip8.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | stack = stack.trim_right_matches(" ").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/chip8.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | regs = regs.trim_right_matches(" ").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut n = rand::thread_rng().gen_range(0, 255); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut n = rand::thread_rng().gen_range(0, 255); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `V` should have a snake case name [INFO] [stdout] --> src/chip8.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | V: [u8; 16], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xA` should have a snake case name [INFO] [stdout] --> src/chip8.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | fn xA(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xB` should have a snake case name [INFO] [stdout] --> src/chip8.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn xB(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xC` should have a snake case name [INFO] [stdout] --> src/chip8.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn xC(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xD` should have a snake case name [INFO] [stdout] --> src/chip8.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 280 | fn xD(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xE` should have a snake case name [INFO] [stdout] --> src/chip8.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn xE(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xF` should have a snake case name [INFO] [stdout] --> src/chip8.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn xF(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `V` should have a snake case name [INFO] [stdout] --> src/chip8.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | V: [u8; 16], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xA` should have a snake case name [INFO] [stdout] --> src/chip8.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | fn xA(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xB` should have a snake case name [INFO] [stdout] --> src/chip8.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn xB(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xC` should have a snake case name [INFO] [stdout] --> src/chip8.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn xC(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xD` should have a snake case name [INFO] [stdout] --> src/chip8.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 280 | fn xD(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xE` should have a snake case name [INFO] [stdout] --> src/chip8.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn xE(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xF` should have a snake case name [INFO] [stdout] --> src/chip8.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn xF(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `x_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "70b3fa05074f7151b55c31db6fb6a58b2c30c052f91f62c6f010386e501816a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b3fa05074f7151b55c31db6fb6a58b2c30c052f91f62c6f010386e501816a7", kill_on_drop: false }` [INFO] [stdout] 70b3fa05074f7151b55c31db6fb6a58b2c30c052f91f62c6f010386e501816a7