[INFO] cloning repository https://github.com/mileskerr/tetrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mileskerr/tetrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmileskerr%2Ftetrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmileskerr%2Ftetrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07d066622ce03cbe0ed983d8664b82aa58dc1320 [INFO] checking mileskerr/tetrs against master#9a42c6509d399fd205917ebce474b31315c5d3e9 for pr-97427 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmileskerr%2Ftetrs" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mileskerr/tetrs on toolchain 9a42c6509d399fd205917ebce474b31315c5d3e9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mileskerr/tetrs [INFO] finished tweaking git repo https://github.com/mileskerr/tetrs [INFO] tweaked toml for git repo https://github.com/mileskerr/tetrs written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/mileskerr/tetrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0875ea1035b413f1fca46a081134e9164e60f58ad2996d76594a728a95d5c12f [INFO] running `Command { std: "docker" "start" "-a" "0875ea1035b413f1fca46a081134e9164e60f58ad2996d76594a728a95d5c12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0875ea1035b413f1fca46a081134e9164e60f58ad2996d76594a728a95d5c12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0875ea1035b413f1fca46a081134e9164e60f58ad2996d76594a728a95d5c12f", kill_on_drop: false }` [INFO] [stdout] 0875ea1035b413f1fca46a081134e9164e60f58ad2996d76594a728a95d5c12f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf25075a4c8775747fc1e3eccf89964ef25d88faed35665cf3a4665537a267d [INFO] running `Command { std: "docker" "start" "-a" "6bf25075a4c8775747fc1e3eccf89964ef25d88faed35665cf3a4665537a267d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/main.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Write, stdout, stdin}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/main.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Write, stdout, stdin}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cw` [INFO] [stdout] --> src/main.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | fn rot_current (&mut self, cw: bool) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cw` [INFO] [stdout] --> src/main.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | fn rot_current (&mut self, cw: bool) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut paused = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut last_down = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut when_grounded = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut locking= false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut level = STARTING_LEVEL; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut down_time = Duration::from_millis(DOWN_TIMES[(level-1) as usize]); //time between each down movement of the piece [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut score: u32 = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut xp: u16 = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let mut holding = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut tetro = Tetro::Z(sp); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut paused = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut stdout = stdout().into_raw_mode().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut last_down = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut board = Board::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut when_grounded = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut locking= false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut held_tetro: Option = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut level = STARTING_LEVEL; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut down_time = Duration::from_millis(DOWN_TIMES[(level-1) as usize]); //time between each down movement of the piece [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut score: u32 = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut xp: u16 = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let mut holding = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut tetro = Tetro::Z(sp); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut stdout = stdout().into_raw_mode().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut board = Board::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut held_tetro: Option = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCC_CELL` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const OCC_CELL: &str ="░░"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_CELL` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const EMPTY_CELL: &str =".."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drw_tile` [INFO] [stdout] --> src/main.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn drw_tile(&mut self, pos:(u8,u8), occ: bool) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `I` should have a snake case name [INFO] [stdout] --> src/main.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | fn I(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(0,1),(0,2),(0,3)],pos, 6)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `J` should have a snake case name [INFO] [stdout] --> src/main.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 452 | fn J(pos: (i16, i16)) -> Tetro {Tetro::new([(1,0),(1,1),(1,2),(0,2)],pos, 3)} [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `L` should have a snake case name [INFO] [stdout] --> src/main.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 453 | fn L(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(0,1),(0,2),(1,2)],pos, 7)} [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `O` should have a snake case name [INFO] [stdout] --> src/main.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | fn O(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(1,0),(1,1),(0,1)],pos, 1)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCC_CELL` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const OCC_CELL: &str ="░░"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `S` should have a snake case name [INFO] [stdout] --> src/main.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | fn S(pos: (i16, i16)) -> Tetro {Tetro::new([(0,1),(1,1),(1,0),(2,0)],pos, 4)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_CELL` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const EMPTY_CELL: &str =".."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/main.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | fn Z(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(1,0),(1,1),(2,1)],pos, 2)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `T` should have a snake case name [INFO] [stdout] --> src/main.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | fn T(pos: (i16, i16)) -> Tetro {Tetro::new([(0,1),(1,0),(1,1),(2,1)],pos, 5)} [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drw_tile` [INFO] [stdout] --> src/main.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn drw_tile(&mut self, pos:(u8,u8), occ: bool) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `I` should have a snake case name [INFO] [stdout] --> src/main.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | fn I(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(0,1),(0,2),(0,3)],pos, 6)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `J` should have a snake case name [INFO] [stdout] --> src/main.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 452 | fn J(pos: (i16, i16)) -> Tetro {Tetro::new([(1,0),(1,1),(1,2),(0,2)],pos, 3)} [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `L` should have a snake case name [INFO] [stdout] --> src/main.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 453 | fn L(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(0,1),(0,2),(1,2)],pos, 7)} [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `O` should have a snake case name [INFO] [stdout] --> src/main.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | fn O(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(1,0),(1,1),(0,1)],pos, 1)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `S` should have a snake case name [INFO] [stdout] --> src/main.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | fn S(pos: (i16, i16)) -> Tetro {Tetro::new([(0,1),(1,1),(1,0),(2,0)],pos, 4)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/main.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | fn Z(pos: (i16, i16)) -> Tetro {Tetro::new([(0,0),(1,0),(1,1),(2,1)],pos, 2)} [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `T` should have a snake case name [INFO] [stdout] --> src/main.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | fn T(pos: (i16, i16)) -> Tetro {Tetro::new([(0,1),(1,0),(1,1),(2,1)],pos, 5)} [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.26s [INFO] running `Command { std: "docker" "inspect" "6bf25075a4c8775747fc1e3eccf89964ef25d88faed35665cf3a4665537a267d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf25075a4c8775747fc1e3eccf89964ef25d88faed35665cf3a4665537a267d", kill_on_drop: false }` [INFO] [stdout] 6bf25075a4c8775747fc1e3eccf89964ef25d88faed35665cf3a4665537a267d