[INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/description' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris/description': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris/hooks/update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/mahd1ar/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahd1ar/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a91c705dddb5a9403e71de6d6f15fbea793aa018 [INFO] checking mahd1ar/tetris against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahd1ar%2Ftetris" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mahd1ar/tetris on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mahd1ar/tetris [INFO] finished tweaking git repo https://github.com/mahd1ar/tetris [INFO] tweaked toml for git repo https://github.com/mahd1ar/tetris written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mahd1ar/tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcca496668339785432dcce7e8b93822fad76cfb20149e74b1e30158ac36a3c8 [INFO] running `Command { std: "docker" "start" "-a" "bcca496668339785432dcce7e8b93822fad76cfb20149e74b1e30158ac36a3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcca496668339785432dcce7e8b93822fad76cfb20149e74b1e30158ac36a3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcca496668339785432dcce7e8b93822fad76cfb20149e74b1e30158ac36a3c8", kill_on_drop: false }` [INFO] [stdout] bcca496668339785432dcce7e8b93822fad76cfb20149e74b1e30158ac36a3c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aaf86b64ab5ad0df7d71729ea44e128211c31b76e2e9d75cc569871e2e31285 [INFO] running `Command { std: "docker" "start" "-a" "3aaf86b64ab5ad0df7d71729ea44e128211c31b76e2e9d75cc569871e2e31285", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking tetris-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Print` and `style` [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | style::{self, style, Print, Stylize}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Print` and `style` [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | style::{self, style, Print, Stylize}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 66 | / loop { [INFO] [stdout] 67 | | // `read()` blocks until an `Event` is available [INFO] [stdout] 68 | | match read()? { [INFO] [stdout] 69 | | Event::FocusGained => println!("FocusGained"), [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 92 | / execute!( [INFO] [stdout] 93 | | std::io::stdout(), [INFO] [stdout] 94 | | DisableBracketedPaste, [INFO] [stdout] 95 | | DisableFocusChange, [INFO] [stdout] 96 | | DisableMouseCapture [INFO] [stdout] 97 | | )?; [INFO] [stdout] | |_______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 66 | / loop { [INFO] [stdout] 67 | | // `read()` blocks until an `Event` is available [INFO] [stdout] 68 | | match read()? { [INFO] [stdout] 69 | | Event::FocusGained => println!("FocusGained"), [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 92 | / execute!( [INFO] [stdout] 93 | | std::io::stdout(), [INFO] [stdout] 94 | | DisableBracketedPaste, [INFO] [stdout] 95 | | DisableFocusChange, [INFO] [stdout] 96 | | DisableMouseCapture [INFO] [stdout] 97 | | )?; [INFO] [stdout] | |_______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nstate` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let nstate = Arc::clone(&state); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nstate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GREEN`, `YELLOW`, and `BLUE` are never constructed [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | GREEN, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | YELLOW, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | BLUE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `L`, `O`, `S`, and `T` are never constructed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 34 | I, [INFO] [stdout] 35 | L, [INFO] [stdout] | ^ [INFO] [stdout] 36 | O, [INFO] [stdout] | ^ [INFO] [stdout] 37 | S, [INFO] [stdout] | ^ [INFO] [stdout] 38 | T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | rotation: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SolidBlock` is never constructed [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct SolidBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `candidateBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let candidateBlock = Arc::new(Mutex::new(Block { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `candidate_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `candidateBlock_1` should have a snake case name [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let candidateBlock_1 = Arc::clone(&candidateBlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `candidate_block_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nstate` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let nstate = Arc::clone(&state); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nstate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | print_events(naction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = print_events(naction); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `candidateBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | let mut candidateBlock = candidateBlock.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `candidate_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 191 | let _ = stdout.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GREEN`, `YELLOW`, and `BLUE` are never constructed [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | GREEN, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | YELLOW, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | BLUE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `L`, `O`, `S`, and `T` are never constructed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 34 | I, [INFO] [stdout] 35 | L, [INFO] [stdout] | ^ [INFO] [stdout] 36 | O, [INFO] [stdout] | ^ [INFO] [stdout] 37 | S, [INFO] [stdout] | ^ [INFO] [stdout] 38 | T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | rotation: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SolidBlock` is never constructed [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct SolidBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `candidateBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let candidateBlock = Arc::new(Mutex::new(Block { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `candidate_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `candidateBlock_1` should have a snake case name [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let candidateBlock_1 = Arc::clone(&candidateBlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `candidate_block_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | print_events(naction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = print_events(naction); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `candidateBlock` should have a snake case name [INFO] [stdout] --> src/main.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | let mut candidateBlock = candidateBlock.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `candidate_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 191 | let _ = stdout.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "3aaf86b64ab5ad0df7d71729ea44e128211c31b76e2e9d75cc569871e2e31285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aaf86b64ab5ad0df7d71729ea44e128211c31b76e2e9d75cc569871e2e31285", kill_on_drop: false }` [INFO] [stdout] 3aaf86b64ab5ad0df7d71729ea44e128211c31b76e2e9d75cc569871e2e31285