[INFO] cloning repository https://github.com/alankshi/modern-tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alankshi/modern-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falankshi%2Fmodern-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falankshi%2Fmodern-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84653ea567423258757efd88f82bb9344ba95230 [INFO] checking alankshi/modern-tetris against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falankshi%2Fmodern-tetris" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alankshi/modern-tetris [INFO] finished tweaking git repo https://github.com/alankshi/modern-tetris [INFO] tweaked toml for git repo https://github.com/alankshi/modern-tetris written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alankshi/modern-tetris on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alankshi/modern-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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69935746fbde431570d9cb7cb1ccaf94dc4ade7a7237acaf048c71be6f03f72a [INFO] running `Command { std: "docker" "start" "-a" "69935746fbde431570d9cb7cb1ccaf94dc4ade7a7237acaf048c71be6f03f72a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69935746fbde431570d9cb7cb1ccaf94dc4ade7a7237acaf048c71be6f03f72a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69935746fbde431570d9cb7cb1ccaf94dc4ade7a7237acaf048c71be6f03f72a", kill_on_drop: false }` [INFO] [stdout] 69935746fbde431570d9cb7cb1ccaf94dc4ade7a7237acaf048c71be6f03f72a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2cb8b9420ca4a3576cd9ff5b7ecffc2500fd72b0ae39678c3b2a3692175f1ce [INFO] running `Command { std: "docker" "start" "-a" "c2cb8b9420ca4a3576cd9ff5b7ecffc2500fd72b0ae39678c3b2a3692175f1ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking modern-tetris v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/game/controller.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Game, TetrisError, TetrisGame}; [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: `cell::RefMut` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{cell::RefMut, collections::VecDeque}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefMut` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{cell::RefMut, collections::VecDeque}; [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 imports: `Controllable` and `piece` [INFO] [stdout] --> src/lib.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | use crate::{Controllable, Game, TetrisGame, piece}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines_cleared` [INFO] [stdout] --> src/board/drop.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let lines_cleared = self.clear_lines(piece); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lines_cleared` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/piece/rotation.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_offsets(piece: &Piece, direction: RotationDirection) -> impl Iterator { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/piece/rotation.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_offsets(piece: &Piece, direction: RotationDirection) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/bag.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bag { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn size(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RotationDirection` is never used [INFO] [stdout] --> src/piece/rotation.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum RotationDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_offsets` is never used [INFO] [stdout] --> src/piece/rotation.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_offsets(piece: &Piece, direction: RotationDirection) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines_cleared` [INFO] [stdout] --> src/board/drop.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let lines_cleared = self.clear_lines(piece); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lines_cleared` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/piece/rotation.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_offsets(piece: &Piece, direction: RotationDirection) -> impl Iterator { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/piece/rotation.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_offsets(piece: &Piece, direction: RotationDirection) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/bag.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bag { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn size(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RotationDirection` is never used [INFO] [stdout] --> src/piece/rotation.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum RotationDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_offsets` is never used [INFO] [stdout] --> src/piece/rotation.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_offsets(piece: &Piece, direction: RotationDirection) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.19s [INFO] running `Command { std: "docker" "inspect" "c2cb8b9420ca4a3576cd9ff5b7ecffc2500fd72b0ae39678c3b2a3692175f1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2cb8b9420ca4a3576cd9ff5b7ecffc2500fd72b0ae39678c3b2a3692175f1ce", kill_on_drop: false }` [INFO] [stdout] c2cb8b9420ca4a3576cd9ff5b7ecffc2500fd72b0ae39678c3b2a3692175f1ce