[INFO] cloning repository https://github.com/ddgone/Tetris-R [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddgone/Tetris-R" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddgone%2FTetris-R", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddgone%2FTetris-R'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8f0671c9b4e5885471c21e85ae762b76f028de3 [INFO] checking ddgone/Tetris-R against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddgone%2FTetris-R" "/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/ddgone/Tetris-R [INFO] finished tweaking git repo https://github.com/ddgone/Tetris-R [INFO] tweaked toml for git repo https://github.com/ddgone/Tetris-R written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ddgone/Tetris-R 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/ddgone/Tetris-R 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] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.181 [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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d [INFO] running `Command { std: "docker" "start" "b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d", 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" "b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d", 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" "b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking flate2 v1.1.9 [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 tetris-r v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> src/core/tetromino.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Tetromino { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_bounds(&self) -> (isize, isize, isize, isize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_game_over`, `get_row`, and `get_cells` are never used [INFO] [stdout] --> src/game/board.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_row(&self, row: usize) -> &[CellColor; BOARD_WIDTH] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_cells(&self) -> [[CellColor; BOARD_WIDTH]; BOARD_HEIGHT] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_pause` and `get_stats` are never used [INFO] [stdout] --> src/game/game.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn toggle_pause(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn get_stats(&self) -> GameStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameStats` is never constructed [INFO] [stdout] --> src/game/game.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct GameStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> src/core/tetromino.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Tetromino { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_bounds(&self) -> (isize, isize, isize, isize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_game_over`, `get_row`, and `get_cells` are never used [INFO] [stdout] --> src/game/board.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_row(&self, row: usize) -> &[CellColor; BOARD_WIDTH] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_cells(&self) -> [[CellColor; BOARD_WIDTH]; BOARD_HEIGHT] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_pause` and `get_stats` are never used [INFO] [stdout] --> src/game/game.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn toggle_pause(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn get_stats(&self) -> GameStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameStats` is never constructed [INFO] [stdout] --> src/game/game.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct GameStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.52s [INFO] running `Command { std: "docker" "inspect" "b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d", kill_on_drop: false }` [INFO] [stdout] b538b2baaa8f0abaee09be44f4695387ef973e18a8b387b7f2cdf8bae56f2f2d