[INFO] cloning repository https://github.com/mateogo42/chip8-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mateogo42/chip8-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fchip8-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fchip8-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5e38cd7c76a369346d81e01ea48e851129aecec [INFO] testing mateogo42/chip8-rs against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fchip8-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mateogo42/chip8-rs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mateogo42/chip8-rs [INFO] finished tweaking git repo https://github.com/mateogo42/chip8-rs [INFO] tweaked toml for git repo https://github.com/mateogo42/chip8-rs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/mateogo42/chip8-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.34.4 [INFO] [stderr] Downloaded sdl2-sys v0.34.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad7c1e4e8623e317a8a4d08357da6ebf48054ea5b94a1e75f2eb491a2ddb1b40 [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" "ad7c1e4e8623e317a8a4d08357da6ebf48054ea5b94a1e75f2eb491a2ddb1b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad7c1e4e8623e317a8a4d08357da6ebf48054ea5b94a1e75f2eb491a2ddb1b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7c1e4e8623e317a8a4d08357da6ebf48054ea5b94a1e75f2eb491a2ddb1b40", kill_on_drop: false }` [INFO] [stdout] ad7c1e4e8623e317a8a4d08357da6ebf48054ea5b94a1e75f2eb491a2ddb1b40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e56fe538ab6c3d42650a6ac76266101e9881477b8dcc0007a76e8b2234493f89 [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" "e56fe538ab6c3d42650a6ac76266101e9881477b8dcc0007a76e8b2234493f89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling chip8-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `update_rate` [INFO] [stdout] --> src/screen.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let update_rate = 1_000_000 / FPS; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/screen.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut window = Window::new( [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: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] 47 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 47 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!(format!("Unexpected code {}", 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] 66 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 66 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | _ => panic!(format!("Unexpected code {}", 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] 78 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 78 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | _ => panic!(format!("Unexpected code {}", 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] 90 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 90 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | _ => panic!(format!("Unexpected code {}", 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] 92 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 92 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "e56fe538ab6c3d42650a6ac76266101e9881477b8dcc0007a76e8b2234493f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56fe538ab6c3d42650a6ac76266101e9881477b8dcc0007a76e8b2234493f89", kill_on_drop: false }` [INFO] [stdout] e56fe538ab6c3d42650a6ac76266101e9881477b8dcc0007a76e8b2234493f89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94577517ca34dfe184c186d8a5e35f773bea84a7956f6969a5544a6dc127ab19 [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" "94577517ca34dfe184c186d8a5e35f773bea84a7956f6969a5544a6dc127ab19", kill_on_drop: false }` [INFO] [stderr] Compiling chip8-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `update_rate` [INFO] [stdout] --> src/screen.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let update_rate = 1_000_000 / FPS; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/screen.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut window = Window::new( [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: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] 47 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 47 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!(format!("Unexpected code {}", 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] 66 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 66 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | _ => panic!(format!("Unexpected code {}", 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] 78 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 78 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | _ => panic!(format!("Unexpected code {}", 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] 90 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 90 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chip8.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | _ => panic!(format!("Unexpected code {}", 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] 92 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stdout] 92 + _ => panic!("Unexpected code {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "94577517ca34dfe184c186d8a5e35f773bea84a7956f6969a5544a6dc127ab19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94577517ca34dfe184c186d8a5e35f773bea84a7956f6969a5544a6dc127ab19", kill_on_drop: false }` [INFO] [stdout] 94577517ca34dfe184c186d8a5e35f773bea84a7956f6969a5544a6dc127ab19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 345afc2b25e3fef253f26c15a150f2b5b3bc80ce955513c28c993b58dcd1117d [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" "345afc2b25e3fef253f26c15a150f2b5b3bc80ce955513c28c993b58dcd1117d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `update_rate` [INFO] [stderr] --> src/screen.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let update_rate = 1_000_000 / FPS; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_rate` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/screen.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let mut window = Window::new( [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/chip8.rs:47:29 [INFO] [stderr] | [INFO] [stderr] 47 | _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 47 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] 47 + _ => panic!("Unexpected code {}", opcode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/chip8.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 66 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] 66 + _ => panic!("Unexpected code {}", opcode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/chip8.rs:78:29 [INFO] [stderr] | [INFO] [stderr] 78 | _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 78 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] 78 + _ => panic!("Unexpected code {}", opcode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/chip8.rs:90:29 [INFO] [stderr] | [INFO] [stderr] 90 | _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] 90 + _ => panic!("Unexpected code {}", opcode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/chip8.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - _ => panic!(format!("Unexpected code {}", opcode)), [INFO] [stderr] 92 + _ => panic!("Unexpected code {}", opcode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `chip8-rs` (bin "chip8-rs" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chip8_rs-8fb095151c2885d4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "345afc2b25e3fef253f26c15a150f2b5b3bc80ce955513c28c993b58dcd1117d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "345afc2b25e3fef253f26c15a150f2b5b3bc80ce955513c28c993b58dcd1117d", kill_on_drop: false }` [INFO] [stdout] 345afc2b25e3fef253f26c15a150f2b5b3bc80ce955513c28c993b58dcd1117d