[INFO] cloning repository https://github.com/alice3589/Rust_Tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alice3589/Rust_Tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falice3589%2FRust_Tetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falice3589%2FRust_Tetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 49ccaf8e37c5a4107d9e892cd10401d1127ba931
[INFO] checking alice3589/Rust_Tetris against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falice3589%2FRust_Tetris" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alice3589/Rust_Tetris
[INFO] finished tweaking git repo https://github.com/alice3589/Rust_Tetris
[INFO] tweaked toml for git repo https://github.com/alice3589/Rust_Tetris written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alice3589/Rust_Tetris on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alice3589/Rust_Tetris 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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] 35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb
[INFO] running `Command { std: "docker" "start" "35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb", 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" "35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb", 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" "35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking Rust_Tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `FIELD_W` is never used
[INFO] [stdout]  --> src/main.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const FIELD_W: usize = 10;
[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 `FIELD_W` is never used
[INFO] [stdout]  --> src/main.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const FIELD_W: usize = 10;
[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 `FIELD_H` is never used
[INFO] [stdout]  --> src/main.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const FIELD_H: usize = 20;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPAWN_X` is never used
[INFO] [stdout]  --> src/main.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const SPAWN_X: i32 = 4;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIELD_H` is never used
[INFO] [stdout]  --> src/main.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const FIELD_H: usize = 20;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPAWN_Y` is never used
[INFO] [stdout]  --> src/main.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const SPAWN_Y: i32 = 0;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPAWN_X` is never used
[INFO] [stdout]  --> src/main.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const SPAWN_X: i32 = 4;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TICK_MS_BASE` is never used
[INFO] [stdout]  --> src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const TICK_MS_BASE: u64 = 1000;
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPAWN_Y` is never used
[INFO] [stdout]  --> src/main.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const SPAWN_Y: i32 = 0;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Cell` is never used
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Cell = Option<u8>;
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coord` is never constructed
[INFO] [stdout]  --> src/main.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Coord {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ActivePiece` is never constructed
[INFO] [stdout]   --> src/main.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct ActivePiece {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Field` is never constructed
[INFO] [stdout]   --> src/main.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Field {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TICK_MS_BASE` is never used
[INFO] [stdout]  --> src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const TICK_MS_BASE: u64 = 1000;
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bag` is never constructed
[INFO] [stdout]   --> src/main.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Bag {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameState` is never constructed
[INFO] [stdout]   --> src/main.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct GameState {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Cell` is never used
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Cell = Option<u8>;
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PieceKind` is never used
[INFO] [stdout]   --> src/main.rs:47:6
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum PieceKind {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coord` is never constructed
[INFO] [stdout]  --> src/main.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Coord {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Rotation` is never used
[INFO] [stdout]   --> src/main.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | enum Rotation {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ActivePiece` is never constructed
[INFO] [stdout]   --> src/main.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct ActivePiece {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Field` is never constructed
[INFO] [stdout]   --> src/main.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Field {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bag` is never constructed
[INFO] [stdout]   --> src/main.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Bag {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameState` is never constructed
[INFO] [stdout]   --> src/main.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct GameState {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PieceKind` is never used
[INFO] [stdout]   --> src/main.rs:47:6
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum PieceKind {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Rotation` is never used
[INFO] [stdout]   --> src/main.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | enum Rotation {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb", kill_on_drop: false }`
[INFO] [stdout] 35fbab7dd537f8b9f01339c4d4c40e77dd850554021bc11227c345866aacfbfb
