[INFO] cloning repository https://github.com/fred441a/Tetris_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fred441a/Tetris_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffred441a%2FTetris_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffred441a%2FTetris_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d433fefbf7137421acf3f4cdc9858c623962a04 [INFO] checking fred441a/Tetris_os against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffred441a%2FTetris_os" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fred441a/Tetris_os on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fred441a/Tetris_os [INFO] finished tweaking git repo https://github.com/fred441a/Tetris_os [INFO] tweaked toml for git repo https://github.com/fred441a/Tetris_os written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/fred441a/Tetris_os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c62eb551facce99bbc2e4ee28e507b587d1a8bf9f13c6bfb1d0823c2fe7dd145 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c62eb551facce99bbc2e4ee28e507b587d1a8bf9f13c6bfb1d0823c2fe7dd145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c62eb551facce99bbc2e4ee28e507b587d1a8bf9f13c6bfb1d0823c2fe7dd145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62eb551facce99bbc2e4ee28e507b587d1a8bf9f13c6bfb1d0823c2fe7dd145", kill_on_drop: false }` [INFO] [stdout] c62eb551facce99bbc2e4ee28e507b587d1a8bf9f13c6bfb1d0823c2fe7dd145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af86bf52ddf906f10de22f5f51ab36dd3e1d17f8c62db442b70cb3ac78c985d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2af86bf52ddf906f10de22f5f51ab36dd3e1d17f8c62db442b70cb3ac78c985d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking tetris_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `termion::event::Key` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termion::event::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use termion::{async_stdin, clear, color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | ///the temperary shape to caluclate the new rotated shape into [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | let mut temp_shape: [[Block; 4]; 4] = [[emptyblock; 4]; 4]; [INFO] [stdout] | ----------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | /// the translated axis, so that the brick rotates around the center piece. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | let mut x: i8; [INFO] [stdout] | -------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::event::Key` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termion::event::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use termion::{async_stdin, clear, color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | ///the temperary shape to caluclate the new rotated shape into [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | let mut temp_shape: [[Block; 4]; 4] = [[emptyblock; 4]; 4]; [INFO] [stdout] | ----------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | /// the translated axis, so that the brick rotates around the center piece. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | let mut x: i8; [INFO] [stdout] | -------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut IBlock = Brick { [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: associated function is never used: `print` [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nextBrick` [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | nextBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `savedBrick` [INFO] [stdout] --> src/main.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | savedBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `points` [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | points: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addBrickToMap` [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn addBrickToMap() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `saveBrick` [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn saveBrick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newBrick` [INFO] [stdout] --> src/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn newBrick(&self) -> Brick { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `useSaved` [INFO] [stdout] --> src/main.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn useSaved() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottomCheck` [INFO] [stdout] --> src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn bottomCheck(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `point` [INFO] [stdout] --> src/main.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn point() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `emptyblock` should have an upper case name [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const emptyblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `EMPTYBLOCK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `emptybrick` should have an upper case name [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const emptybrick: Brick = Brick { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `EMPTYBRICK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut IBlock = Brick { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `iblock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tetris` should have a snake case name [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut Tetris = Game { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tetris` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut Time = SystemTime::now(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ElapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let ElapsedTime = Time.elapsed().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut IBlock = Brick { [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: associated function is never used: `print` [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nextBrick` [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | nextBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `savedBrick` [INFO] [stdout] --> src/main.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | savedBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `points` [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | points: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addBrickToMap` [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn addBrickToMap() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `saveBrick` [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn saveBrick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newBrick` [INFO] [stdout] --> src/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn newBrick(&self) -> Brick { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `useSaved` [INFO] [stdout] --> src/main.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn useSaved() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottomCheck` [INFO] [stdout] --> src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn bottomCheck(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `point` [INFO] [stdout] --> src/main.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn point() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `emptyblock` should have an upper case name [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const emptyblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `EMPTYBLOCK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `emptybrick` should have an upper case name [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const emptybrick: Brick = Brick { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `EMPTYBRICK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut IBlock = Brick { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `iblock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tetris` should have a snake case name [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut Tetris = Game { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tetris` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut Time = SystemTime::now(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ElapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let ElapsedTime = Time.elapsed().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isFilled` should have a snake case name [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | isFilled: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_filled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `onMapBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | onMapBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `on_map_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nextBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | nextBrick: Brick, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `savedBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | savedBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `saved_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BrickMap` should have a snake case name [INFO] [stdout] --> src/main.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn BrickMap(&self) -> [[Block; 10]; 20] { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `brick_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Brickarr` should have a snake case name [INFO] [stdout] --> src/main.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | for (i, Brickarr) in self.onMapBrick.shape.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `brickarr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `onMapBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | for (j, onMapBlock) in Brickarr.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `on_map_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addBrickToMap` should have a snake case name [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn addBrickToMap() {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_brick_to_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `saveBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn saveBrick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `save_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn newBrick(&self) -> Brick { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `useSaved` should have a snake case name [INFO] [stdout] --> src/main.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn useSaved() {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `use_saved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotateCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | fn rotateCheck(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `rotate_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut tempBrick = self.onMapBrick; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | for (j, tempBlock) in blockarr.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bottomCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn bottomCheck(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `bottom_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | for (i, tempBlock) in self.onMapBrick.shape[3].iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isFilled` should have a snake case name [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | isFilled: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_filled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moveCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn moveCheck(&self, place: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `move_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let mut tempBrick = self.onMapBrick; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `onMapBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | onMapBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `on_map_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | for (j, tempBlock) in blockarr.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nextBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | nextBrick: Brick, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moveBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn moveBrick(&mut self, Position: Pos) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `move_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `savedBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | savedBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `saved_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | fn moveBrick(&mut self, Position: Pos) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BrickMap` should have a snake case name [INFO] [stdout] --> src/main.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn BrickMap(&self) -> [[Block; 10]; 20] { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `brick_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Brickarr` should have a snake case name [INFO] [stdout] --> src/main.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | for (i, Brickarr) in self.onMapBrick.shape.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `brickarr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `onMapBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | for (j, onMapBlock) in Brickarr.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `on_map_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addBrickToMap` should have a snake case name [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn addBrickToMap() {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_brick_to_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `saveBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn saveBrick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `save_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn newBrick(&self) -> Brick { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `useSaved` should have a snake case name [INFO] [stdout] --> src/main.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn useSaved() {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `use_saved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotateCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | fn rotateCheck(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `rotate_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut tempBrick = self.onMapBrick; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | for (j, tempBlock) in blockarr.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bottomCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn bottomCheck(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `bottom_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | for (i, tempBlock) in self.onMapBrick.shape[3].iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moveCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn moveCheck(&self, place: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `move_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let mut tempBrick = self.onMapBrick; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | for (j, tempBlock) in blockarr.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `temp_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moveBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn moveBrick(&mut self, Position: Pos) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `move_brick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | fn moveBrick(&mut self, Position: Pos) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "2af86bf52ddf906f10de22f5f51ab36dd3e1d17f8c62db442b70cb3ac78c985d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af86bf52ddf906f10de22f5f51ab36dd3e1d17f8c62db442b70cb3ac78c985d", kill_on_drop: false }` [INFO] [stdout] 2af86bf52ddf906f10de22f5f51ab36dd3e1d17f8c62db442b70cb3ac78c985d