[INFO] cloning repository https://github.com/pedrokarim/tetris-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrokarim/tetris-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrokarim%2Ftetris-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrokarim%2Ftetris-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e69c32f076701a8e750d1fe91a58c1533c7cfa94
[INFO] checking pedrokarim/tetris-rust against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrokarim%2Ftetris-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pedrokarim/tetris-rust
[INFO] finished tweaking git repo https://github.com/pedrokarim/tetris-rust
[INFO] tweaked toml for git repo https://github.com/pedrokarim/tetris-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pedrokarim/tetris-rust on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pedrokarim/tetris-rust 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--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-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2
[INFO] running `Command { std: "docker" "start" "cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]    Compiling quad-snd v0.2.8
[INFO] [stderr]     Checking ogg v0.7.1
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking lewton v0.9.4
[INFO] [stderr]     Checking dasp_frame v0.11.0
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking audrey v0.3.0
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking tetris-game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated items `any_key_pressed` and `get_help_text` are never used
[INFO] [stdout]    --> src/input.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl InputHandler {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn any_key_pressed(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn get_help_text() -> Vec<&'static str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TetrisEffect` is never constructed
[INFO] [stdout]   --> src/animations.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum AnimationType {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     TetrisEffect {
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnimationType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_finished` is never used
[INFO] [stdout]   --> src/animations.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Animation {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn is_finished(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `music_volume` is never read
[INFO] [stdout]  --> src/audio.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct AudioManager {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     music_volume: f32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_music_volume`, `get_sound_enabled`, `get_music_enabled`, `get_volume`, and `get_music_volume` are never used
[INFO] [stdout]   --> src/audio.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl AudioManager {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn set_music_volume(&mut self, volume: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn get_sound_enabled(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn get_music_enabled(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn get_volume(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn get_music_volume(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `any_key_pressed` and `get_help_text` are never used
[INFO] [stdout]    --> src/input.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl InputHandler {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn any_key_pressed(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn get_help_text() -> Vec<&'static str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TetrisEffect` is never constructed
[INFO] [stdout]   --> src/animations.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum AnimationType {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     TetrisEffect {
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnimationType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_finished` is never used
[INFO] [stdout]   --> src/animations.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Animation {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn is_finished(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `music_volume` is never read
[INFO] [stdout]  --> src/audio.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct AudioManager {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     music_volume: f32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_music_volume`, `get_sound_enabled`, `get_music_enabled`, `get_volume`, and `get_music_volume` are never used
[INFO] [stdout]   --> src/audio.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl AudioManager {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn set_music_volume(&mut self, volume: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn get_sound_enabled(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn get_music_enabled(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn get_volume(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn get_music_volume(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.47s
[INFO] running `Command { std: "docker" "inspect" "cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2", kill_on_drop: false }`
[INFO] [stdout] cfb9e34f6971593a7b9125f39524cc78ac1c90879b469049d9e907d1a08153f2
