[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 eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebarapp%2FWasmTetris" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/calebarapp/WasmTetris 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/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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "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: binary `wasm_tetris` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /workspace/builds/worker-7-tc1/source/target/.../wasm_tetris [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `wasm-tetris`, convert `package.name` [INFO] [stderr] --> Cargo.toml:9:8 [INFO] [stderr] | [INFO] [stderr] 9 - name = "wasm_tetris" [INFO] [stderr] 9 + name = "wasm-tetris" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `wasm-tetris`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:10:19 [INFO] [stderr] | [INFO] [stderr] 10 ~ version = "0.1.0" [INFO] [stderr] 11 + [[bin]] [INFO] [stderr] 12 + name = "wasm-tetris" [INFO] [stderr] 13 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `wasm_tetris` (manifest) generated 2 warnings [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808 [INFO] running `Command { std: "docker" "start" "9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808", 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" "9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808", 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" "9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "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: binary `wasm_tetris` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /opt/rustwide/target/.../wasm_tetris [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `wasm-tetris`, convert `package.name` [INFO] [stderr] --> Cargo.toml:9:8 [INFO] [stderr] | [INFO] [stderr] 9 - name = "wasm_tetris" [INFO] [stderr] 9 + name = "wasm-tetris" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `wasm-tetris`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:10:19 [INFO] [stderr] | [INFO] [stderr] 10 ~ version = "0.1.0" [INFO] [stderr] 11 + [[bin]] [INFO] [stderr] 12 + name = "wasm-tetris" [INFO] [stderr] 13 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `wasm_tetris` (manifest) generated 2 warnings [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [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: 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) -> 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: 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) -> 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 7.36s [INFO] running `Command { std: "docker" "inspect" "9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808", kill_on_drop: false }` [INFO] [stdout] 9041f4206593fb36ac244052e3fc6b81778fefb4a3bc6530104fa40c6b3af808