[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fchip8-rs" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mateogo42/chip8-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6eadf273a44210c1f1ca666f5077a74adbf46d9d8477f42f307d72f824ca242a [INFO] running `Command { std: "docker" "start" "-a" "6eadf273a44210c1f1ca666f5077a74adbf46d9d8477f42f307d72f824ca242a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eadf273a44210c1f1ca666f5077a74adbf46d9d8477f42f307d72f824ca242a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eadf273a44210c1f1ca666f5077a74adbf46d9d8477f42f307d72f824ca242a", kill_on_drop: false }` [INFO] [stdout] 6eadf273a44210c1f1ca666f5077a74adbf46d9d8477f42f307d72f824ca242a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dbf2cb55ff65ace154b34c5e258409bb01dd7985dbdd56ab61bfe736001b146 [INFO] running `Command { std: "docker" "start" "-a" "7dbf2cb55ff65ace154b34c5e258409bb01dd7985dbdd56ab61bfe736001b146", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [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 libloading v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.4.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 clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [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 rand v0.8.3 [INFO] [stderr] Compiling xcursor v0.3.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 39.58s [INFO] running `Command { std: "docker" "inspect" "7dbf2cb55ff65ace154b34c5e258409bb01dd7985dbdd56ab61bfe736001b146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dbf2cb55ff65ace154b34c5e258409bb01dd7985dbdd56ab61bfe736001b146", kill_on_drop: false }` [INFO] [stdout] 7dbf2cb55ff65ace154b34c5e258409bb01dd7985dbdd56ab61bfe736001b146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d36666beaf3541fd5177a5851f193a7c29241fc3284dafb1aada892c6135360e [INFO] running `Command { std: "docker" "start" "-a" "d36666beaf3541fd5177a5851f193a7c29241fc3284dafb1aada892c6135360e", 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 0.66s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/chip8_rs-8fb095151c2885d4) [INFO] running `Command { std: "docker" "inspect" "d36666beaf3541fd5177a5851f193a7c29241fc3284dafb1aada892c6135360e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d36666beaf3541fd5177a5851f193a7c29241fc3284dafb1aada892c6135360e", kill_on_drop: false }` [INFO] [stdout] d36666beaf3541fd5177a5851f193a7c29241fc3284dafb1aada892c6135360e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c438592092c625fe066cf65762276e30931f43315b3be59adea7d882eb18d67e [INFO] running `Command { std: "docker" "start" "-a" "c438592092c625fe066cf65762276e30931f43315b3be59adea7d882eb18d67e", 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] [stdout] [INFO] [stderr] [INFO] [stdout] running 0 tests [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] [INFO] [stderr] --> src/chip8.rs:66:29 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [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.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chip8_rs-8fb095151c2885d4) [INFO] running `Command { std: "docker" "inspect" "c438592092c625fe066cf65762276e30931f43315b3be59adea7d882eb18d67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c438592092c625fe066cf65762276e30931f43315b3be59adea7d882eb18d67e", kill_on_drop: false }` [INFO] [stdout] c438592092c625fe066cf65762276e30931f43315b3be59adea7d882eb18d67e