[INFO] cloning repository https://github.com/swiftifcus/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swiftifcus/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswiftifcus%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswiftifcus%2Ftetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 146b9548f6c75bf5489d875a6fe8c7e9f01bab03 [INFO] checking swiftifcus/tetris against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswiftifcus%2Ftetris" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swiftifcus/tetris on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swiftifcus/tetris [INFO] finished tweaking git repo https://github.com/swiftifcus/tetris [INFO] tweaked toml for git repo https://github.com/swiftifcus/tetris written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/swiftifcus/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen v0.2.89 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded proc-macro2 v1.0.70 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.89 [INFO] [stderr] Downloaded js-sys v0.3.66 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.89 [INFO] [stderr] Downloaded libc v0.2.150 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 632d5e3aa76dd4c86cc0382cb013d8846912663e303e2f78bc06dcc0a97bb05b [INFO] running `Command { std: "docker" "start" "-a" "632d5e3aa76dd4c86cc0382cb013d8846912663e303e2f78bc06dcc0a97bb05b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "632d5e3aa76dd4c86cc0382cb013d8846912663e303e2f78bc06dcc0a97bb05b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632d5e3aa76dd4c86cc0382cb013d8846912663e303e2f78bc06dcc0a97bb05b", kill_on_drop: false }` [INFO] [stdout] 632d5e3aa76dd4c86cc0382cb013d8846912663e303e2f78bc06dcc0a97bb05b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84a6d5ea1395393332885d03169b1f342729d7f356445966675ff0c99c0286a9 [INFO] running `Command { std: "docker" "start" "-a" "84a6d5ea1395393332885d03169b1f342729d7f356445966675ff0c99c0286a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Checking tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Tetris` [INFO] [stdout] --> src/tetris.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | use super::Tetris; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/tetris.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tetris` is never constructed [INFO] [stdout] --> src/tetris.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tetris { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tetris` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tetris.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tetris { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_colliding(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_out_of_bounds(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_line_full(&self, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn iter_positions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, pos: Pos) -> Option<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn remove_line(&mut self, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn remove_full_lines(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn shift(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn rotate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/tetris.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter_positions`, `get`, `shift`, and `rotate` are never used [INFO] [stdout] --> src/tetris.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tetris { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn iter_positions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, pos: Pos) -> Option<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn shift(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn rotate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.16s [INFO] running `Command { std: "docker" "inspect" "84a6d5ea1395393332885d03169b1f342729d7f356445966675ff0c99c0286a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84a6d5ea1395393332885d03169b1f342729d7f356445966675ff0c99c0286a9", kill_on_drop: false }` [INFO] [stdout] 84a6d5ea1395393332885d03169b1f342729d7f356445966675ff0c99c0286a9 [INFO] checking swiftifcus/tetris against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswiftifcus%2Ftetris" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swiftifcus/tetris on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swiftifcus/tetris [INFO] finished tweaking git repo https://github.com/swiftifcus/tetris [INFO] tweaked toml for git repo https://github.com/swiftifcus/tetris written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/swiftifcus/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1a89dcf17a9ca51c43447129be86fe0041533c8bdbae57c0e09d1a4296156c0 [INFO] running `Command { std: "docker" "start" "-a" "d1a89dcf17a9ca51c43447129be86fe0041533c8bdbae57c0e09d1a4296156c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1a89dcf17a9ca51c43447129be86fe0041533c8bdbae57c0e09d1a4296156c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a89dcf17a9ca51c43447129be86fe0041533c8bdbae57c0e09d1a4296156c0", kill_on_drop: false }` [INFO] [stdout] d1a89dcf17a9ca51c43447129be86fe0041533c8bdbae57c0e09d1a4296156c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e265bc318aae7b99418fb1f1789033884387e5cde2f18f4549915b609d7fd953 [INFO] running `Command { std: "docker" "start" "-a" "e265bc318aae7b99418fb1f1789033884387e5cde2f18f4549915b609d7fd953", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Checking tetris v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/tetris.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter_positions`, `get`, `shift`, and `rotate` are never used [INFO] [stdout] --> src/tetris.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tetris { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn iter_positions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, pos: Pos) -> Option<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn shift(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn rotate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/tetris.rs (1 fix) [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/tetris.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tetris` is never constructed [INFO] [stdout] --> src/tetris.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tetris { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tetris` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tetris.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tetris { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_colliding(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_out_of_bounds(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_line_full(&self, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn iter_positions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, pos: Pos) -> Option<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn remove_line(&mut self, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn remove_full_lines(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn shift(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn rotate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.49s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking tetris v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tetris` [INFO] [stdout] --> src/tetris.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let mut tetris = Tetris::new(10, 30); [INFO] [stdout] | ^^^^^^ use of undeclared type `Tetris` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 133 + use crate::tetris::Tetris; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/tetris.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tetris` is never constructed [INFO] [stdout] --> src/tetris.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tetris { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tetris` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tetris.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tetris { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_colliding(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_out_of_bounds(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_line_full(&self, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn iter_positions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, pos: Pos) -> Option<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn remove_line(&mut self, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn remove_full_lines(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn shift(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn rotate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e265bc318aae7b99418fb1f1789033884387e5cde2f18f4549915b609d7fd953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e265bc318aae7b99418fb1f1789033884387e5cde2f18f4549915b609d7fd953", kill_on_drop: false }` [INFO] [stdout] e265bc318aae7b99418fb1f1789033884387e5cde2f18f4549915b609d7fd953