[INFO] cloning repository https://github.com/Nyanguy/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/Nyanguy/rust.tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyanguy%2Frust.tetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyanguy%2Frust.tetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b94fdfe31a31d33ebd4511a2b1b854eb6a5f986
[INFO] checking Nyanguy/rust.tetris against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyanguy%2Frust.tetris" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Nyanguy/rust.tetris
[INFO] finished tweaking git repo https://github.com/Nyanguy/rust.tetris
[INFO] tweaked toml for git repo https://github.com/Nyanguy/rust.tetris written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Nyanguy/rust.tetris on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Nyanguy/rust.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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 354cdd442d57a5ef561dc4930bc57dfa2f0e1c9e4beaaeb900cfee68a3118cad
[INFO] running `Command { std: "docker" "start" "-a" "354cdd442d57a5ef561dc4930bc57dfa2f0e1c9e4beaaeb900cfee68a3118cad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "354cdd442d57a5ef561dc4930bc57dfa2f0e1c9e4beaaeb900cfee68a3118cad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "354cdd442d57a5ef561dc4930bc57dfa2f0e1c9e4beaaeb900cfee68a3118cad", kill_on_drop: false }`
[INFO] [stdout] 354cdd442d57a5ef561dc4930bc57dfa2f0e1c9e4beaaeb900cfee68a3118cad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6741fa14d86594616d24b2762326d796d121b083d5127a82e4ac742309e1b82d
[INFO] running `Command { std: "docker" "start" "-a" "6741fa14d86594616d24b2762326d796d121b083d5127a82e4ac742309e1b82d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling sdl2 v0.33.0
[INFO] [stderr]    Compiling sdl2-sys v0.33.0
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rust_tetris v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/engine/text.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Rect`
[INFO] [stdout]  --> src/runtime_logic/menu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::rect::Rect;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `rect`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | macro_rules! rect(
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/runtime_logic/tetris.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Distribution`, `Rng`, and `Standard`
[INFO] [stdout]  --> src/runtime_logic/tetris.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{distributions::{Distribution, Standard}, Rng};
[INFO] [stdout]   |                            ^^^^^^^^^^^^  ^^^^^^^^   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rect::Rect`
[INFO] [stdout]  --> src/runtime_logic/tetris.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     rect::Rect,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/runtime_logic/field.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/runtime_logic/field.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/engine/text.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Rect`
[INFO] [stdout]  --> src/runtime_logic/menu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::rect::Rect;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `rect`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | macro_rules! rect(
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/runtime_logic/tetris.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Distribution`, `Rng`, and `Standard`
[INFO] [stdout]  --> src/runtime_logic/tetris.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{distributions::{Distribution, Standard}, Rng};
[INFO] [stdout]   |                            ^^^^^^^^^^^^  ^^^^^^^^   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rect::Rect`
[INFO] [stdout]  --> src/runtime_logic/tetris.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     rect::Rect,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/runtime_logic/field.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/runtime_logic/field.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos_x`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos_y`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:42
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/runtime_logic/tetris.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut lines = 0;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lb`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                           ^^ help: if this is intentional, prefix it with an underscore: `_lb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rb`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                                    ^^ help: if this is intentional, prefix it with an underscore: `_rb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:61
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                                             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contents`, `get_color`, `set_hinting`, `set_font`, and `set_size` are never used
[INFO] [stdout]   --> src/engine/text.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Text {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn contents(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_color(&self) -> sdl2::pixels::Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn set_hinting(&mut self, hint: sdl2::ttf::Hinting) { self.hint = hint }
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 54 |
[INFO] [stdout] 55 |     pub fn set_font(&mut self, font: &str) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn set_size(&mut self, size: u16) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `img_ctx` is never read
[INFO] [stdout]   --> src/engine/render.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Window {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     img_ctx: sdl2::image::Sdl2ImageContext
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_color`, `get_context`, `texture_to_buffer`, and `run` are never used
[INFO] [stdout]    --> src/engine/render.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl Window {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn set_color(&mut self, clr: Color) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn get_context(&self) -> &sdl2::Sdl {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn texture_to_buffer(&mut self, texture: &sdl2::render::Texture, src: Option<Rect>, dst: Option<Rect>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn run(&mut self) {     
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_name` is never used
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id` and `delete_tile` are never used
[INFO] [stdout]    --> src/runtime_logic/tetromino.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl Tetromino {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn id(&self) -> &Shape {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn delete_tile(&mut self, t_pos: (u32,u32)) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/runtime_logic/field.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Field {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inc_score`, `next_lvl`, and `check_lines` are never used
[INFO] [stdout]   --> src/runtime_logic/field.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Field {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn inc_score(&mut self, n: u16) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn next_lvl(&mut self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     menu::run();
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let _ = menu::run();
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos_x`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/engine/text.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn get_surface(&self, styles: Vec<sdl2::ttf::FontStyle>) -> Result<sdl2::surface::Surface, String> {
[INFO] [stdout]    |                        ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn get_surface(&self, styles: Vec<sdl2::ttf::FontStyle>) -> Result<sdl2::surface::Surface<'_>, String> {
[INFO] [stdout]    |                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos_y`
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:42
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         window.draw_line(WHITE, (0, H_UI), (window.width as i32, H_UI));
[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] 105 |         let _ = window.draw_line(WHITE, (0, H_UI), (window.width as i32, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         window.draw_line(WHITE, (145, 0), (145, H_UI));
[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] 106 |         let _ = window.draw_line(WHITE, (145, 0), (145, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/runtime_logic/tetris.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut lines = 0;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         window.draw_line(WHITE, (border_left as i32, ui_bottom_offset), (border_left as i32, H_UI));
[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] 107 |         let _ = window.draw_line(WHITE, (border_left as i32, ui_bottom_offset), (border_left as i32, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         window.draw_line(WHITE, (border_right as i32, ui_bottom_offset), (border_right as i32, H_UI));
[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] 108 |         let _ = window.draw_line(WHITE, (border_right as i32, ui_bottom_offset), (border_right as i32, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         window.draw_line(WHITE, (120, ui_bottom_offset), (120, window.height as i32));
[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] 109 |         let _ = window.draw_line(WHITE, (120, ui_bottom_offset), (120, window.height as i32));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         window.draw_line(WHITE, (170, ui_bottom_offset), (170, window.height as i32));
[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] 110 |         let _ = window.draw_line(WHITE, (170, ui_bottom_offset), (170, window.height as i32));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         window.draw_line(WHITE, (0, ui_bottom_offset), (window.width as i32, ui_bottom_offset));
[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] 111 |         let _ = window.draw_line(WHITE, (0, ui_bottom_offset), (window.width as i32, ui_bottom_offset));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/runtime_logic/tetromino.rs:223:20
[INFO] [stdout]     |
[INFO] [stdout] 223 |         for idx in v {
[INFO] [stdout]     |                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 223 -         for idx in v {
[INFO] [stdout] 223 +         while let Some(idx) = v {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 223 -         for idx in v {
[INFO] [stdout] 223 +         if let Some(idx) = v {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/field.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             draw_fn(window, *kv.0, *kv.1, 18);
[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] 148 |             let _ = draw_fn(window, *kv.0, *kv.1, 18);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lb`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                           ^^ help: if this is intentional, prefix it with an underscore: `_lb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rb`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                                    ^^ help: if this is intentional, prefix it with an underscore: `_rb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/runtime_logic/field.rs:76:61
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |                                                             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contents`, `get_color`, `set_hinting`, `set_font`, and `set_size` are never used
[INFO] [stdout]   --> src/engine/text.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Text {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn contents(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_color(&self) -> sdl2::pixels::Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn set_hinting(&mut self, hint: sdl2::ttf::Hinting) { self.hint = hint }
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 54 |
[INFO] [stdout] 55 |     pub fn set_font(&mut self, font: &str) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn set_size(&mut self, size: u16) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `img_ctx` is never read
[INFO] [stdout]   --> src/engine/render.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Window {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     img_ctx: sdl2::image::Sdl2ImageContext
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_color`, `get_context`, `texture_to_buffer`, and `run` are never used
[INFO] [stdout]    --> src/engine/render.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl Window {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn set_color(&mut self, clr: Color) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn get_context(&self) -> &sdl2::Sdl {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn texture_to_buffer(&mut self, texture: &sdl2::render::Texture, src: Option<Rect>, dst: Option<Rect>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn run(&mut self) {     
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_name` is never used
[INFO] [stdout]   --> src/runtime_logic/menu.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn save_name(text: &str, pos_x: u32, pos_y: u32) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id` and `delete_tile` are never used
[INFO] [stdout]    --> src/runtime_logic/tetromino.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl Tetromino {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn id(&self) -> &Shape {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn delete_tile(&mut self, t_pos: (u32,u32)) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/runtime_logic/field.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Field {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inc_score`, `next_lvl`, and `check_lines` are never used
[INFO] [stdout]   --> src/runtime_logic/field.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Field {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn inc_score(&mut self, n: u16) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn next_lvl(&mut self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn check_lines(&mut self, n: u16, lb: u32, rb: u32, f: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     menu::run();
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let _ = menu::run();
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/engine/text.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn get_surface(&self, styles: Vec<sdl2::ttf::FontStyle>) -> Result<sdl2::surface::Surface, String> {
[INFO] [stdout]    |                        ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn get_surface(&self, styles: Vec<sdl2::ttf::FontStyle>) -> Result<sdl2::surface::Surface<'_>, String> {
[INFO] [stdout]    |                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         window.draw_line(WHITE, (0, H_UI), (window.width as i32, H_UI));
[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] 105 |         let _ = window.draw_line(WHITE, (0, H_UI), (window.width as i32, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         window.draw_line(WHITE, (145, 0), (145, H_UI));
[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] 106 |         let _ = window.draw_line(WHITE, (145, 0), (145, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         window.draw_line(WHITE, (border_left as i32, ui_bottom_offset), (border_left as i32, H_UI));
[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] 107 |         let _ = window.draw_line(WHITE, (border_left as i32, ui_bottom_offset), (border_left as i32, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         window.draw_line(WHITE, (border_right as i32, ui_bottom_offset), (border_right as i32, H_UI));
[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] 108 |         let _ = window.draw_line(WHITE, (border_right as i32, ui_bottom_offset), (border_right as i32, H_UI));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         window.draw_line(WHITE, (120, ui_bottom_offset), (120, window.height as i32));
[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] 109 |         let _ = window.draw_line(WHITE, (120, ui_bottom_offset), (120, window.height as i32));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         window.draw_line(WHITE, (170, ui_bottom_offset), (170, window.height as i32));
[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] 110 |         let _ = window.draw_line(WHITE, (170, ui_bottom_offset), (170, window.height as i32));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/tetris.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         window.draw_line(WHITE, (0, ui_bottom_offset), (window.width as i32, ui_bottom_offset));
[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] 111 |         let _ = window.draw_line(WHITE, (0, ui_bottom_offset), (window.width as i32, ui_bottom_offset));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/runtime_logic/tetromino.rs:223:20
[INFO] [stdout]     |
[INFO] [stdout] 223 |         for idx in v {
[INFO] [stdout]     |                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 223 -         for idx in v {
[INFO] [stdout] 223 +         while let Some(idx) = v {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 223 -         for idx in v {
[INFO] [stdout] 223 +         if let Some(idx) = v {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/runtime_logic/field.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             draw_fn(window, *kv.0, *kv.1, 18);
[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] 148 |             let _ = draw_fn(window, *kv.0, *kv.1, 18);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.37s
[INFO] running `Command { std: "docker" "inspect" "6741fa14d86594616d24b2762326d796d121b083d5127a82e4ac742309e1b82d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6741fa14d86594616d24b2762326d796d121b083d5127a82e4ac742309e1b82d", kill_on_drop: false }`
[INFO] [stdout] 6741fa14d86594616d24b2762326d796d121b083d5127a82e4ac742309e1b82d
