[INFO] cloning repository https://github.com/victorgiuliano2162/tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/victorgiuliano2162/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorgiuliano2162%2Ftetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorgiuliano2162%2Ftetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9cfda3c6649600de10da343179b35cbfd32017ba
[INFO] checking victorgiuliano2162/tetris against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorgiuliano2162%2Ftetris" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/victorgiuliano2162/tetris
[INFO] finished tweaking git repo https://github.com/victorgiuliano2162/tetris
[INFO] tweaked toml for git repo https://github.com/victorgiuliano2162/tetris written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/victorgiuliano2162/tetris on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/victorgiuliano2162/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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2-sys v0.30.0
[INFO] [stderr]   Downloaded sdl2 v0.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c219d7d8f21ef3a9f17ab2a33ec6551a67f29d0ee8295dd9410d2da131c88a9b
[INFO] running `Command { std: "docker" "start" "-a" "c219d7d8f21ef3a9f17ab2a33ec6551a67f29d0ee8295dd9410d2da131c88a9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c219d7d8f21ef3a9f17ab2a33ec6551a67f29d0ee8295dd9410d2da131c88a9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c219d7d8f21ef3a9f17ab2a33ec6551a67f29d0ee8295dd9410d2da131c88a9b", kill_on_drop: false }`
[INFO] [stdout] c219d7d8f21ef3a9f17ab2a33ec6551a67f29d0ee8295dd9410d2da131c88a9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db81b2ae399c6d8d26ee4c82a7f516edc65cef868daebb0861c51444adad24b0
[INFO] running `Command { std: "docker" "start" "-a" "db81b2ae399c6d8d26ee4c82a7f516edc65cef868daebb0861c51444adad24b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking sdl2 v0.30.0
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut blue_square = create_texture_rect(
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     let mut green_square = create_texture_rect(
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_new_tetrimino` is never used
[INFO] [stdout]   --> src/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn create_new_tetrimino() -> Tetrimino {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_into_file` is never used
[INFO] [stdout]   --> src/main.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn write_into_file(content: &str, file_name: &str) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_file` is never used
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn read_from_file(file_name: &str) -> io::Result<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_to_string` is never used
[INFO] [stdout]   --> src/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn slice_to_string(slice: &[u32]) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_highscores_and_lines` is never used
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn save_highscores_and_lines(highscores: &[u32], number_of_lines: &[u32]) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `line_to_slice` is never used
[INFO] [stdout]    --> src/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn line_to_slice(line: &str) -> Vec<u32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_highscores_and_lines` is never used
[INFO] [stdout]    --> src/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn load_highscores_and_lines() -> Option<(Vec<u32>, Vec<u32>)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Piece` is never used
[INFO] [stdout]  --> src/tetrimino.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | type Piece = Vec<Vec<u8>>;
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `States` is never used
[INFO] [stdout]  --> src/tetrimino.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | type States = Vec<Piece>;
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tetrimino` is never constructed
[INFO] [stdout]  --> src/tetrimino.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Tetrimino {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TetriminoGenerator` is never used
[INFO] [stdout]   --> src/tetrimino.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait TetriminoGenerator {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `rotate`, `test_position`, `change_position`, and `test_current_position` are never used
[INFO] [stdout]   --> src/tetrimino.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Tetrimino {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 17 |     fn rotate(&mut self, game_map: &[Vec<u8>]) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn test_position(&self, game_map: &[Vec<u8>], tmp_state: usize, x: isize, y: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn change_position(&mut self, game_map: &[Vec<u8>], new_x: isize, new_y: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn test_current_position(&self, game_map: &[Vec<u8>]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoI` is never constructed
[INFO] [stdout]   --> src/tetrimino.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct TetriminoI;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoJ` is never constructed
[INFO] [stdout]   --> src/tetrimino.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct TetriminoJ;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoL` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct TetriminoL;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoO` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub struct TetriminoO;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoS` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct TetriminoS;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoZ` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | pub struct TetriminoZ;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoT` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:237:12
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub struct TetriminoT;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tetris` is never constructed
[INFO] [stdout]  --> src/tetris.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Tetris {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create_new_tetrimino`, `check_lines`, and `make_permanent` are never used
[INFO] [stdout]   --> src/tetris.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Tetris {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Tetris {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn create_new_tetrimino(&self) -> Tetrimino {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn check_lines(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     fn make_permanent(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut blue_square = create_texture_rect(
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     let mut green_square = create_texture_rect(
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_new_tetrimino` is never used
[INFO] [stdout]   --> src/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn create_new_tetrimino() -> Tetrimino {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_into_file` is never used
[INFO] [stdout]   --> src/main.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn write_into_file(content: &str, file_name: &str) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_file` is never used
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn read_from_file(file_name: &str) -> io::Result<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_to_string` is never used
[INFO] [stdout]   --> src/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn slice_to_string(slice: &[u32]) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_highscores_and_lines` is never used
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn save_highscores_and_lines(highscores: &[u32], number_of_lines: &[u32]) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `line_to_slice` is never used
[INFO] [stdout]    --> src/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn line_to_slice(line: &str) -> Vec<u32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_highscores_and_lines` is never used
[INFO] [stdout]    --> src/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn load_highscores_and_lines() -> Option<(Vec<u32>, Vec<u32>)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Piece` is never used
[INFO] [stdout]  --> src/tetrimino.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | type Piece = Vec<Vec<u8>>;
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `States` is never used
[INFO] [stdout]  --> src/tetrimino.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | type States = Vec<Piece>;
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tetrimino` is never constructed
[INFO] [stdout]  --> src/tetrimino.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Tetrimino {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TetriminoGenerator` is never used
[INFO] [stdout]   --> src/tetrimino.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait TetriminoGenerator {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `rotate`, `test_position`, `change_position`, and `test_current_position` are never used
[INFO] [stdout]   --> src/tetrimino.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Tetrimino {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 17 |     fn rotate(&mut self, game_map: &[Vec<u8>]) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn test_position(&self, game_map: &[Vec<u8>], tmp_state: usize, x: isize, y: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn change_position(&mut self, game_map: &[Vec<u8>], new_x: isize, new_y: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn test_current_position(&self, game_map: &[Vec<u8>]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoI` is never constructed
[INFO] [stdout]   --> src/tetrimino.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct TetriminoI;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoJ` is never constructed
[INFO] [stdout]   --> src/tetrimino.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct TetriminoJ;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoL` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct TetriminoL;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoO` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub struct TetriminoO;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoS` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct TetriminoS;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoZ` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | pub struct TetriminoZ;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 | /     canvas.with_texture_canvas(&mut square_texture, |texture| {
[INFO] [stdout] 162 | |         texture.set_draw_color(Color::RGB(0, 255, 0));
[INFO] [stdout] 163 | |         texture.clear();
[INFO] [stdout] 164 | |     });
[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] 161 |     let _ = canvas.with_texture_canvas(&mut square_texture, |texture| {
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoT` is never constructed
[INFO] [stdout]    --> src/tetrimino.rs:237:12
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub struct TetriminoT;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tetris` is never constructed
[INFO] [stdout]  --> src/tetris.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Tetris {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create_new_tetrimino`, `check_lines`, and `make_permanent` are never used
[INFO] [stdout]   --> src/tetris.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Tetris {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Tetris {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn create_new_tetrimino(&self) -> Tetrimino {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn check_lines(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     fn make_permanent(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/tetris.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             PREV == rand_nb;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let _ = PREV == rand_nb;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 | /     canvas.with_texture_canvas(&mut square_texture, |texture| {
[INFO] [stdout] 162 | |         texture.set_draw_color(Color::RGB(0, 255, 0));
[INFO] [stdout] 163 | |         texture.clear();
[INFO] [stdout] 164 | |     });
[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] 161 |     let _ = canvas.with_texture_canvas(&mut square_texture, |texture| {
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/tetris.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             PREV == rand_nb;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let _ = PREV == rand_nb;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.61s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "db81b2ae399c6d8d26ee4c82a7f516edc65cef868daebb0861c51444adad24b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db81b2ae399c6d8d26ee4c82a7f516edc65cef868daebb0861c51444adad24b0", kill_on_drop: false }`
[INFO] [stdout] db81b2ae399c6d8d26ee4c82a7f516edc65cef868daebb0861c51444adad24b0
