[INFO] cloning repository https://github.com/colinthornton/cribbage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colinthornton/cribbage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinthornton%2Fcribbage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinthornton%2Fcribbage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 806eeaf9ca4414aa8c94aa7805feebd5563e5ece [INFO] testing colinthornton/cribbage against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinthornton%2Fcribbage" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/colinthornton/cribbage [INFO] finished tweaking git repo https://github.com/colinthornton/cribbage [INFO] tweaked toml for git repo https://github.com/colinthornton/cribbage written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/colinthornton/cribbage on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/colinthornton/cribbage 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e7eb661d3876416a72536ff8209325d1a769222528f708bc09243a48a193443 [INFO] running `Command { std: "docker" "start" "-a" "7e7eb661d3876416a72536ff8209325d1a769222528f708bc09243a48a193443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e7eb661d3876416a72536ff8209325d1a769222528f708bc09243a48a193443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7eb661d3876416a72536ff8209325d1a769222528f708bc09243a48a193443", kill_on_drop: false }` [INFO] [stdout] 7e7eb661d3876416a72536ff8209325d1a769222528f708bc09243a48a193443 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd1d5abfc96071b9ea5420548fe1b39661e7ddefd2cafcb7868514802870044a [INFO] running `Command { std: "docker" "start" "-a" "fd1d5abfc96071b9ea5420548fe1b39661e7ddefd2cafcb7868514802870044a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling strum_macros v0.26.3 [INFO] [stderr] Compiling cribbage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `human::launch_human` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use human::launch_human; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | for player in self.players.iter_mut() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `launch_human` is never used [INFO] [stdout] --> src/human.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn launch_human(event_receiver: Receiver, action_sender: SyncSender) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discard_cards` is never used [INFO] [stdout] --> src/human.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn discard_cards(cards: Vec, dealer: bool) -> [Card; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_play` is never used [INFO] [stdout] --> src/human.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn select_play(hand: Vec, _played: Vec, count: u8) -> Card { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.63s [INFO] running `Command { std: "docker" "inspect" "fd1d5abfc96071b9ea5420548fe1b39661e7ddefd2cafcb7868514802870044a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd1d5abfc96071b9ea5420548fe1b39661e7ddefd2cafcb7868514802870044a", kill_on_drop: false }` [INFO] [stdout] fd1d5abfc96071b9ea5420548fe1b39661e7ddefd2cafcb7868514802870044a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c102312518c6ada3aa989cfc55576da7112661b9bfef5dd72e124d316af7a207 [INFO] running `Command { std: "docker" "start" "-a" "c102312518c6ada3aa989cfc55576da7112661b9bfef5dd72e124d316af7a207", kill_on_drop: false }` [INFO] [stderr] Compiling cribbage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `human::launch_human` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use human::launch_human; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | for player in self.players.iter_mut() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `launch_human` is never used [INFO] [stdout] --> src/human.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn launch_human(event_receiver: Receiver, action_sender: SyncSender) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discard_cards` is never used [INFO] [stdout] --> src/human.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn discard_cards(cards: Vec, dealer: bool) -> [Card; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_play` is never used [INFO] [stdout] --> src/human.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn select_play(hand: Vec, _played: Vec, count: u8) -> Card { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "c102312518c6ada3aa989cfc55576da7112661b9bfef5dd72e124d316af7a207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c102312518c6ada3aa989cfc55576da7112661b9bfef5dd72e124d316af7a207", kill_on_drop: false }` [INFO] [stdout] c102312518c6ada3aa989cfc55576da7112661b9bfef5dd72e124d316af7a207 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ce99d8c52b2cbd3586e5bd539e6f00266d02e983b6258bc20e5ae88c2448d93 [INFO] running `Command { std: "docker" "start" "-a" "0ce99d8c52b2cbd3586e5bd539e6f00266d02e983b6258bc20e5ae88c2448d93", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `human::launch_human` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use human::launch_human; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/game.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | for player in self.players.iter_mut() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `launch_human` is never used [INFO] [stderr] --> src/human.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn launch_human(event_receiver: Receiver, action_sender: SyncSender) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `discard_cards` is never used [INFO] [stderr] --> src/human.rs:36:4 [INFO] [stderr] | [INFO] [stderr] 36 | fn discard_cards(cards: Vec, dealer: bool) -> [Card; 2] { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `select_play` is never used [INFO] [stderr] --> src/human.rs:68:4 [INFO] [stderr] | [INFO] [stderr] 68 | fn select_play(hand: Vec, _played: Vec, count: u8) -> Card { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cribbage` (bin "cribbage" test) generated 5 warnings (run `cargo fix --bin "cribbage" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cribbage-28695882f24f039f) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test the_play::tests::it_counts_pair_royals ... ok [INFO] [stdout] test the_play::tests::it_counts_fifteens ... ok [INFO] [stdout] test the_play::tests::it_counts_double_pair_royals ... ok [INFO] [stdout] test the_play::tests::it_counts_runs_of_five ... ok [INFO] [stdout] test the_play::tests::it_counts_pairs ... ok [INFO] [stdout] test the_play::tests::it_counts_runs_of_four ... ok [INFO] [stdout] test the_show::tests::it_counts_a_nineteen_point_hand ... ok [INFO] [stdout] test the_show::tests::it_counts_double_run_of_four ... ok [INFO] [stdout] test the_show::tests::it_counts_fifteens ... ok [INFO] [stdout] test the_show::tests::it_counts_four_card ... ok [INFO] [stdout] test the_show::tests::it_counts_double_run_of_three ... ok [INFO] [stdout] test the_show::tests::it_counts_nobs ... ok [INFO] [stdout] test the_show::tests::it_counts_five_card ... ok [INFO] [stdout] test the_show::tests::it_counts_pairs ... ok [INFO] [stdout] test the_play::tests::it_counts_runs_of_three ... ok [INFO] [stdout] test the_show::tests::it_counts_run_of_four ... ok [INFO] [stdout] test the_show::tests::it_counts_run_of_five ... ok [INFO] [stdout] test the_show::tests::it_counts_run_of_three ... ok [INFO] [stdout] test the_play::tests::it_counts_runs_of_seven ... ok [INFO] [stdout] test the_show::tests::it_counts_the_highest_scoring_hand ... ok [INFO] [stdout] test the_show::tests::it_counts_triple_run_of_three ... ok [INFO] [stdout] test the_play::tests::it_counts_runs_of_six ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0ce99d8c52b2cbd3586e5bd539e6f00266d02e983b6258bc20e5ae88c2448d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce99d8c52b2cbd3586e5bd539e6f00266d02e983b6258bc20e5ae88c2448d93", kill_on_drop: false }` [INFO] [stdout] 0ce99d8c52b2cbd3586e5bd539e6f00266d02e983b6258bc20e5ae88c2448d93