[INFO] cloning repository https://github.com/biddellns/poker.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/biddellns/poker.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiddellns%2Fpoker.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiddellns%2Fpoker.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4df046fc62d15b8307d1afbd583386d834ec459f [INFO] checking biddellns/poker.rs against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiddellns%2Fpoker.rs" "/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/biddellns/poker.rs on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/biddellns/poker.rs [INFO] finished tweaking git repo https://github.com/biddellns/poker.rs [INFO] tweaked toml for git repo https://github.com/biddellns/poker.rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/biddellns/poker.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking biddellns/poker.rs against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiddellns%2Fpoker.rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/biddellns/poker.rs on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/biddellns/poker.rs [INFO] finished tweaking git repo https://github.com/biddellns/poker.rs [INFO] tweaked toml for git repo https://github.com/biddellns/poker.rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/biddellns/poker.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1593dcd5e45b42607cf43d8867303fcd6ddf60dc7c752c6e21d3da9de5213d19 [INFO] running `Command { std: "docker" "start" "-a" "1593dcd5e45b42607cf43d8867303fcd6ddf60dc7c752c6e21d3da9de5213d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1593dcd5e45b42607cf43d8867303fcd6ddf60dc7c752c6e21d3da9de5213d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1593dcd5e45b42607cf43d8867303fcd6ddf60dc7c752c6e21d3da9de5213d19", kill_on_drop: false }` [INFO] [stdout] 1593dcd5e45b42607cf43d8867303fcd6ddf60dc7c752c6e21d3da9de5213d19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5413ac5e1ddb970a8a8c8b0d50e529ace00ac00934d20d1b47dfff523cd5336d [INFO] running `Command { std: "docker" "start" "-a" "5413ac5e1ddb970a8a8c8b0d50e529ace00ac00934d20d1b47dfff523cd5336d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: unused imports: `Shuffled`, `Start` [INFO] [stdout] --> engine/src/state.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | use crate::state::{Shuffled, Start, TexasHoldemHand, CARDS_PER_PLAYER}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cards::Suit::Heart` [INFO] [stdout] --> engine/src/table.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | use crate::cards::Suit::Heart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/cards.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | .fold(String::new(), |mut acc, card| acc + &format!(", {}", card)); [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: variable does not need to be mutable [INFO] [stdout] --> engine/src/cards.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | .fold(String::new(), |mut acc, card| acc + &format!(", {}", card)); [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: methods `push` and `len` are never used [INFO] [stdout] --> engine/src/cards.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Cards { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 51 | fn push(&mut self, card: Card) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARDS_PER_PLAYER` is never used [INFO] [stdout] --> engine/src/state.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const CARDS_PER_PLAYER: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TexasHoldemHand` is never constructed [INFO] [stdout] --> engine/src/state.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct TexasHoldemHand<'a, 'b, S: State> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DealtFlop` is never constructed [INFO] [stdout] --> engine/src/state.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct DealtFlop {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DealtRiver` is never constructed [INFO] [stdout] --> engine/src/state.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct DealtRiver {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DealTurn` is never constructed [INFO] [stdout] --> engine/src/state.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct DealTurn {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvalWinner` is never constructed [INFO] [stdout] --> engine/src/state.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct EvalWinner {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `shuffle` are never used [INFO] [stdout] --> engine/src/state.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, 'b> TexasHoldemHand<'a, 'b, Start> { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new(players: &'a mut [Player<'b>]) -> TexasHoldemHand<'a, 'b, Start> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn shuffle(mut self) -> TexasHoldemHand<'a, 'b, Shuffled> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deal_to_players` is never used [INFO] [stdout] --> engine/src/state.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a, 'b> TexasHoldemHand<'a, 'b, Shuffled> { [INFO] [stdout] | ---------------------------------------------- method in this implementation [INFO] [stdout] 71 | fn deal_to_players(mut self) -> Result, Errors> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotEnoughCardsToDeal` is never constructed [INFO] [stdout] --> engine/src/state.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Errors { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 98 | NotEnoughCardsToDeal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Errors` 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 `add_player` and `set_player_limit` are never used [INFO] [stdout] --> engine/src/table.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Table<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_player(&mut self, player: &'a Player<'a>) -> Result<(), Errors> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_player_limit(&mut self, limit: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `receive_card`, and `get_num_cards` are never used [INFO] [stdout] --> engine/src/table.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Player<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 57 | pub(crate) fn new(name: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn receive_card(&mut self, card: Card) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_num_cards(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PlayerLimitExceeded` is never constructed [INFO] [stdout] --> engine/src/table.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Errors { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 81 | PlayerLimitExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Errors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `players` [INFO] [stdout] --> engine/src/state.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let players: &[Player] = &[Player::new("halp")]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> engine/src/state.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let hand = hand.deal_to_players().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> engine/src/state.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let hand = hand.deal_to_players(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/state.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut hand = TexasHoldemHand::new(players.deref_mut()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: methods `push` and `len` are never used [INFO] [stdout] --> engine/src/cards.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Cards { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 51 | fn push(&mut self, card: Card) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DealtFlop` is never constructed [INFO] [stdout] --> engine/src/state.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct DealtFlop {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DealtRiver` is never constructed [INFO] [stdout] --> engine/src/state.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct DealtRiver {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DealTurn` is never constructed [INFO] [stdout] --> engine/src/state.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct DealTurn {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvalWinner` is never constructed [INFO] [stdout] --> engine/src/state.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct EvalWinner {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.85s [INFO] running `Command { std: "docker" "inspect" "5413ac5e1ddb970a8a8c8b0d50e529ace00ac00934d20d1b47dfff523cd5336d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5413ac5e1ddb970a8a8c8b0d50e529ace00ac00934d20d1b47dfff523cd5336d", kill_on_drop: false }` [INFO] [stdout] 5413ac5e1ddb970a8a8c8b0d50e529ace00ac00934d20d1b47dfff523cd5336d