[INFO] cloning repository https://github.com/dezgeg/shenzen-solitaire
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dezgeg/shenzen-solitaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdezgeg%2Fshenzen-solitaire", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdezgeg%2Fshenzen-solitaire'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c486dece6b285a6b0e0e1af56ddd9b8570a64f6a
[INFO] checking dezgeg/shenzen-solitaire against master#cb06d12710575a0d7ff71d6fe108f3bcff4f9195 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdezgeg%2Fshenzen-solitaire" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dezgeg/shenzen-solitaire on toolchain cb06d12710575a0d7ff71d6fe108f3bcff4f9195
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dezgeg/shenzen-solitaire
[INFO] finished tweaking git repo https://github.com/dezgeg/shenzen-solitaire
[INFO] tweaked toml for git repo https://github.com/dezgeg/shenzen-solitaire written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/dezgeg/shenzen-solitaire 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" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b6049f9989cf0ad29c301f3937b7eddc54773ff96e58d9484d27b1f9cf2ad4aa
[INFO] running `Command { std: "docker" "start" "-a" "b6049f9989cf0ad29c301f3937b7eddc54773ff96e58d9484d27b1f9cf2ad4aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6049f9989cf0ad29c301f3937b7eddc54773ff96e58d9484d27b1f9cf2ad4aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6049f9989cf0ad29c301f3937b7eddc54773ff96e58d9484d27b1f9cf2ad4aa", kill_on_drop: false }`
[INFO] [stdout] b6049f9989cf0ad29c301f3937b7eddc54773ff96e58d9484d27b1f9cf2ad4aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ae8942217fd011a206d3c5ae94cbfb668e6c17bdd9e4a4de6795cdd02117e57
[INFO] running `Command { std: "docker" "start" "-a" "2ae8942217fd011a206d3c5ae94cbfb668e6c17bdd9e4a4de6795cdd02117e57", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.20
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking shenzen-solitaire v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ANSIString`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ansi_term::{ANSIString, Colour, Style};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ANSIString`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ansi_term::{ANSIString, Colour, Style};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `Red` is named the same as one of the variants of the type `game_logic::Suit`
[INFO] [stdout]   --> src/game_logic.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             ^^^ help: to match on the variant, qualify the path: `game_logic::Suit::Red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `Green` is named the same as one of the variants of the type `game_logic::Suit`
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ help: to match on the variant, qualify the path: `game_logic::Suit::Green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `Black` is named the same as one of the variants of the type `game_logic::Suit`
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ help: to match on the variant, qualify the path: `game_logic::Suit::Black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             --- matches any value
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             --- matches any value
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Red`
[INFO] [stdout]   --> src/game_logic.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_Red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Green`
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_Green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Black`
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_Black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/game_logic.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         for i in 0..4 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `Red` is named the same as one of the variants of the type `game_logic::Suit`
[INFO] [stdout]   --> src/game_logic.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             ^^^ help: to match on the variant, qualify the path: `game_logic::Suit::Red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `Green` is named the same as one of the variants of the type `game_logic::Suit`
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ help: to match on the variant, qualify the path: `game_logic::Suit::Green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `Black` is named the same as one of the variants of the type `game_logic::Suit`
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ help: to match on the variant, qualify the path: `game_logic::Suit::Black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game_logic.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let mut deck = make_shuffled_deck();
[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: unreachable pattern
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             --- matches any value
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             --- matches any value
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Red`
[INFO] [stdout]   --> src/game_logic.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_Red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Green`
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_Green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Black`
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_Black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/game_logic.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         for i in 0..4 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     for i in 0..6 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     for i in 0..6 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game_logic.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let mut deck = make_shuffled_deck();
[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: function `test_render` is never used
[INFO] [stdout]    --> src/main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn test_render() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_index` is never used
[INFO] [stdout]   --> src/game_logic.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Suit {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 15 |     pub fn to_index(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InUse` and `Flipped` are never constructed
[INFO] [stdout]   --> src/game_logic.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum FreeCell {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 70 |     Free,
[INFO] [stdout] 71 |     InUse(Card),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 72 |     // When four dragons are removed from the game and placed onto a free cell
[INFO] [stdout] 73 |     Flipped,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FreeCell` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_freecell_cards` and `with_tableau_column` are never used
[INFO] [stdout]    --> src/game_logic.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl Playfield {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn with_freecell_cards(&self, cards: Vec<Card>, rest: FreeCell) -> Playfield {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fn with_tableau_column(&self, column: usize, cards: Vec<Card>) -> Playfield {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FreeCell`, `Flower`, `Pile`, and `Tableau` are never constructed
[INFO] [stdout]    --> src/game_logic.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub enum Position {
[INFO] [stdout]     |          -------- variants in this enum
[INFO] [stdout] 156 |     // Index must be 0 .. 2 inclusive.
[INFO] [stdout] 157 |     FreeCell(usize),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 158 |     Flower,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 159 |     // Index must be 0 .. 2 inclusive.
[INFO] [stdout] 160 |     Pile(usize),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 161 |     // Index must be 0 .. 7 inclusive.
[INFO] [stdout] 162 |     Tableau(usize),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `can_place_on_top` is never used
[INFO] [stdout]    --> src/game_logic.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn can_place_on_top(card1: Card, card2: Card) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pick_up_cards` is never used
[INFO] [stdout]    --> src/game_logic.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn pick_up_cards(playfield: Playfield, count: usize, from: Position) -> Option<(Playfield, Vec<Card>)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `place_cards` is never used
[INFO] [stdout]    --> src/game_logic.rs:234:8
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub fn place_cards(playfield: Playfield, new_cards: Vec<Card>, to: Position) -> Option<Playfield> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_legal_move` is never used
[INFO] [stdout]    --> src/game_logic.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 296 | pub fn is_legal_move(playfield: &Playfield, m: Move) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flip_dragon` is never used
[INFO] [stdout]    --> src/game_logic.rs:309:8
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub fn flip_dragon(playfield: Playfield, suit: Suit) -> Option<Playfield> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_test_playfield` is never used
[INFO] [stdout]    --> src/game_logic.rs:343:4
[INFO] [stdout]     |
[INFO] [stdout] 343 | fn make_test_playfield() -> Playfield {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:229:5
[INFO] [stdout]     |
[INFO] [stdout] 229 |     io::stdout().flush();
[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] 229 |     let _ = io::stdout().flush();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         io::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] 241 |         let _ = io::stdout().flush();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         io::stdin().read_line(&mut buf);
[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] 244 |         let _ = io::stdin().read_line(&mut buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Red` should have a snake case name
[INFO] [stdout]   --> src/game_logic.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Green` should have a snake case name
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Black` should have a snake case name
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     for i in 0..6 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     for i in 0..6 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_render` is never used
[INFO] [stdout]    --> src/main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn test_render() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shenzen-solitaire` (bin "shenzen-solitaire") due to 3 previous errors; 27 warnings emitted
[INFO] [stdout] warning: method `to_index` is never used
[INFO] [stdout]   --> src/game_logic.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Suit {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 15 |     pub fn to_index(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:229:5
[INFO] [stdout]     |
[INFO] [stdout] 229 |     io::stdout().flush();
[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] 229 |     let _ = io::stdout().flush();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         io::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] 241 |         let _ = io::stdout().flush();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         io::stdin().read_line(&mut buf);
[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] 244 |         let _ = io::stdin().read_line(&mut buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Red` should have a snake case name
[INFO] [stdout]   --> src/game_logic.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Red => 0,
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Green` should have a snake case name
[INFO] [stdout]   --> src/game_logic.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Green => 1,
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Black` should have a snake case name
[INFO] [stdout]   --> src/game_logic.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Black => 2,
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shenzen-solitaire` (bin "shenzen-solitaire" test) due to 3 previous errors; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2ae8942217fd011a206d3c5ae94cbfb668e6c17bdd9e4a4de6795cdd02117e57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ae8942217fd011a206d3c5ae94cbfb668e6c17bdd9e4a4de6795cdd02117e57", kill_on_drop: false }`
[INFO] [stdout] 2ae8942217fd011a206d3c5ae94cbfb668e6c17bdd9e4a4de6795cdd02117e57
