[INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/justinaustin/bullpoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinaustin/bullpoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d8365f09deb3acada33d3d1db4084d9146e3e68 [INFO] checking justinaustin/bullpoker against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-2-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.filemode' to 'true' [INFO] checking justinaustin/bullpoker against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [INFO] checking justinaustin/bullpoker against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinaustin%2Fbullpoker" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justinaustin/bullpoker on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/justinaustin/bullpoker [INFO] finished tweaking git repo https://github.com/justinaustin/bullpoker [INFO] tweaked toml for git repo https://github.com/justinaustin/bullpoker written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/justinaustin/bullpoker 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd2624e6f519cb48385bcf053c2508f7ef3da6c07a3867932fa91e647586b03d [INFO] running `Command { std: "docker" "start" "-a" "fd2624e6f519cb48385bcf053c2508f7ef3da6c07a3867932fa91e647586b03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd2624e6f519cb48385bcf053c2508f7ef3da6c07a3867932fa91e647586b03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2624e6f519cb48385bcf053c2508f7ef3da6c07a3867932fa91e647586b03d", kill_on_drop: false }` [INFO] [stdout] fd2624e6f519cb48385bcf053c2508f7ef3da6c07a3867932fa91e647586b03d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb41b0af24eefe62703bc3d55eafbd77f280dd4ce76ff45425c12231f4506a0 [INFO] running `Command { std: "docker" "start" "-a" "3cb41b0af24eefe62703bc3d55eafbd77f280dd4ce76ff45425c12231f4506a0", 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.26 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking bullpoker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use game::{Player, GameMove, GameState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hand` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use poker::{Hand, HandValue, BPFlush, BPStraightFlush}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use game::{Player, GameMove, GameState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hand` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use poker::{Hand, HandValue, BPFlush, BPStraightFlush}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hv` [INFO] [stdout] --> src/logic.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | fn handvalue_prob(hv: &HandValue, hand: &Hand, total: u8) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/logic.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | fn handvalue_prob(hv: &HandValue, hand: &Hand, total: u8) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/logic.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | fn handvalue_prob(hv: &HandValue, hand: &Hand, total: u8) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/card.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Card { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `redeal` is never used [INFO] [stdout] --> src/game.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | fn redeal(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handvalue_prob` is never used [INFO] [stdout] --> src/logic.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn handvalue_prob(hv: &HandValue, hand: &Hand, total: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_cards_with_rank` and `get_cards_with_suit` are never used [INFO] [stdout] --> src/poker.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Hand { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_cards_with_rank(&self, rank: Rank) -> Vec<&Card> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn get_cards_with_suit(&self, suit: Suit) -> Vec<&Card> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/game.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | if self.current_turn < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `BPFlush` has no field named `rank` [INFO] [stdout] --> src/poker.rs:494:41 [INFO] [stdout] | [INFO] [stdout] 494 | &HandValue::Flush(BPFlush { rank: Rank::Ace }), [INFO] [stdout] | ^^^^ `BPFlush` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `BPFlush` has no field named `rank` [INFO] [stdout] --> src/poker.rs:497:41 [INFO] [stdout] | [INFO] [stdout] 497 | &HandValue::Flush(BPFlush { rank: Rank::Jack }), [INFO] [stdout] | ^^^^ `BPFlush` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `BPStraightFlush` has no field named `rank` [INFO] [stdout] --> src/poker.rs:607:31 [INFO] [stdout] | [INFO] [stdout] 607 | BPStraightFlush { rank: Rank::Ace }, [INFO] [stdout] | ^^^^ `BPStraightFlush` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `BPStraightFlush` has no field named `rank` [INFO] [stdout] --> src/poker.rs:610:31 [INFO] [stdout] | [INFO] [stdout] 610 | BPStraightFlush { rank: Rank::King }, [INFO] [stdout] | ^^^^ `BPStraightFlush` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hv` [INFO] [stdout] --> src/logic.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | fn handvalue_prob(hv: &HandValue, hand: &Hand, total: u8) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/logic.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | fn handvalue_prob(hv: &HandValue, hand: &Hand, total: u8) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bullpoker` (bin "bullpoker" test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cb41b0af24eefe62703bc3d55eafbd77f280dd4ce76ff45425c12231f4506a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb41b0af24eefe62703bc3d55eafbd77f280dd4ce76ff45425c12231f4506a0", kill_on_drop: false }` [INFO] [stdout] 3cb41b0af24eefe62703bc3d55eafbd77f280dd4ce76ff45425c12231f4506a0