[INFO] cloning repository https://github.com/cszatma/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/cszatma/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcszatma%2Frust-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcszatma%2Frust-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0230613632e3388a3020ea59a950f294f8a67b32 [INFO] checking cszatma/rust-tetris against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcszatma%2Frust-tetris" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cszatma/rust-tetris on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cszatma/rust-tetris [INFO] finished tweaking git repo https://github.com/cszatma/rust-tetris [INFO] tweaked toml for git repo https://github.com/cszatma/rust-tetris written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/cszatma/rust-tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ca4d56dd46657f53649cca7a4a2c12a8715529f357e780138a2c9a889691ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "91ca4d56dd46657f53649cca7a4a2c12a8715529f357e780138a2c9a889691ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ca4d56dd46657f53649cca7a4a2c12a8715529f357e780138a2c9a889691ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ca4d56dd46657f53649cca7a4a2c12a8715529f357e780138a2c9a889691ed", kill_on_drop: false }` [INFO] [stdout] 91ca4d56dd46657f53649cca7a4a2c12a8715529f357e780138a2c9a889691ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 941ad60c0cfe45cd3e78a33a5ccb1177ac80baba3d5ec06e078bc722ee4e2ae2 [INFO] running `Command { std: "docker" "start" "-a" "941ad60c0cfe45cd3e78a33a5ccb1177ac80baba3d5ec06e078bc722ee4e2ae2", kill_on_drop: false }` [INFO] [stderr] Checking rust-tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tetrimino::Tetrimino` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tetrimino::Tetrimino; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tetrimino::Tetrimino` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tetrimino::Tetrimino; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tetrimino.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | let (x, y) = self.position; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tetrimino.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let (x, y) = self.position; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tetrimino.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | let (x, y) = self.position; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tetrimino.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let (x, y) = self.position; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut game = Game::init(input[0][1].parse().unwrap(), input[0][2].parse().unwrap()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut game = Game::init(input[0][1].parse().unwrap(), input[0][2].parse().unwrap()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_piece` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | current_piece: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `points` [INFO] [stdout] --> src/tetrimino.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | points: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/tetrimino.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | position: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symbol` [INFO] [stdout] --> src/tetrimino.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | symbol: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/tetrimino.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init(type_num: i32, position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_one` [INFO] [stdout] --> src/tetrimino.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn type_one(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_two` [INFO] [stdout] --> src/tetrimino.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn type_two(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_three` [INFO] [stdout] --> src/tetrimino.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn type_three(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_four` [INFO] [stdout] --> src/tetrimino.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn type_four(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_piece` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | current_piece: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_five` [INFO] [stdout] --> src/tetrimino.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn type_five(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `points` [INFO] [stdout] --> src/tetrimino.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | points: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_six` [INFO] [stdout] --> src/tetrimino.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn type_six(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/tetrimino.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | position: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_seven` [INFO] [stdout] --> src/tetrimino.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn type_seven(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symbol` [INFO] [stdout] --> src/tetrimino.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | symbol: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pos_on_board` [INFO] [stdout] --> src/tetrimino.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_pos_on_board(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/tetrimino.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init(type_num: i32, position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_one` [INFO] [stdout] --> src/tetrimino.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn type_one(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_x_values` [INFO] [stdout] --> src/tetrimino.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_x_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_y_values` [INFO] [stdout] --> src/tetrimino.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_y_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_two` [INFO] [stdout] --> src/tetrimino.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn type_two(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_move` [INFO] [stdout] --> src/tetrimino.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn perform_move(&mut self, board: &Board, move_str: String) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_three` [INFO] [stdout] --> src/tetrimino.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn type_three(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_four` [INFO] [stdout] --> src/tetrimino.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn type_four(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shift_horizontally` [INFO] [stdout] --> src/tetrimino.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn shift_horizontally(&mut self, board: &Board, direction: String) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_five` [INFO] [stdout] --> src/tetrimino.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn type_five(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shift_down` [INFO] [stdout] --> src/tetrimino.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn shift_down(&mut self, board: &Board) -> Status { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_six` [INFO] [stdout] --> src/tetrimino.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn type_six(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_seven` [INFO] [stdout] --> src/tetrimino.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn type_seven(position: (i32, i32)) -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_drop` [INFO] [stdout] --> src/tetrimino.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn perform_drop(&mut self, board: &Board) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pos_on_board` [INFO] [stdout] --> src/tetrimino.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_pos_on_board(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_on_bottom` [INFO] [stdout] --> src/tetrimino.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_on_bottom(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_x_values` [INFO] [stdout] --> src/tetrimino.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_x_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `piece_does_overlap` [INFO] [stdout] --> src/tetrimino.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn piece_does_overlap(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_out_of_bounds` [INFO] [stdout] --> src/tetrimino.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn is_out_of_bounds(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `values_at_positions` [INFO] [stdout] --> src/board.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn values_at_positions(&self, positions: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_y_values` [INFO] [stdout] --> src/tetrimino.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_y_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_piece_at_positions` [INFO] [stdout] --> src/board.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn has_piece_at_positions(&self, positions: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_move` [INFO] [stdout] --> src/tetrimino.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn perform_move(&mut self, board: &Board, move_str: String) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_of_rows` [INFO] [stdout] --> src/board.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn num_of_rows(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shift_horizontally` [INFO] [stdout] --> src/tetrimino.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn shift_horizontally(&mut self, board: &Board, direction: String) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ok` [INFO] [stdout] --> src/status.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shift_down` [INFO] [stdout] --> src/tetrimino.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn shift_down(&mut self, board: &Board) -> Status { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Failed` [INFO] [stdout] --> src/status.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_drop` [INFO] [stdout] --> src/tetrimino.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn perform_drop(&mut self, board: &Board) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Placed` [INFO] [stdout] --> src/status.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Placed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_on_bottom` [INFO] [stdout] --> src/tetrimino.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_on_bottom(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `piece_does_overlap` [INFO] [stdout] --> src/tetrimino.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn piece_does_overlap(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_out_of_bounds` [INFO] [stdout] --> src/tetrimino.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn is_out_of_bounds(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `values_at_positions` [INFO] [stdout] --> src/board.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn values_at_positions(&self, positions: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_piece_at_positions` [INFO] [stdout] --> src/board.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn has_piece_at_positions(&self, positions: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_of_rows` [INFO] [stdout] --> src/board.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn num_of_rows(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ok` [INFO] [stdout] --> src/status.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Failed` [INFO] [stdout] --> src/status.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Placed` [INFO] [stdout] --> src/status.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Placed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "941ad60c0cfe45cd3e78a33a5ccb1177ac80baba3d5ec06e078bc722ee4e2ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941ad60c0cfe45cd3e78a33a5ccb1177ac80baba3d5ec06e078bc722ee4e2ae2", kill_on_drop: false }` [INFO] [stdout] 941ad60c0cfe45cd3e78a33a5ccb1177ac80baba3d5ec06e078bc722ee4e2ae2