[INFO] cloning repository https://github.com/caengen/tetris-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caengen/tetris-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaengen%2Ftetris-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaengen%2Ftetris-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3ba618843a596b0bcee71567bf766a9bac7edd0
[INFO] testing caengen/tetris-rs/e3ba618843a596b0bcee71567bf766a9bac7edd0 against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaengen%2Ftetris-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/caengen/tetris-rs
[INFO] finished tweaking git repo https://github.com/caengen/tetris-rs
[INFO] tweaked toml for git repo https://github.com/caengen/tetris-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/caengen/tetris-rs on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/caengen/tetris-rs 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v0.6.14
[INFO] [stderr]   Downloaded audrey v0.3.0
[INFO] [stderr]   Downloaded quad-alsa-sys v0.3.2
[INFO] [stderr]   Downloaded macroquad_macro v0.1.7
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.82
[INFO] [stderr]   Downloaded dasp_frame v0.11.0
[INFO] [stderr]   Downloaded quad-rand v0.2.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.82
[INFO] [stderr]   Downloaded ogg v0.7.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.82
[INFO] [stderr]   Downloaded audir-sles v0.1.0
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.82
[INFO] [stderr]   Downloaded proc-macro2 v1.0.42
[INFO] [stderr]   Downloaded bytemuck v1.11.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.2
[INFO] [stderr]   Downloaded ahash v0.4.7
[INFO] [stderr]   Downloaded js-sys v0.3.59
[INFO] [stderr]   Downloaded ttf-parser v0.12.3
[INFO] [stderr]   Downloaded fontdue v0.5.2
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.82
[INFO] [stderr]   Downloaded miniquad v0.3.11
[INFO] [stderr]   Downloaded macroquad v0.3.23
[INFO] [stderr]   Downloaded quad-snd v0.2.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8
[INFO] running `Command { std: "docker" "start" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8", 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" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling miniquad v0.3.11
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling ogg v0.7.1
[INFO] [stderr]    Compiling dasp_frame v0.11.0
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling hound v3.4.0
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling quad-snd v0.2.3
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling bytemuck v1.11.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling lewton v0.9.4
[INFO] [stderr]    Compiling ttf-parser v0.12.3
[INFO] [stderr]    Compiling quad-rand v0.2.1
[INFO] [stderr]    Compiling bumpalo v3.10.0
[INFO] [stderr]    Compiling macroquad_macro v0.1.7
[INFO] [stderr]    Compiling fontdue v0.5.2
[INFO] [stderr]    Compiling glam v0.14.0
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling audrey v0.3.0
[INFO] [stderr]    Compiling macroquad v0.3.23
[INFO] [stderr]    Compiling tetris-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PIXELS_PER_UNIT`
[INFO] [stdout]  --> src/draw.rs:4:58
[INFO] [stdout]   |
[INFO] [stdout] 4 |     GameMode, ScorePopup, ENTRY_DELAY, LINE_CLEAR_DELAY, PIXELS_PER_UNIT, SCORE_TIMEOUT,
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Font`, `debug`, `draw_line`, and `get_fps`
[INFO] [stdout]   --> src/draw.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |         clear_background, debug, draw_circle, draw_line, draw_rectangle, draw_rectangle_lines,
[INFO] [stdout]    |                           ^^^^^               ^^^^^^^^^
[INFO] [stdout] 14 |         draw_text, draw_texture_ex, get_fps, measure_text, vec2, DrawTextureParams, Rect,
[INFO] [stdout]    |                                     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     text::{draw_text_ex, Font, TextDimensions, TextParams},
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BLUE`, `GREEN`, `ORANGE`, `PURPLE`, `RED`, `SKYBLUE`, `Vec2`, and `YELLOW`
[INFO] [stdout]  --> src/spawner.rs:5:65
[INFO] [stdout]   |
[INFO] [stdout] 5 |         const_mat3, const_mat4, debug, vec2, Color, Mat3, Mat4, Vec2, BLUE, GREEN, ORANGE, PURPLE,
[INFO] [stdout]   |                                                                 ^^^^  ^^^^  ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 6 |         RED, SKYBLUE, YELLOW,
[INFO] [stdout]   |         ^^^  ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Gravity`
[INFO] [stdout]   --> src/spawner.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::components::{GameState, Gravity, WELL_WIDTH};
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HARD_DROP_GRAVITY` and `LOCK_DELAY`
[INFO] [stdout]  --> src/input.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         HARD_DROP_GRAVITY, LOCK_DELAY, SOFT_DROP_GRAVITY,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WELL_WIDTH`
[INFO] [stdout]   --> src/input.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     WELL_WIDTH,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::components::LOCK_DELAY`
[INFO] [stdout]  --> src/collision.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::components::LOCK_DELAY;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/collision.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use macroquad::prelude::{debug, Vec2};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/collision.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     (bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos))
[INFO] [stdout]    |     ^                                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -     (bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos))
[INFO] [stdout] 87 +     bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos) 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WELL_HEIGHT`
[INFO] [stdout]  --> src/gravity_system.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     components::{WELL_HEIGHT, WELL_WIDTH},
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/draw.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let color = if *debug { GRAY } else { block.color };
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `GameTypeMenu`, `LevelAndHeightMenu`, `HighScore`, `Ending`, and `Demo` are never constructed
[INFO] [stdout]   --> src/components.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum GameMode {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |     Title,
[INFO] [stdout] 11 |     GameTypeMenu,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 12 |     LevelAndHeightMenu,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     HighScore,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     Ending,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     Demo,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HARD_DROP_GRAVITY` is never used
[INFO] [stdout]   --> src/components.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const HARD_DROP_GRAVITY: f32 = 1.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `color` and `ghost_color` are never read
[INFO] [stdout]   --> src/components.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Tetromino {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub color: Color,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 67 |     pub ghost_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tetromino` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `surrounded_by_neighbours` is never used
[INFO] [stdout]    --> src/collision.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn surrounded_by_neighbours(placed: &Vec<Option<Block>>, x: usize, y: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling tetris-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PIXELS_PER_UNIT`
[INFO] [stdout]  --> src/draw.rs:4:58
[INFO] [stdout]   |
[INFO] [stdout] 4 |     GameMode, ScorePopup, ENTRY_DELAY, LINE_CLEAR_DELAY, PIXELS_PER_UNIT, SCORE_TIMEOUT,
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Font`, `debug`, `draw_line`, and `get_fps`
[INFO] [stdout]   --> src/draw.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |         clear_background, debug, draw_circle, draw_line, draw_rectangle, draw_rectangle_lines,
[INFO] [stdout]    |                           ^^^^^               ^^^^^^^^^
[INFO] [stdout] 14 |         draw_text, draw_texture_ex, get_fps, measure_text, vec2, DrawTextureParams, Rect,
[INFO] [stdout]    |                                     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     text::{draw_text_ex, Font, TextDimensions, TextParams},
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BLUE`, `GREEN`, `ORANGE`, `PURPLE`, `RED`, `SKYBLUE`, `Vec2`, and `YELLOW`
[INFO] [stdout]  --> src/spawner.rs:5:65
[INFO] [stdout]   |
[INFO] [stdout] 5 |         const_mat3, const_mat4, debug, vec2, Color, Mat3, Mat4, Vec2, BLUE, GREEN, ORANGE, PURPLE,
[INFO] [stdout]   |                                                                 ^^^^  ^^^^  ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 6 |         RED, SKYBLUE, YELLOW,
[INFO] [stdout]   |         ^^^  ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Gravity`
[INFO] [stdout]   --> src/spawner.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::components::{GameState, Gravity, WELL_WIDTH};
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HARD_DROP_GRAVITY` and `LOCK_DELAY`
[INFO] [stdout]  --> src/input.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         HARD_DROP_GRAVITY, LOCK_DELAY, SOFT_DROP_GRAVITY,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WELL_WIDTH`
[INFO] [stdout]   --> src/input.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     WELL_WIDTH,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::components::LOCK_DELAY`
[INFO] [stdout]  --> src/collision.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::components::LOCK_DELAY;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/collision.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use macroquad::prelude::{debug, Vec2};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/collision.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     (bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos))
[INFO] [stdout]    |     ^                                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -     (bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos))
[INFO] [stdout] 87 +     bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos) 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WELL_HEIGHT`
[INFO] [stdout]  --> src/gravity_system.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     components::{WELL_HEIGHT, WELL_WIDTH},
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/draw.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let color = if *debug { GRAY } else { block.color };
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `GameTypeMenu`, `LevelAndHeightMenu`, `HighScore`, `Ending`, and `Demo` are never constructed
[INFO] [stdout]   --> src/components.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum GameMode {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |     Title,
[INFO] [stdout] 11 |     GameTypeMenu,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 12 |     LevelAndHeightMenu,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     HighScore,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     Ending,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     Demo,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HARD_DROP_GRAVITY` is never used
[INFO] [stdout]   --> src/components.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const HARD_DROP_GRAVITY: f32 = 1.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `color` and `ghost_color` are never read
[INFO] [stdout]   --> src/components.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Tetromino {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub color: Color,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 67 |     pub ghost_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tetromino` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `surrounded_by_neighbours` is never used
[INFO] [stdout]    --> src/collision.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn surrounded_by_neighbours(placed: &Vec<Option<Block>>, x: usize, y: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `PIXELS_PER_UNIT`
[INFO] [stderr]  --> src/draw.rs:4:58
[INFO] [stderr]   |
[INFO] [stderr] 4 |     GameMode, ScorePopup, ENTRY_DELAY, LINE_CLEAR_DELAY, PIXELS_PER_UNIT, SCORE_TIMEOUT,
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Font`, `debug`, `draw_line`, and `get_fps`
[INFO] [stderr]   --> src/draw.rs:13:27
[INFO] [stderr]    |
[INFO] [stderr] 13 |         clear_background, debug, draw_circle, draw_line, draw_rectangle, draw_rectangle_lines,
[INFO] [stderr]    |                           ^^^^^               ^^^^^^^^^
[INFO] [stderr] 14 |         draw_text, draw_texture_ex, get_fps, measure_text, vec2, DrawTextureParams, Rect,
[INFO] [stderr]    |                                     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     text::{draw_text_ex, Font, TextDimensions, TextParams},
[INFO] [stderr]    |                          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BLUE`, `GREEN`, `ORANGE`, `PURPLE`, `RED`, `SKYBLUE`, `Vec2`, and `YELLOW`
[INFO] [stderr]  --> src/spawner.rs:5:65
[INFO] [stderr]   |
[INFO] [stderr] 5 |         const_mat3, const_mat4, debug, vec2, Color, Mat3, Mat4, Vec2, BLUE, GREEN, ORANGE, PURPLE,
[INFO] [stderr]   |                                                                 ^^^^  ^^^^  ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stderr] 6 |         RED, SKYBLUE, YELLOW,
[INFO] [stderr]   |         ^^^  ^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Gravity`
[INFO] [stderr]   --> src/spawner.rs:11:36
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::components::{GameState, Gravity, WELL_WIDTH};
[INFO] [stderr]    |                                    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HARD_DROP_GRAVITY` and `LOCK_DELAY`
[INFO] [stderr]  --> src/input.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |         HARD_DROP_GRAVITY, LOCK_DELAY, SOFT_DROP_GRAVITY,
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `WELL_WIDTH`
[INFO] [stderr]   --> src/input.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     WELL_WIDTH,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::components::LOCK_DELAY`
[INFO] [stderr]  --> src/collision.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::components::LOCK_DELAY;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debug`
[INFO] [stderr]  --> src/collision.rs:4:26
[INFO] [stderr]   |
[INFO] [stderr] 4 | use macroquad::prelude::{debug, Vec2};
[INFO] [stderr]   |                          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/collision.rs:87:5
[INFO] [stderr]    |
[INFO] [stderr] 87 |     (bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos))
[INFO] [stderr]    |     ^                                                                                    ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 87 -     (bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos))
[INFO] [stderr] 87 +     bottom_collision(tetromino, pos) || vertical_block_collision(placed, tetromino, pos) 
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `WELL_HEIGHT`
[INFO] [stderr]  --> src/gravity_system.rs:4:18
[INFO] [stderr]   |
[INFO] [stderr] 4 |     components::{WELL_HEIGHT, WELL_WIDTH},
[INFO] [stderr]   |                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color`
[INFO] [stderr]    --> src/draw.rs:266:21
[INFO] [stderr]     |
[INFO] [stderr] 266 |                 let color = if *debug { GRAY } else { block.color };
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `GameTypeMenu`, `LevelAndHeightMenu`, `HighScore`, `Ending`, and `Demo` are never constructed
[INFO] [stderr]   --> src/components.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub enum GameMode {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] 10 |     Title,
[INFO] [stderr] 11 |     GameTypeMenu,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 12 |     LevelAndHeightMenu,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     HighScore,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 16 |     Ending,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 17 |     Demo,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `HARD_DROP_GRAVITY` is never used
[INFO] [stderr]   --> src/components.rs:39:11
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub const HARD_DROP_GRAVITY: f32 = 1.0;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `color` and `ghost_color` are never read
[INFO] [stderr]   --> src/components.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub struct Tetromino {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 66 |     pub color: Color,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 67 |     pub ghost_color: Color,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Tetromino` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `surrounded_by_neighbours` is never used
[INFO] [stderr]    --> src/collision.rs:149:8
[INFO] [stderr]     |
[INFO] [stderr] 149 | pub fn surrounded_by_neighbours(placed: &Vec<Option<Block>>, x: usize, y: usize) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tetris-rs` (bin "tetris-rs" test) generated 15 warnings (run `cargo fix --bin "tetris-rs" -p tetris-rs --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tetris_rs-fa7688a753b98e2f)
[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" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8", kill_on_drop: false }`
[INFO] [stdout] f0f99f4e22fc90aec96e738042ce975061ed9d792651aa00b955135669b6e8e8
