[INFO] cloning repository https://github.com/Akari202/card_games_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akari202/card_games_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkari202%2Fcard_games_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkari202%2Fcard_games_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 67c26a3a814096b903bea4b11f99c6c0736ffab9
[INFO] checking Akari202/card_games_rs against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkari202%2Fcard_games_rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Akari202/card_games_rs
[INFO] finished tweaking git repo https://github.com/Akari202/card_games_rs
[INFO] tweaked toml for git repo https://github.com/Akari202/card_games_rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Akari202/card_games_rs on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Akari202/card_games_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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac6c16af7fc497c0d4701033c18e3a7269b96a0344c34c124721bc09402fa969
[INFO] running `Command { std: "docker" "start" "-a" "ac6c16af7fc497c0d4701033c18e3a7269b96a0344c34c124721bc09402fa969", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac6c16af7fc497c0d4701033c18e3a7269b96a0344c34c124721bc09402fa969", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac6c16af7fc497c0d4701033c18e3a7269b96a0344c34c124721bc09402fa969", kill_on_drop: false }`
[INFO] [stdout] ac6c16af7fc497c0d4701033c18e3a7269b96a0344c34c124721bc09402fa969
[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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76a0966b03a70e24775f06a5b0f952a3e85cd61ae6b32952dea6744c702c2d22
[INFO] running `Command { std: "docker" "start" "-a" "76a0966b03a70e24775f06a5b0f952a3e85cd61ae6b32952dea6744c702c2d22", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking colored v2.0.4
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking playin-cards v0.1.2
[INFO] [stderr]     Checking card_games_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `io::stdin`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{io::stdin, error::Error};
[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: `crate::trash`
[INFO] [stdout]  --> src/cribbage.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::trash;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::stdin`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{io::stdin, error::Error};
[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: `crate::trash`
[INFO] [stdout]  --> src/cribbage.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::trash;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Vec<usize>: Copy` is not satisfied
[INFO] [stdout]   --> src/cribbage.rs:47:44
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut skunks: [Vec<usize>; 3] = [Vec::new(); 3];
[INFO] [stdout]    |                                            ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<usize>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the `Copy` trait is required because this value will be copied for each element of the array
[INFO] [stdout] help: create an inline `const` block
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut skunks: [Vec<usize>; 3] = [const { Vec::new() }; 3];
[INFO] [stdout]    |                                            +++++++            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Vec<usize>: Copy` is not satisfied
[INFO] [stdout]   --> src/cribbage.rs:47:44
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut skunks: [Vec<usize>; 3] = [Vec::new(); 3];
[INFO] [stdout]    |                                            ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<usize>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the `Copy` trait is required because this value will be copied for each element of the array
[INFO] [stdout] help: create an inline `const` block
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut skunks: [Vec<usize>; 3] = [const { Vec::new() }; 3];
[INFO] [stdout]    |                                            +++++++            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/cribbage.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .map(|i| {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crib_player`
[INFO] [stdout]   --> src/cribbage.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn new(crib_player: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crib_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cribbage.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut game: CribbageGame = CribbageGame::new();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]   --> src/cribbage.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut game: CribbageGame = CribbageGame::new();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/cribbage.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .map(|i| {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crib_player`
[INFO] [stdout]   --> src/cribbage.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn new(crib_player: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crib_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cribbage.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut game: CribbageGame = CribbageGame::new();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]   --> src/cribbage.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut game: CribbageGame = CribbageGame::new();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `card_games_rs` (bin "card_games_rs" test) due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `card_games_rs` (bin "card_games_rs") due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "76a0966b03a70e24775f06a5b0f952a3e85cd61ae6b32952dea6744c702c2d22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76a0966b03a70e24775f06a5b0f952a3e85cd61ae6b32952dea6744c702c2d22", kill_on_drop: false }`
[INFO] [stdout] 76a0966b03a70e24775f06a5b0f952a3e85cd61ae6b32952dea6744c702c2d22
