[INFO] cloning repository https://github.com/idanai/tetris-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idanai/tetris-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidanai%2Ftetris-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidanai%2Ftetris-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 707c7bc37c389178d35e8f70b2e5d5a9c62cc444 [INFO] checking idanai/tetris-rs against master#ac385a5af6d9fa8399a0cec799833cd28324abf8 for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidanai%2Ftetris-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idanai/tetris-rs on toolchain ac385a5af6d9fa8399a0cec799833cd28324abf8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/idanai/tetris-rs [INFO] finished tweaking git repo https://github.com/idanai/tetris-rs [INFO] tweaked toml for git repo https://github.com/idanai/tetris-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/idanai/tetris-rs 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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21191c5c81b8bfca6d9d44c75036d990a219ec894402fb5603fd78a9ef23dceb [INFO] running `Command { std: "docker" "start" "-a" "21191c5c81b8bfca6d9d44c75036d990a219ec894402fb5603fd78a9ef23dceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21191c5c81b8bfca6d9d44c75036d990a219ec894402fb5603fd78a9ef23dceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21191c5c81b8bfca6d9d44c75036d990a219ec894402fb5603fd78a9ef23dceb", kill_on_drop: false }` [INFO] [stdout] 21191c5c81b8bfca6d9d44c75036d990a219ec894402fb5603fd78a9ef23dceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9952e6921727e6bf908516e24e2947cc54e12ffd2d8367c46beec5ec3ce612f [INFO] running `Command { std: "docker" "start" "-a" "d9952e6921727e6bf908516e24e2947cc54e12ffd2d8367c46beec5ec3ce612f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking termion v2.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `T_SPIN_SCORE` is never used [INFO] [stdout] --> src/tetris.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const T_SPIN_SCORE: u32 = 400; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_t_spin` is never used [INFO] [stdout] --> src/tetris.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 240 | impl Tetris { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | fn check_t_spin(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/tetris.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 636 | impl Tetris { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 639 | pub fn serialize(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score` is never used [INFO] [stdout] --> src/tetris/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Game { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn score(&self) -> f32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ghost` and `is_empty` are never used [INFO] [stdout] --> src/tetris/cell.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_ghost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Up` is never constructed [INFO] [stdout] --> src/tetris/direction.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 5 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL` is never used [INFO] [stdout] --> src/tetris/tetromino/data.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ALL: u8 = 0x0F; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/tetris/tetromino/data.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 116 | impl MovementFlags { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn at(&self, index: usize) -> Flags { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T_SPIN_SCORE` is never used [INFO] [stdout] --> src/tetris.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const T_SPIN_SCORE: u32 = 400; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_t_spin` is never used [INFO] [stdout] --> src/tetris.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 240 | impl Tetris { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | fn check_t_spin(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/tetris.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 636 | impl Tetris { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 639 | pub fn serialize(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score` is never used [INFO] [stdout] --> src/tetris/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Game { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn score(&self) -> f32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ghost` and `is_empty` are never used [INFO] [stdout] --> src/tetris/cell.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_ghost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Up` is never constructed [INFO] [stdout] --> src/tetris/direction.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 5 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL` is never used [INFO] [stdout] --> src/tetris/tetromino/data.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ALL: u8 = 0x0F; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/tetris/tetromino/data.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 116 | impl MovementFlags { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn at(&self, index: usize) -> Flags { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "d9952e6921727e6bf908516e24e2947cc54e12ffd2d8367c46beec5ec3ce612f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9952e6921727e6bf908516e24e2947cc54e12ffd2d8367c46beec5ec3ce612f", kill_on_drop: false }` [INFO] [stdout] d9952e6921727e6bf908516e24e2947cc54e12ffd2d8367c46beec5ec3ce612f [INFO] checking idanai/tetris-rs against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidanai%2Ftetris-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idanai/tetris-rs on toolchain 9130c02509ce15f69dc5da6359bb9d140d41d4ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/idanai/tetris-rs [INFO] finished tweaking git repo https://github.com/idanai/tetris-rs [INFO] tweaked toml for git repo https://github.com/idanai/tetris-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/idanai/tetris-rs 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" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb198b6a1c60ed46c7075d40c56d0462a62e76a57d3dfb7ac55519b77283c898 [INFO] running `Command { std: "docker" "start" "-a" "cb198b6a1c60ed46c7075d40c56d0462a62e76a57d3dfb7ac55519b77283c898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb198b6a1c60ed46c7075d40c56d0462a62e76a57d3dfb7ac55519b77283c898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb198b6a1c60ed46c7075d40c56d0462a62e76a57d3dfb7ac55519b77283c898", kill_on_drop: false }` [INFO] [stdout] cb198b6a1c60ed46c7075d40c56d0462a62e76a57d3dfb7ac55519b77283c898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5d8d91cbe20c2b890e172034f29b50ba2ce85c606a4a4cbdbc78c8cdd738a47 [INFO] running `Command { std: "docker" "start" "-a" "d5d8d91cbe20c2b890e172034f29b50ba2ce85c606a4a4cbdbc78c8cdd738a47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking termion v2.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> src/tetris/cell.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> src/tetris/cell.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> src/tetris/cell.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> src/tetris/cell.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Full` in this scope [INFO] [stdout] --> src/tetris/cell.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | Full(shape) | Ghost(shape) => *shape, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Full; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ghost` in this scope [INFO] [stdout] --> src/tetris/cell.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | Full(shape) | Ghost(shape) => *shape, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Ghost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Full` in this scope [INFO] [stdout] --> src/tetris/cell.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | Full(shape) => write!(f, "{}██", shape.fg_color_str()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Full; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ghost` in this scope [INFO] [stdout] --> src/tetris/cell.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | Ghost(_) => write!(f, "{}░▒", White.fg_str()),// • ░▒▓█▀▄≡■ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Ghost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> src/tetris/cell.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> src/tetris/cell.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub enum Cell { [INFO] [stdout] 6 | | Empty, [INFO] [stdout] 7 | | Full(Shape), [INFO] [stdout] 8 | | Ghost(Shape), [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `self::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> src/tetris/cell.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> src/tetris/cell.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub enum Cell { [INFO] [stdout] 6 | | Empty, [INFO] [stdout] 7 | | Full(Shape), [INFO] [stdout] 8 | | Ghost(Shape), [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `self::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Full` in this scope [INFO] [stdout] --> src/tetris/cell.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | Full(shape) | Ghost(shape) => *shape, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Full; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ghost` in this scope [INFO] [stdout] --> src/tetris/cell.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | Full(shape) | Ghost(shape) => *shape, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Ghost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Full` in this scope [INFO] [stdout] --> src/tetris/cell.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | Full(shape) => write!(f, "{}██", shape.fg_color_str()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Full; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::TrySendError::Full; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ghost` in this scope [INFO] [stdout] --> src/tetris/cell.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | Ghost(_) => write!(f, "{}░▒", White.fg_str()),// • ░▒▓█▀▄≡■ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tetris::Cell::Ghost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> src/tetris/cell.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> src/tetris/cell.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub enum Cell { [INFO] [stdout] 6 | | Empty, [INFO] [stdout] 7 | | Full(Shape), [INFO] [stdout] 8 | | Ghost(Shape), [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `self::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> src/tetris/cell.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> src/tetris/cell.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub enum Cell { [INFO] [stdout] 6 | | Empty, [INFO] [stdout] 7 | | Full(Shape), [INFO] [stdout] 8 | | Ghost(Shape), [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `self::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0531, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0531`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` (bin "tetris") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0531, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0531`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` (bin "tetris" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "d5d8d91cbe20c2b890e172034f29b50ba2ce85c606a4a4cbdbc78c8cdd738a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5d8d91cbe20c2b890e172034f29b50ba2ce85c606a4a4cbdbc78c8cdd738a47", kill_on_drop: false }` [INFO] [stdout] d5d8d91cbe20c2b890e172034f29b50ba2ce85c606a4a4cbdbc78c8cdd738a47