[INFO] cloning repository https://github.com/YBStolker/nutcracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YBStolker/nutcracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYBStolker%2Fnutcracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYBStolker%2Fnutcracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8a5be0abaacf3767627917646ffb5797cd277de [INFO] building YBStolker/nutcracker against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYBStolker%2Fnutcracker" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YBStolker/nutcracker on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YBStolker/nutcracker [INFO] finished tweaking git repo https://github.com/YBStolker/nutcracker [INFO] tweaked toml for git repo https://github.com/YBStolker/nutcracker written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YBStolker/nutcracker 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea308d666a9227de8359961575a7e8ff5d985e9cee108b66f7fc6578d6a554a2 [INFO] running `Command { std: "docker" "start" "-a" "ea308d666a9227de8359961575a7e8ff5d985e9cee108b66f7fc6578d6a554a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea308d666a9227de8359961575a7e8ff5d985e9cee108b66f7fc6578d6a554a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea308d666a9227de8359961575a7e8ff5d985e9cee108b66f7fc6578d6a554a2", kill_on_drop: false }` [INFO] [stdout] ea308d666a9227de8359961575a7e8ff5d985e9cee108b66f7fc6578d6a554a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c618a0405c401fdf1db613c0b438989bcde7984a15c805094d4b04a4f095bf50 [INFO] running `Command { std: "docker" "start" "-a" "c618a0405c401fdf1db613c0b438989bcde7984a15c805094d4b04a4f095bf50", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Compiling nutcracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/engine/outcome.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/engine/outcome.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/gameplay/game.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | for p in self.players.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_add_cards` and `try_remove_cards` are never used [INFO] [stdout] --> src/engine/cards.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Cards { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn try_add_cards(&self, cards: &Cards) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn try_remove_cards(&self, cards: &Cards) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/out_runner.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOutcome(Cards), [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunoutError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOutcome(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidHand`, `InvalidTable`, and `CardCountTooLow` are never constructed [INFO] [stdout] --> src/engine/out_runner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum RunoutError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | InvalidHand(Cards), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | InvalidTable(Cards), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | CardCountTooLow(Cards, Cards), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunoutError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `win`, `tie`, and `loss` are never read [INFO] [stdout] --> src/engine/out_runner.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Chance { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | win: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | tie: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | loss: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normalize` and `add` are never used [INFO] [stdout] --> src/engine/out_runner.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Chance { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 43 | pub fn normalize(self) -> Chance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn add(&mut self, other: Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runout` is never used [INFO] [stdout] --> src/engine/out_runner.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn runout(player: Cards, table: Cards, deck: Cards) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bet`, `Flop`, `Turn`, and `River` are never constructed [INFO] [stdout] --> src/gameplay/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum GameEvent { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Bet(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Flop(Cards), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Turn(Cards), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | River(Cards), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameEvent` 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: fields `players`, `dealer`, `deck`, and `game_history` are never read [INFO] [stdout] --> src/gameplay/game.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | players: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | dealer: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | deck: Cards, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | game_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_round`, `add_player`, and `add_bet` are never used [INFO] [stdout] --> src/gameplay/game.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 22 | pub fn new_round(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_player(&mut self, player: Player) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_bet(&mut self, bet: u32) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `stack` are never read [INFO] [stdout] --> src/gameplay/player.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | stack: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gameplay/player.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(name: String, stack: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_all_combos` is never used [INFO] [stdout] --> src/util/all_bit_combo_iterator.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait IntoAllBitIterator { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] 9 | fn iter_all_combos(self, count: usize) -> AllBitIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "c618a0405c401fdf1db613c0b438989bcde7984a15c805094d4b04a4f095bf50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c618a0405c401fdf1db613c0b438989bcde7984a15c805094d4b04a4f095bf50", kill_on_drop: false }` [INFO] [stdout] c618a0405c401fdf1db613c0b438989bcde7984a15c805094d4b04a4f095bf50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25b15f9a3225dc5b3ded9d4eb48f5e911ff55bfc5a8970d7b0f80461419240b1 [INFO] running `Command { std: "docker" "start" "-a" "25b15f9a3225dc5b3ded9d4eb48f5e911ff55bfc5a8970d7b0f80461419240b1", kill_on_drop: false }` [INFO] [stderr] Compiling nutcracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/engine/outcome.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/engine/outcome.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/engine/out_runner.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let hand = Cards::from(ACE & CLUB | ACE & DIAMOND); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/engine/out_runner.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let table = Cards::from(ACE & SPADE | ACE & HEART | KING & DIAMOND); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deck` [INFO] [stdout] --> src/engine/out_runner.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let deck = Cards::from( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/gameplay/game.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | for p in self.players.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_add_cards` and `try_remove_cards` are never used [INFO] [stdout] --> src/engine/cards.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Cards { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn try_add_cards(&self, cards: &Cards) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn try_remove_cards(&self, cards: &Cards) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/out_runner.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOutcome(Cards), [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunoutError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOutcome(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidHand`, `InvalidTable`, and `CardCountTooLow` are never constructed [INFO] [stdout] --> src/engine/out_runner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum RunoutError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | InvalidHand(Cards), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | InvalidTable(Cards), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | CardCountTooLow(Cards, Cards), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunoutError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `win`, `tie`, and `loss` are never read [INFO] [stdout] --> src/engine/out_runner.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Chance { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | win: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | tie: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | loss: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normalize` and `add` are never used [INFO] [stdout] --> src/engine/out_runner.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Chance { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 43 | pub fn normalize(self) -> Chance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn add(&mut self, other: Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runout` is never used [INFO] [stdout] --> src/engine/out_runner.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn runout(player: Cards, table: Cards, deck: Cards) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bet`, `Flop`, `Turn`, and `River` are never constructed [INFO] [stdout] --> src/gameplay/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum GameEvent { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Bet(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Flop(Cards), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Turn(Cards), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | River(Cards), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameEvent` 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: fields `players`, `dealer`, `deck`, and `game_history` are never read [INFO] [stdout] --> src/gameplay/game.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | players: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | dealer: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | deck: Cards, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | game_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_round`, `add_player`, and `add_bet` are never used [INFO] [stdout] --> src/gameplay/game.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 22 | pub fn new_round(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_player(&mut self, player: Player) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_bet(&mut self, bet: u32) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `stack` are never read [INFO] [stdout] --> src/gameplay/player.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | stack: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gameplay/player.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(name: String, stack: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "25b15f9a3225dc5b3ded9d4eb48f5e911ff55bfc5a8970d7b0f80461419240b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b15f9a3225dc5b3ded9d4eb48f5e911ff55bfc5a8970d7b0f80461419240b1", kill_on_drop: false }` [INFO] [stdout] 25b15f9a3225dc5b3ded9d4eb48f5e911ff55bfc5a8970d7b0f80461419240b1