[INFO] cloning repository https://github.com/ldokduy20/blockblast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ldokduy20/blockblast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldokduy20%2Fblockblast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldokduy20%2Fblockblast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c078c84ab871e035f02f8232681b9f5e972e9da [INFO] checking ldokduy20/blockblast against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldokduy20%2Fblockblast" "/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/ldokduy20/blockblast [INFO] finished tweaking git repo https://github.com/ldokduy20/blockblast [INFO] tweaked toml for git repo https://github.com/ldokduy20/blockblast written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ldokduy20/blockblast 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/ldokduy20/blockblast 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] 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] 669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa [INFO] running `Command { std: "docker" "start" "669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa", 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" "669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa", 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" "669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking miniquad v0.4.8 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking blockblast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `GAME_BOARD_W` is never used [INFO] [stdout] --> src/board.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const GAME_BOARD_W: usize = 5; [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 `GAME_BOARD_H` is never used [INFO] [stdout] --> src/board.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const GAME_BOARD_H: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINTS_PER_LINE` is never used [INFO] [stdout] --> src/board.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const POINTS_PER_LINE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_BOARD` is never used [INFO] [stdout] --> src/board.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const EMPTY_BOARD: [[BlockState; 5]; 5] = [[BlockState::Empty; GAME_BOARD_W]; GAME_BOARD_H]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockColor` is never used [INFO] [stdout] --> src/board.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum BlockColor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockState` is never used [INFO] [stdout] --> src/board.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum BlockState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/board.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `clear_full_lines`, and `is_full` are never used [INFO] [stdout] --> src/board.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 28 | /// Constructs a new `Board` [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear_full_lines(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Piece` is never constructed [INFO] [stdout] --> src/piece.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Piece { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/piece.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | /// Constructs a new Piece [INFO] [stdout] 11 | pub fn new(color: BlockColor, kind: PieceKind) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PieceKind` is never used [INFO] [stdout] --> src/piece.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum PieceKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PieceRotation` is never used [INFO] [stdout] --> src/piece.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | enum PieceRotation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue`, `Yellow`, `Green`, and `Purple` are never constructed [INFO] [stdout] --> src/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum BlockColor { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | Cyan, [INFO] [stdout] 9 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Orange, [INFO] [stdout] 11 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Purple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Piece` is never constructed [INFO] [stdout] --> src/piece.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Piece { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/piece.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | /// Constructs a new Piece [INFO] [stdout] 11 | pub fn new(color: BlockColor, kind: PieceKind) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PieceKind` is never used [INFO] [stdout] --> src/piece.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum PieceKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PieceRotation` is never used [INFO] [stdout] --> src/piece.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | enum PieceRotation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.78s [INFO] running `Command { std: "docker" "inspect" "669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa", kill_on_drop: false }` [INFO] [stdout] 669ef3e7a401606338539ce0b8ff1b40e445f907c9d98ddb6f9b0196e070dbaa