[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcszatma%2Frust-tetris" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cszatma/rust-tetris on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 765d6bc019ba2e7b0add7dde33d712bcb2229c1cb885c48d9a7c6b1490eeffb8 [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" "765d6bc019ba2e7b0add7dde33d712bcb2229c1cb885c48d9a7c6b1490eeffb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "765d6bc019ba2e7b0add7dde33d712bcb2229c1cb885c48d9a7c6b1490eeffb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765d6bc019ba2e7b0add7dde33d712bcb2229c1cb885c48d9a7c6b1490eeffb8", kill_on_drop: false }` [INFO] [stdout] 765d6bc019ba2e7b0add7dde33d712bcb2229c1cb885c48d9a7c6b1490eeffb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cb7c643ae12c2f2413ee599d5d9b8dd39543415d0dfa5c753c8818d9bf7da0a [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" "2cb7c643ae12c2f2413ee599d5d9b8dd39543415d0dfa5c753c8818d9bf7da0a", 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: 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: 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: `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: `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: `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: `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: `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: `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: `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: `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: 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: 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: 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: `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: `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: `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: `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: `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: `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: `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: `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2cb7c643ae12c2f2413ee599d5d9b8dd39543415d0dfa5c753c8818d9bf7da0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb7c643ae12c2f2413ee599d5d9b8dd39543415d0dfa5c753c8818d9bf7da0a", kill_on_drop: false }` [INFO] [stdout] 2cb7c643ae12c2f2413ee599d5d9b8dd39543415d0dfa5c753c8818d9bf7da0a