[INFO] cloning repository https://github.com/pedro-git-projects/chip-8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedro-git-projects/chip-8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fchip-8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fchip-8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45ee27c12d2777b3e3cbcb2cfc765c7084356b74 [INFO] checking pedro-git-projects/chip-8-emulator against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fchip-8-emulator" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedro-git-projects/chip-8-emulator on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedro-git-projects/chip-8-emulator [INFO] finished tweaking git repo https://github.com/pedro-git-projects/chip-8-emulator [INFO] tweaked toml for git repo https://github.com/pedro-git-projects/chip-8-emulator written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pedro-git-projects/chip-8-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bf3ae843eb1b65fdb799e665cf2d3ad599330672cf5fe6faa7fe821b24e9756 [INFO] running `Command { std: "docker" "start" "-a" "1bf3ae843eb1b65fdb799e665cf2d3ad599330672cf5fe6faa7fe821b24e9756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bf3ae843eb1b65fdb799e665cf2d3ad599330672cf5fe6faa7fe821b24e9756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf3ae843eb1b65fdb799e665cf2d3ad599330672cf5fe6faa7fe821b24e9756", kill_on_drop: false }` [INFO] [stdout] 1bf3ae843eb1b65fdb799e665cf2d3ad599330672cf5fe6faa7fe821b24e9756 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f31518b67ab1b693af5adb51820bd1c6b0c3cffc2e73067136e1647e9073bb96 [INFO] running `Command { std: "docker" "start" "-a" "f31518b67ab1b693af5adb51820bd1c6b0c3cffc2e73067136e1647e9073bb96", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chip-8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/emulator/chip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::app::App` [INFO] [stdout] --> src/emulator/chip.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::app::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_sdl_key_to_chip8_key` [INFO] [stdout] --> src/emulator/chip.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use super::keyboard::{map_chip8_key_to_sdl_key, map_sdl_key_to_chip8_key, Chip8Key, Keyboard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/emulator/chip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::app::App` [INFO] [stdout] --> src/emulator/chip.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::app::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_sdl_key_to_chip8_key` [INFO] [stdout] --> src/emulator/chip.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use super::keyboard::{map_chip8_key_to_sdl_key, map_sdl_key_to_chip8_key, Chip8Key, Keyboard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/emulator/chip.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn push_to_stack(&mut self, index: usize, value: u16) -> Result<(), &str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/emulator/chip.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tmp: u8 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/emulator/chip.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn push_to_stack(&mut self, index: usize, value: u16) -> Result<(), &str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/emulator/chip.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tmp: u8 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video_subsystem` are never read [INFO] [stdout] --> src/app/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 15 | sdl_context: sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | video_subsystem: sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WindowConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(title: &'static str, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_memory_addr`, `get_memory_addr`, and `push_to_stack` are never used [INFO] [stdout] --> src/emulator/chip.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Chip8 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_memory_addr(&mut self, index: usize, value: u8) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_memory_addr(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn push_to_stack(&mut self, index: usize, value: u16) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_screen` is never used [INFO] [stdout] --> src/emulator/screen.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_screen(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator/chip.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | self.v[0x0F] = if tmp > 0xFF { 1 } else { 0 }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video_subsystem` are never read [INFO] [stdout] --> src/app/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 15 | sdl_context: sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | video_subsystem: sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WindowConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(title: &'static str, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_screen` is never used [INFO] [stdout] --> src/emulator/screen.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_screen(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator/chip.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | self.v[0x0F] = if tmp > 0xFF { 1 } else { 0 }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "f31518b67ab1b693af5adb51820bd1c6b0c3cffc2e73067136e1647e9073bb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f31518b67ab1b693af5adb51820bd1c6b0c3cffc2e73067136e1647e9073bb96", kill_on_drop: false }` [INFO] [stdout] f31518b67ab1b693af5adb51820bd1c6b0c3cffc2e73067136e1647e9073bb96 [INFO] checking pedro-git-projects/chip-8-emulator against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fchip-8-emulator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedro-git-projects/chip-8-emulator on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedro-git-projects/chip-8-emulator [INFO] finished tweaking git repo https://github.com/pedro-git-projects/chip-8-emulator [INFO] tweaked toml for git repo https://github.com/pedro-git-projects/chip-8-emulator written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pedro-git-projects/chip-8-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 920d52b6467b47ea433440e96aefd0a9f2e7639ff4614983579bedb45b1a3ef1 [INFO] running `Command { std: "docker" "start" "-a" "920d52b6467b47ea433440e96aefd0a9f2e7639ff4614983579bedb45b1a3ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "920d52b6467b47ea433440e96aefd0a9f2e7639ff4614983579bedb45b1a3ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920d52b6467b47ea433440e96aefd0a9f2e7639ff4614983579bedb45b1a3ef1", kill_on_drop: false }` [INFO] [stdout] 920d52b6467b47ea433440e96aefd0a9f2e7639ff4614983579bedb45b1a3ef1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9589d7b8730f6a5e472b25e2bb40d99eb765fd584dc0e84c552cead63dc79686 [INFO] running `Command { std: "docker" "start" "-a" "9589d7b8730f6a5e472b25e2bb40d99eb765fd584dc0e84c552cead63dc79686", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chip-8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/emulator/chip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::app::App` [INFO] [stdout] --> src/emulator/chip.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::app::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_sdl_key_to_chip8_key` [INFO] [stdout] --> src/emulator/chip.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use super::keyboard::{map_chip8_key_to_sdl_key, map_sdl_key_to_chip8_key, Chip8Key, Keyboard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/emulator/chip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::app::App` [INFO] [stdout] --> src/emulator/chip.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::app::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_sdl_key_to_chip8_key` [INFO] [stdout] --> src/emulator/chip.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use super::keyboard::{map_chip8_key_to_sdl_key, map_sdl_key_to_chip8_key, Chip8Key, Keyboard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/emulator/chip.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn push_to_stack(&mut self, index: usize, value: u16) -> Result<(), &str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/emulator/chip.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tmp: u8 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video_subsystem` are never read [INFO] [stdout] --> src/app/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 15 | sdl_context: sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | video_subsystem: sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WindowConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(title: &'static str, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_memory_addr`, `get_memory_addr`, and `push_to_stack` are never used [INFO] [stdout] --> src/emulator/chip.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Chip8 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_memory_addr(&mut self, index: usize, value: u8) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_memory_addr(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn push_to_stack(&mut self, index: usize, value: u16) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_screen` is never used [INFO] [stdout] --> src/emulator/screen.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_screen(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/app.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 29 | let sdl_context = sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let video_subsystem = sdl_context.video().unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | [INFO] [stdout] 32 | let window = video_subsystem [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let canvas = window.into_canvas().build().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let event_pump = sdl_context.event_pump().unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | sdl_context, [INFO] [stdout] 45 | | video_subsystem, [INFO] [stdout] 46 | | canvas, [INFO] [stdout] ... | [INFO] [stdout] 49 | | chip8: chip, [INFO] [stdout] 50 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator/chip.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | self.v[0x0F] = if tmp > 0xFF { 1 } else { 0 }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip-8-emulator` (bin "chip-8-emulator") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/emulator/chip.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn push_to_stack(&mut self, index: usize, value: u16) -> Result<(), &str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/emulator/chip.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tmp: u8 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video_subsystem` are never read [INFO] [stdout] --> src/app/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 15 | sdl_context: sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | video_subsystem: sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WindowConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(title: &'static str, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_screen` is never used [INFO] [stdout] --> src/emulator/screen.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_screen(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/app.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 29 | let sdl_context = sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let video_subsystem = sdl_context.video().unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | [INFO] [stdout] 32 | let window = video_subsystem [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let canvas = window.into_canvas().build().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let event_pump = sdl_context.event_pump().unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | sdl_context, [INFO] [stdout] 45 | | video_subsystem, [INFO] [stdout] 46 | | canvas, [INFO] [stdout] ... | [INFO] [stdout] 49 | | chip8: chip, [INFO] [stdout] 50 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/emulator/chip.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | self.v[0x0F] = if tmp > 0xFF { 1 } else { 0 }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip-8-emulator` (bin "chip-8-emulator" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9589d7b8730f6a5e472b25e2bb40d99eb765fd584dc0e84c552cead63dc79686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9589d7b8730f6a5e472b25e2bb40d99eb765fd584dc0e84c552cead63dc79686", kill_on_drop: false }` [INFO] [stdout] 9589d7b8730f6a5e472b25e2bb40d99eb765fd584dc0e84c552cead63dc79686