[INFO] cloning repository https://github.com/ToghrolTP/rusty_tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ToghrolTP/rusty_tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToghrolTP%2Frusty_tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToghrolTP%2Frusty_tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eadd7ef83fc8a77d74493aaf266feb52da0c5630 [INFO] checking ToghrolTP/rusty_tetris against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToghrolTP%2Frusty_tetris" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ToghrolTP/rusty_tetris [INFO] finished tweaking git repo https://github.com/ToghrolTP/rusty_tetris [INFO] tweaked toml for git repo https://github.com/ToghrolTP/rusty_tetris written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ToghrolTP/rusty_tetris on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ToghrolTP/rusty_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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0435ab57f7da890b9e8c45c987086937d101b6755bca2f541063c558f1eedec5 [INFO] running `Command { std: "docker" "start" "-a" "0435ab57f7da890b9e8c45c987086937d101b6755bca2f541063c558f1eedec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0435ab57f7da890b9e8c45c987086937d101b6755bca2f541063c558f1eedec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0435ab57f7da890b9e8c45c987086937d101b6755bca2f541063c558f1eedec5", kill_on_drop: false }` [INFO] [stdout] 0435ab57f7da890b9e8c45c987086937d101b6755bca2f541063c558f1eedec5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6033199db9ac66e77ef1fd6e98c1e3f42c5f0d3d8134b56fa8b1be723b408545 [INFO] running `Command { std: "docker" "start" "-a" "6033199db9ac66e77ef1fd6e98c1e3f42c5f0d3d8134b56fa8b1be723b408545", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking tmp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `style::PrintStyledContent` [INFO] [stdout] --> src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | event::{poll, read, Event, KeyCode}, style::PrintStyledContent, terminal [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 import: `style::PrintStyledContent` [INFO] [stdout] --> src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | event::{poll, read, Event, KeyCode}, style::PrintStyledContent, terminal [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(mut piece) = self.active_piece { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(mut piece) = self.active_piece { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I`, `J`, `O`, `S`, `T`, and `Z` are never constructed [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | enum TetrominoKind { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 63 | I, [INFO] [stdout] | ^ [INFO] [stdout] 64 | L, [INFO] [stdout] 65 | J, [INFO] [stdout] | ^ [INFO] [stdout] 66 | O, [INFO] [stdout] | ^ [INFO] [stdout] 67 | S, [INFO] [stdout] | ^ [INFO] [stdout] 68 | T, [INFO] [stdout] | ^ [INFO] [stdout] 69 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TetrominoKind` has derived impls for the traits `Debug` and `Clone`, 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: method `rotate_piece` is never used [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn rotate_piece(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(mut piece) = self.active_piece { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(mut piece) = self.active_piece { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I`, `J`, `O`, `S`, `T`, and `Z` are never constructed [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | enum TetrominoKind { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 63 | I, [INFO] [stdout] | ^ [INFO] [stdout] 64 | L, [INFO] [stdout] 65 | J, [INFO] [stdout] | ^ [INFO] [stdout] 66 | O, [INFO] [stdout] | ^ [INFO] [stdout] 67 | S, [INFO] [stdout] | ^ [INFO] [stdout] 68 | T, [INFO] [stdout] | ^ [INFO] [stdout] 69 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TetrominoKind` has derived impls for the traits `Debug` and `Clone`, 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: method `rotate_piece` is never used [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn rotate_piece(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `Command { std: "docker" "inspect" "6033199db9ac66e77ef1fd6e98c1e3f42c5f0d3d8134b56fa8b1be723b408545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6033199db9ac66e77ef1fd6e98c1e3f42c5f0d3d8134b56fa8b1be723b408545", kill_on_drop: false }` [INFO] [stdout] 6033199db9ac66e77ef1fd6e98c1e3f42c5f0d3d8134b56fa8b1be723b408545