[INFO] cloning repository https://github.com/benj2468/cards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benj2468/cards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenj2468%2Fcards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenj2468%2Fcards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46cc1eff859e6a969cad231368b2d41683c7240c [INFO] checking benj2468/cards against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenj2468%2Fcards" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/benj2468/cards [INFO] finished tweaking git repo https://github.com/benj2468/cards [INFO] tweaked toml for git repo https://github.com/benj2468/cards written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/benj2468/cards on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/benj2468/cards 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.8 [INFO] [stderr] Downloaded zeroize v0.9.3 [INFO] [stderr] Downloaded console v0.13.0 [INFO] [stderr] Downloaded terminal_size v0.1.15 [INFO] [stderr] Downloaded dialoguer v0.7.1 [INFO] [stderr] Downloaded rand_core v0.6.0 [INFO] [stderr] Downloaded rand v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d68019fe4af48a0652b2125dcfc072af0de985e2ace4f54aee11efdea4e99a21 [INFO] running `Command { std: "docker" "start" "-a" "d68019fe4af48a0652b2125dcfc072af0de985e2ace4f54aee11efdea4e99a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d68019fe4af48a0652b2125dcfc072af0de985e2ace4f54aee11efdea4e99a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68019fe4af48a0652b2125dcfc072af0de985e2ace4f54aee11efdea4e99a21", kill_on_drop: false }` [INFO] [stdout] d68019fe4af48a0652b2125dcfc072af0de985e2ace4f54aee11efdea4e99a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5920b119e967be89a3dd9b0275c3960268a119a17bcc727a031f295d1161e14d [INFO] running `Command { std: "docker" "start" "-a" "5920b119e967be89a3dd9b0275c3960268a119a17bcc727a031f295d1161e14d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking dialoguer v0.7.1 [INFO] [stderr] Checking cards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite_suit` [INFO] [stdout] --> src/games/klondike.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let opposite_suit = if move_card.color() { Suit::Club } else { Suit::Diamond }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite_suit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/games/klondike.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | Err(e) => return Err(String::from("Unable to make that move")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_move_aces` is never used [INFO] [stdout] --> src/games/aces_up.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl AcesUpGame [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn try_move_aces(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_visible`, `see`, `hide`, and `color` are never used [INFO] [stdout] --> src/games/../utils/deck.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Card { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_visible(suit: Suit, rank: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn see(mut self) -> Card [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn hide(mut self) -> Card [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn color(&self) -> bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_deck`, `deal`, and `top_card` are never used [INFO] [stdout] --> src/games/../utils/deck.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 114 | pub fn new_deck(with_joker: bool) -> Stack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn deal(&mut self, count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn top_card(&self) -> Option<&Card> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_visible`, `is_ace`, and `hide` are never used [INFO] [stdout] --> src/games/../utils/deck.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Card { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_visible(suit: Suit, rank: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_ace(&self) -> bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn hide(mut self) -> Card [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_deck_reverse` and `deal` are never used [INFO] [stdout] --> src/games/../utils/deck.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new_deck_reverse(with_joker: bool) -> Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn deal(&mut self, count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Game` is never used [INFO] [stdout] --> src/games/game.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CARD_RANK` is never used [INFO] [stdout] --> src/utils/deck.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MAX_CARD_RANK: u8 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Suit` is never used [INFO] [stdout] --> src/utils/deck.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Suit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Card` is never constructed [INFO] [stdout] --> src/utils/deck.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite_suit` [INFO] [stdout] --> src/games/klondike.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let opposite_suit = if move_card.color() { Suit::Club } else { Suit::Diamond }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite_suit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/deck.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Card { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 37 | pub fn new(suit: Suit, rank: u8) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_visible(suit: Suit, rank: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_ace(&self) -> bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_visible(&mut self, new_val: bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn see(mut self) -> Card [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn hide(mut self) -> Card [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn color(&self) -> bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/utils/deck.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/deck.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 114 | pub fn new_deck(with_joker: bool) -> Stack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new_deck_reverse(with_joker: bool) -> Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn shuffle(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn draw(&mut self) -> Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn deal(&mut self, count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn top_card(&self) -> Option<&Card> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/games/klondike.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | Err(e) => return Err(String::from("Unable to make that move")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | select_game(); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = select_game(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_move_aces` is never used [INFO] [stdout] --> src/games/aces_up.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl AcesUpGame [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn try_move_aces(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `see`, `hide`, and `color` are never used [INFO] [stdout] --> src/games/../utils/deck.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Card { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn see(mut self) -> Card [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn hide(mut self) -> Card [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn color(&self) -> bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `top_card` is never used [INFO] [stdout] --> src/games/../utils/deck.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn top_card(&self) -> Option<&Card> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_hidden_card` is never used [INFO] [stdout] --> src/games/../utils/deck.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn new_hidden_card() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ace` and `hide` are never used [INFO] [stdout] --> src/games/../utils/deck.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Card { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_ace(&self) -> bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn hide(mut self) -> Card [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_deck_reverse` is never used [INFO] [stdout] --> src/games/../utils/deck.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Stack { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new_deck_reverse(with_joker: bool) -> Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Game` is never used [INFO] [stdout] --> src/games/game.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ace`, `set_visible`, `see`, `hide`, and `color` are never used [INFO] [stdout] --> src/utils/deck.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Card { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_ace(&self) -> bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_visible(&mut self, new_val: bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn see(mut self) -> Card [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn hide(mut self) -> Card [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn color(&self) -> bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_deck_reverse` and `top_card` are never used [INFO] [stdout] --> src/utils/deck.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new_deck_reverse(with_joker: bool) -> Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn top_card(&self) -> Option<&Card> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_hidden_card` is never used [INFO] [stdout] --> src/utils/deck.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn new_hidden_card() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | select_game(); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = select_game(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "5920b119e967be89a3dd9b0275c3960268a119a17bcc727a031f295d1161e14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5920b119e967be89a3dd9b0275c3960268a119a17bcc727a031f295d1161e14d", kill_on_drop: false }` [INFO] [stdout] 5920b119e967be89a3dd9b0275c3960268a119a17bcc727a031f295d1161e14d