[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] a83778d895ab35e0ed1f4f8b7fbf82d7de57b06d [INFO] checking fred441a/Tetris_os against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffred441a%2FTetris_os" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fred441a/Tetris_os on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2128af82adc08139bed7bf5a62321764a372f13063f101d35943dc59f0bded6 [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" "c2128af82adc08139bed7bf5a62321764a372f13063f101d35943dc59f0bded6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2128af82adc08139bed7bf5a62321764a372f13063f101d35943dc59f0bded6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2128af82adc08139bed7bf5a62321764a372f13063f101d35943dc59f0bded6", kill_on_drop: false }` [INFO] [stdout] c2128af82adc08139bed7bf5a62321764a372f13063f101d35943dc59f0bded6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70e304d0eb19ca0e4c31ca22d7020693509d39f42a60982d5fa8ca172df4eb3d [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" "70e304d0eb19ca0e4c31ca22d7020693509d39f42a60982d5fa8ca172df4eb3d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tetris_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{stdout, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | if (Tetris.bottomCheck()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | ///the temperary shape to caluclate the new rotated shape into [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | 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:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | /// the translated axis, so that the brick rotates around the center piece. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 232 | let mut x: i8; [INFO] [stdout] | -------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{stdout, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | if (Tetris.bottomCheck()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | ///the temperary shape to caluclate the new rotated shape into [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | 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:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | /// the translated axis, so that the brick rotates around the center piece. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 232 | let mut x: i8; [INFO] [stdout] | -------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stdout = stdout.lock().into_raw_mode().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | for (i, t) in self.map.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/main.rs:470:24 [INFO] [stdout] | [INFO] [stdout] 470 | for (j,l) in self.map.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stdout = stdout.lock().into_raw_mode().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stdout = stdout.lock().into_raw_mode().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | for (i, t) in self.map.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/main.rs:470:24 [INFO] [stdout] | [INFO] [stdout] 470 | for (j,l) in self.map.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stdout = stdout.lock().into_raw_mode().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `savedBrick` [INFO] [stdout] --> src/main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | savedBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `saveBrick` [INFO] [stdout] --> src/main.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 363 | fn saveBrick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `useSaved` [INFO] [stdout] --> src/main.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | fn useSaved() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `emptyblock` should have an upper case name [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | 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:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const emptybrick: Brick = Brick { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `EMPTYBRICK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `redblock` should have an upper case name [INFO] [stdout] --> src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const redblock: Block = Block { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `REDBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `blueblock` should have an upper case name [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const blueblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `BLUEBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `greenblock` should have an upper case name [INFO] [stdout] --> src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const greenblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `GREENBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `yellowblock` should have an upper case name [INFO] [stdout] --> src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const yellowblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `YELLOWBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Purpleblock` should have an upper case name [INFO] [stdout] --> src/main.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const Purpleblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PURPLEBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tealblock` should have an upper case name [INFO] [stdout] --> src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const tealblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `TEALBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `orangeblock` should have an upper case name [INFO] [stdout] --> src/main.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const orangeblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ORANGEBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Bricks` should have an upper case name [INFO] [stdout] --> src/main.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | const Bricks: [Brick; 7] = [ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BRICKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tetris` should have a snake case name [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut Tetris = Game { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tetris` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | 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:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let ElapsedTime = Time.elapsed().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isFilled` should have a snake case name [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | 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:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | 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:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | 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:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | 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:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | 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:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | 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:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | 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:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn addBrickToMap(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_brick_to_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Brickarr` should have a snake case name [INFO] [stdout] --> src/main.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | 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:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | 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 `saveBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 363 | 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:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | 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:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | 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:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | 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:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | 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:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | 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:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | 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:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | 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:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | 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:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | 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:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | fn moveBrick(&mut self, Position: Pos) -> bool { [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:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | fn moveBrick(&mut self, Position: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `savedBrick` [INFO] [stdout] --> src/main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | savedBrick: Brick, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `saveBrick` [INFO] [stdout] --> src/main.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 363 | fn saveBrick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `useSaved` [INFO] [stdout] --> src/main.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | fn useSaved() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `emptyblock` should have an upper case name [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | 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:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const emptybrick: Brick = Brick { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `EMPTYBRICK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `redblock` should have an upper case name [INFO] [stdout] --> src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const redblock: Block = Block { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `REDBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `blueblock` should have an upper case name [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const blueblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `BLUEBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `greenblock` should have an upper case name [INFO] [stdout] --> src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const greenblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `GREENBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `yellowblock` should have an upper case name [INFO] [stdout] --> src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const yellowblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `YELLOWBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Purpleblock` should have an upper case name [INFO] [stdout] --> src/main.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const Purpleblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PURPLEBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tealblock` should have an upper case name [INFO] [stdout] --> src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const tealblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `TEALBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `orangeblock` should have an upper case name [INFO] [stdout] --> src/main.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const orangeblock: Block = Block { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ORANGEBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Bricks` should have an upper case name [INFO] [stdout] --> src/main.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | const Bricks: [Brick; 7] = [ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BRICKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tetris` should have a snake case name [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut Tetris = Game { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tetris` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | 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:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let ElapsedTime = Time.elapsed().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isFilled` should have a snake case name [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | 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:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | 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:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | 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:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | 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:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | 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:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | 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:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | 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:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn addBrickToMap(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_brick_to_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Brickarr` should have a snake case name [INFO] [stdout] --> src/main.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | 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:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | 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 `saveBrick` should have a snake case name [INFO] [stdout] --> src/main.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 363 | 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:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | 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:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | 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:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | 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:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | 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:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | 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:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | 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:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | 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:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | 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:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | 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:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | fn moveBrick(&mut self, Position: Pos) -> bool { [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:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | fn moveBrick(&mut self, Position: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.42s [INFO] running `Command { std: "docker" "inspect" "70e304d0eb19ca0e4c31ca22d7020693509d39f42a60982d5fa8ca172df4eb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e304d0eb19ca0e4c31ca22d7020693509d39f42a60982d5fa8ca172df4eb3d", kill_on_drop: false }` [INFO] [stdout] 70e304d0eb19ca0e4c31ca22d7020693509d39f42a60982d5fa8ca172df4eb3d