[INFO] cloning repository https://github.com/shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshocoman%2FYARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshocoman%2FYARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 925afbc2c959f47a74f30ca94d88dc778a3857db [INFO] checking shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshocoman%2FYARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust [INFO] finished tweaking git repo https://github.com/shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust [INFO] tweaked toml for git repo https://github.com/shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/shocoman/YARSIE-Yet-Another-Space-Invaders-Emulator-On-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c886b471f0309d914c7b1ed1af4e90f990a69ded76462591d7b90cb1105dba9b [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" "c886b471f0309d914c7b1ed1af4e90f990a69ded76462591d7b90cb1105dba9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c886b471f0309d914c7b1ed1af4e90f990a69ded76462591d7b90cb1105dba9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c886b471f0309d914c7b1ed1af4e90f990a69ded76462591d7b90cb1105dba9b", kill_on_drop: false }` [INFO] [stdout] c886b471f0309d914c7b1ed1af4e90f990a69ded76462591d7b90cb1105dba9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c483fb92bfb669e136216b14cea19e874dcf21dd203280514e5ac592bc4432a [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" "6c483fb92bfb669e136216b14cea19e874dcf21dd203280514e5ac592bc4432a", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2 v0.34.1 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Checking space_invaders_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> src/sdl_context.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::{Color, PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Texture` [INFO] [stdout] --> src/sdl_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::render::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/shift_register.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | self.shift_data |= ((val as u16) << 8); [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: `std::process::exit` [INFO] [stdout] --> src/controls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bus.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Texture` [INFO] [stdout] --> src/bus.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::render::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> src/sdl_context.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::{Color, PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Texture` [INFO] [stdout] --> src/sdl_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::render::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/shift_register.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | self.shift_data |= ((val as u16) << 8); [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: `std::process::exit` [INFO] [stdout] --> src/controls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bus.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Texture` [INFO] [stdout] --> src/bus.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::render::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_rect` [INFO] [stdout] --> src/screen.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let dst_rect = Rect::new(0, 0, size.0, size.1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_rect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_rect` [INFO] [stdout] --> src/screen.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let new_rect = Rect::new(0,0, size.1, size.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/screen.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let cnt = Point::new((size.0 / 2) as i32, (size.1 / 2) as i32); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdl_context.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut window = video_subsystem [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/sdl_context.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut event_pump = sdl_context.event_pump().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_rect` [INFO] [stdout] --> src/screen.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let dst_rect = Rect::new(0, 0, size.0, size.1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_rect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_rect` [INFO] [stdout] --> src/screen.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let new_rect = Rect::new(0,0, size.1, size.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/screen.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let cnt = Point::new((size.0 / 2) as i32, (size.1 / 2) as i32); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdl_context.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut window = video_subsystem [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/sdl_context.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut event_pump = sdl_context.event_pump().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_state` [INFO] [stdout] --> src/i8080.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_state` [INFO] [stdout] --> src/i8080.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.99s [INFO] running `Command { std: "docker" "inspect" "6c483fb92bfb669e136216b14cea19e874dcf21dd203280514e5ac592bc4432a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c483fb92bfb669e136216b14cea19e874dcf21dd203280514e5ac592bc4432a", kill_on_drop: false }` [INFO] [stdout] 6c483fb92bfb669e136216b14cea19e874dcf21dd203280514e5ac592bc4432a