[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 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebarapp%2FWasmTetris" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/calebarapp/WasmTetris on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953 [INFO] running `Command { std: "docker" "start" "95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953", 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" "95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953", 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" "95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "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] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.9.3 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.87s [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: 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: 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) -> 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: 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) -> 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] running `Command { std: "docker" "inspect" "95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953", kill_on_drop: false }` [INFO] [stdout] 95b4e679b74d969ad7b77e25389bd48fcc9a5b259c20b6940ac9c78769531953