[INFO] cloning repository https://github.com/peter-lucia/tetris_engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peter-lucia/tetris_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter-lucia%2Ftetris_engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter-lucia%2Ftetris_engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d2f4c4850ed527a8a331cafa258bd90d8a35a181
[INFO] checking peter-lucia/tetris_engine against master#b286722878e18db29a7fbe672be7c4d3b02e8e4d for pr-127655
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter-lucia%2Ftetris_engine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/peter-lucia/tetris_engine on toolchain b286722878e18db29a7fbe672be7c4d3b02e8e4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/peter-lucia/tetris_engine
[INFO] finished tweaking git repo https://github.com/peter-lucia/tetris_engine
[INFO] tweaked toml for git repo https://github.com/peter-lucia/tetris_engine written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/peter-lucia/tetris_engine 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" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6964e27b6d86784db02645454e86eac4137e0e4c716acc2ccabec985bb98e86c
[INFO] running `Command { std: "docker" "start" "-a" "6964e27b6d86784db02645454e86eac4137e0e4c716acc2ccabec985bb98e86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6964e27b6d86784db02645454e86eac4137e0e4c716acc2ccabec985bb98e86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6964e27b6d86784db02645454e86eac4137e0e4c716acc2ccabec985bb98e86c", kill_on_drop: false }`
[INFO] [stdout] 6964e27b6d86784db02645454e86eac4137e0e4c716acc2ccabec985bb98e86c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56470d5ec13bd1fdc4d1219b543fee00aff58fce720e0cd73899aaa5b8a28d57
[INFO] running `Command { std: "docker" "start" "-a" "56470d5ec13bd1fdc4d1219b543fee00aff58fce720e0cd73899aaa5b8a28d57", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling target-lexicon v0.12.5
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling once_cell v1.16.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking traitobject v0.1.0
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]     Checking unsafe-any v0.4.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking typemap v0.3.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking arc-swap v1.5.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking unindent v0.1.10
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling indoc v1.0.7
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling pyo3-build-config v0.17.3
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking thread-id v4.0.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ordered-float v2.10.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]    Compiling pyo3-ffi v0.17.3
[INFO] [stderr]    Compiling pyo3 v0.17.3
[INFO] [stderr]    Compiling pyo3-macros-backend v0.17.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]    Compiling pyo3-macros v0.17.3
[INFO] [stderr]     Checking serde_yaml v0.8.24
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking log4rs v1.1.1
[INFO] [stderr]     Checking tetris_engine_backend v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/well.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut tetris = Tetris::new();
[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/tetromino.rs:360:13
[INFO] [stdout]     |
[INFO] [stdout] 360 |         let mut expected_result =
[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/tetromino.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let mut expected_result =
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tetromino.rs:436:13
[INFO] [stdout]     |
[INFO] [stdout] 436 |         let mut expected_result =
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/well.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut tetris = Tetris::new();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/well.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut tetris = Tetris::new();
[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/tetromino.rs:360:13
[INFO] [stdout]     |
[INFO] [stdout] 360 |         let mut expected_result =
[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/tetromino.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let mut expected_result =
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tetromino.rs:436:13
[INFO] [stdout]     |
[INFO] [stdout] 436 |         let mut expected_result =
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/well.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut tetris = Tetris::new();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/well.rs:237:38
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn render_game_status(&mut self, status: &str) {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> src/well.rs:240:32
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn render_score(&mut self, score: i32) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/well.rs:287:21
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 for x in 1..self.grid[y].len()-1 {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/well.rs:237:38
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn render_game_status(&mut self, status: &str) {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> src/well.rs:240:32
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn render_score(&mut self, score: i32) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/well.rs:287:21
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 for x in 1..self.grid[y].len()-1 {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_alt` is never used
[INFO] [stdout]    --> src/tetromino.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn rotate_alt(t: &mut Tetromino) -> () {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `make_t` is never used
[INFO] [stdout]    --> src/tetromino.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub trait TetrominoT {
[INFO] [stdout]     |           ---------- associated function in this trait
[INFO] [stdout] 278 |     fn make_t() -> Self;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_game` is never used
[INFO] [stdout]   --> src/well.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn read_game() -> Well {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_game` is never used
[INFO] [stdout]   --> src/well.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn write_game(_well: Well) -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_game_multithreaded` is never used
[INFO] [stdout]   --> src/well.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn start_game_multithreaded() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Up` is never constructed
[INFO] [stdout]   --> src/well.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum Direction {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 76 |     Up,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_direction` is never used
[INFO] [stdout]   --> src/well.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn random_direction() -> Direction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/well.rs:237:38
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn render_game_status(&mut self, status: &str) {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> src/well.rs:240:32
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn render_score(&mut self, score: i32) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/well.rs:287:21
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 for x in 1..self.grid[y].len()-1 {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_alt` is never used
[INFO] [stdout]    --> src/tetromino.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn rotate_alt(t: &mut Tetromino) -> () {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `make_t` is never used
[INFO] [stdout]    --> src/tetromino.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub trait TetrominoT {
[INFO] [stdout]     |           ---------- associated function in this trait
[INFO] [stdout] 278 |     fn make_t() -> Self;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_rotate_90_basic` is never used
[INFO] [stdout]    --> src/tetromino.rs:368:8
[INFO] [stdout]     |
[INFO] [stdout] 368 |     fn test_rotate_90_basic() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_game` is never used
[INFO] [stdout]   --> src/well.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn read_game() -> Well {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_game` is never used
[INFO] [stdout]   --> src/well.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn write_game(_well: Well) -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_game_multithreaded` is never used
[INFO] [stdout]   --> src/well.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn start_game_multithreaded() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Up` is never constructed
[INFO] [stdout]   --> src/well.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum Direction {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 76 |     Up,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_direction` is never used
[INFO] [stdout]   --> src/well.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn random_direction() -> Direction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/well.rs:237:38
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn render_game_status(&mut self, status: &str) {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> src/well.rs:240:32
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn render_score(&mut self, score: i32) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/well.rs:287:21
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 for x in 1..self.grid[y].len()-1 {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/well.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let _ = mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]   --> src/lib.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn setup_tetris(py: Python<'_>, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/well.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |         fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let _ = fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/well.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let _ = mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_alt` is never used
[INFO] [stdout]    --> src/tetromino.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn rotate_alt(t: &mut Tetromino) -> () {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/well.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |         fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let _ = fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `make_t` is never used
[INFO] [stdout]    --> src/tetromino.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub trait TetrominoT {
[INFO] [stdout]     |           ---------- associated function in this trait
[INFO] [stdout] 278 |     fn make_t() -> Self;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Up` is never constructed
[INFO] [stdout]   --> src/well.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum Direction {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 76 |     Up,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_direction` is never used
[INFO] [stdout]   --> src/well.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn random_direction() -> Direction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_game` is never used
[INFO] [stdout]    --> src/well.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub trait Tetris {
[INFO] [stdout]     |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn run_game(&mut self) -> ();
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]   --> src/lib.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn setup_tetris(py: Python<'_>, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_alt` is never used
[INFO] [stdout]    --> src/tetromino.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn rotate_alt(t: &mut Tetromino) -> () {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `make_t` is never used
[INFO] [stdout]    --> src/tetromino.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub trait TetrominoT {
[INFO] [stdout]     |           ---------- associated function in this trait
[INFO] [stdout] 278 |     fn make_t() -> Self;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_rotate_90_basic` is never used
[INFO] [stdout]    --> src/tetromino.rs:368:8
[INFO] [stdout]     |
[INFO] [stdout] 368 |     fn test_rotate_90_basic() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Up` is never constructed
[INFO] [stdout]   --> src/well.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum Direction {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 76 |     Up,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_direction` is never used
[INFO] [stdout]   --> src/well.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn random_direction() -> Direction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_game` is never used
[INFO] [stdout]    --> src/well.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub trait Tetris {
[INFO] [stdout]     |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn run_game(&mut self) -> ();
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/well.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let _ = mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/well.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |         fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let _ = fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/well.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let _ = mem::replace(&mut *hashmap_guard, _well.clone());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/well.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |         fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let _ = fs::write(HIGH_SCORE_FILENAME, high_score.to_string());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.93s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "56470d5ec13bd1fdc4d1219b543fee00aff58fce720e0cd73899aaa5b8a28d57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56470d5ec13bd1fdc4d1219b543fee00aff58fce720e0cd73899aaa5b8a28d57", kill_on_drop: false }`
[INFO] [stdout] 56470d5ec13bd1fdc4d1219b543fee00aff58fce720e0cd73899aaa5b8a28d57
