[INFO] cloning repository https://github.com/calebarapp/WasmTetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/calebarapp/WasmTetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebarapp%2FWasmTetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebarapp%2FWasmTetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ce6880a086b595678ba25c4e7586b9eb233b3c3
[INFO] checking calebarapp/WasmTetris against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebarapp%2FWasmTetris" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/calebarapp/WasmTetris
[INFO] finished tweaking git repo https://github.com/calebarapp/WasmTetris
[INFO] tweaked toml for git repo https://github.com/calebarapp/WasmTetris written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/calebarapp/WasmTetris on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/calebarapp/WasmTetris 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: alias
[INFO] [stderr] help: alias is a valid .cargo/config.toml key
[INFO] [stderr] warning: `wasm_tetris` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytemuck v1.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee
[INFO] running `Command { std: "docker" "start" "e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee", 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" "e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee", 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" "e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: alias
[INFO] [stderr] help: alias is a valid .cargo/config.toml key
[INFO] [stderr] warning: `wasm_tetris` (manifest) generated 1 warning
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking miniquad v0.4.8
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking wasm_tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/board.rs:81:24
[INFO] [stdout]    |
[INFO] [stdout] 81 |             for col in (0..col_cnt as i32) {
[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] 81 -             for col in (0..col_cnt as i32) {
[INFO] [stdout] 81 +             for col in 0..col_cnt as i32 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/board.rs:123:20
[INFO] [stdout]     |
[INFO] [stdout] 123 |         for col in (0..GRID_W as i32) {
[INFO] [stdout]     |                    ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 123 -         for col in (0..GRID_W as i32) {
[INFO] [stdout] 123 +         for col in 0..GRID_W as i32 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::button::*`
[INFO] [stdout]  --> src/game.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::button::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/board.rs:81:24
[INFO] [stdout]    |
[INFO] [stdout] 81 |             for col in (0..col_cnt as i32) {
[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] 81 -             for col in (0..col_cnt as i32) {
[INFO] [stdout] 81 +             for col in 0..col_cnt as i32 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/board.rs:123:20
[INFO] [stdout]     |
[INFO] [stdout] 123 |         for col in (0..GRID_W as i32) {
[INFO] [stdout]     |                    ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 123 -         for col in (0..GRID_W as i32) {
[INFO] [stdout] 123 +         for col in 0..GRID_W as i32 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::button::*`
[INFO] [stdout]  --> src/game.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::button::*;
[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 variable: `piece`
[INFO] [stdout]   --> src/board.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn piece_surrounded(&self, piece: &Piece ) -> bool {
[INFO] [stdout]    |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]    --> src/render.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn draw_buttons(game:&GameState ) {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]   --> src/board.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Board {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 24 |     height: usize,
[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 `HardDrop` is never constructed
[INFO] [stdout]   --> src/game.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Actions {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     HardDrop,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Button` is never constructed
[INFO] [stdout]  --> src/button.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Button {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `contains`, `draw`, and `clicked` are never used
[INFO] [stdout]   --> src/button.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Button {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(x: f32, y: f32, h: f32, w: f32, label: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn contains(&self, mx: f32, my: f32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn draw(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn clicked(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]   --> src/board.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn piece_surrounded(&self, piece: &Piece ) -> bool {
[INFO] [stdout]    |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]    --> src/render.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn draw_buttons(game:&GameState ) {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]   --> src/board.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Board {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 24 |     height: usize,
[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 `HardDrop` is never constructed
[INFO] [stdout]   --> src/game.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Actions {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     HardDrop,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Button` is never constructed
[INFO] [stdout]  --> src/button.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Button {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `contains`, `draw`, and `clicked` are never used
[INFO] [stdout]   --> src/button.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Button {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(x: f32, y: f32, h: f32, w: f32, label: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn contains(&self, mx: f32, my: f32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn draw(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn clicked(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.88s
[INFO] running `Command { std: "docker" "inspect" "e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee", kill_on_drop: false }`
[INFO] [stdout] e803e41bd2e02c4c8f1d731f22133c507bd8fe09f94c958dd14bca38044b45ee
