[INFO] cloning repository https://github.com/Abishevs/poker-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abishevs/poker-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbishevs%2Fpoker-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbishevs%2Fpoker-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 34914eba4a8666b2b42310461c4f5614efc3dc1c
[INFO] testing Abishevs/poker-engine against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbishevs%2Fpoker-engine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Abishevs/poker-engine on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Abishevs/poker-engine
[INFO] finished tweaking git repo https://github.com/Abishevs/poker-engine
[INFO] tweaked toml for git repo https://github.com/Abishevs/poker-engine written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Abishevs/poker-engine 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4e8f6183fbbf1071d2bc9b9c6d733e22b3a4bd763afb9fa5192cc156dbd171b1
[INFO] running `Command { std: "docker" "start" "-a" "4e8f6183fbbf1071d2bc9b9c6d733e22b3a4bd763afb9fa5192cc156dbd171b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e8f6183fbbf1071d2bc9b9c6d733e22b3a4bd763afb9fa5192cc156dbd171b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e8f6183fbbf1071d2bc9b9c6d733e22b3a4bd763afb9fa5192cc156dbd171b1", kill_on_drop: false }`
[INFO] [stdout] 4e8f6183fbbf1071d2bc9b9c6d733e22b3a4bd763afb9fa5192cc156dbd171b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 105b507a56a19d2da1594e629797574203044b7a1a897c7d111557d5da636ba4
[INFO] running `Command { std: "docker" "start" "-a" "105b507a56a19d2da1594e629797574203044b7a1a897c7d111557d5da636ba4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling itertools v0.12.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling enum-iterator-derive v1.2.1
[INFO] [stderr]    Compiling enum-iterator v1.4.1
[INFO] [stderr]    Compiling poker-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/main.rs:162:48
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 best_combo = combo.iter().map(|&&card| card).collect();
[INFO] [stdout]     |                                                ^^----
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  data moved here
[INFO] [stdout]     |                                                  move occurs because `card` has type `Card`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 162 -                 best_combo = combo.iter().map(|&&card| card).collect();
[INFO] [stdout] 162 +                 best_combo = combo.iter().map(|&card| card).collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to `self.combo`, which is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.combo = Some(best_combo);
[INFO] [stdout]     |         ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn evaluate(&mut self, player_cards: &[Card], community_cards: &[Card]) -> HandType {
[INFO] [stdout]     |                 ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to `self.hand_type`, which is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         self.hand_type = Some(best_hand);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn evaluate(&mut self, player_cards: &[Card], community_cards: &[Card]) -> HandType {
[INFO] [stdout]     |                 ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0594.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `poker-engine` (bin "poker-engine") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "105b507a56a19d2da1594e629797574203044b7a1a897c7d111557d5da636ba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "105b507a56a19d2da1594e629797574203044b7a1a897c7d111557d5da636ba4", kill_on_drop: false }`
[INFO] [stdout] 105b507a56a19d2da1594e629797574203044b7a1a897c7d111557d5da636ba4
[INFO] testing Abishevs/poker-engine against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbishevs%2Fpoker-engine" "/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/Abishevs/poker-engine on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Abishevs/poker-engine
[INFO] finished tweaking git repo https://github.com/Abishevs/poker-engine
[INFO] tweaked toml for git repo https://github.com/Abishevs/poker-engine written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Abishevs/poker-engine 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" "+beta-2023-12-22" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92a623a262a2ce1d7858a0caac5431d20fecb035a9586485a66a907868052da0
[INFO] running `Command { std: "docker" "start" "-a" "92a623a262a2ce1d7858a0caac5431d20fecb035a9586485a66a907868052da0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92a623a262a2ce1d7858a0caac5431d20fecb035a9586485a66a907868052da0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92a623a262a2ce1d7858a0caac5431d20fecb035a9586485a66a907868052da0", kill_on_drop: false }`
[INFO] [stdout] 92a623a262a2ce1d7858a0caac5431d20fecb035a9586485a66a907868052da0
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5dc4f1f9a4e02ee7a5b77a41f2331d1492c156d44b21359199c8145e90b03f7
[INFO] running `Command { std: "docker" "start" "-a" "f5dc4f1f9a4e02ee7a5b77a41f2331d1492c156d44b21359199c8145e90b03f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling itertools v0.12.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling enum-iterator-derive v1.2.1
[INFO] [stderr]    Compiling enum-iterator v1.4.1
[INFO] [stderr]    Compiling poker-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/main.rs:162:48
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 best_combo = combo.iter().map(|&&card| card).collect();
[INFO] [stdout]     |                                                ^^----
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  data moved here
[INFO] [stdout]     |                                                  move occurs because `card` has type `Card`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 162 -                 best_combo = combo.iter().map(|&&card| card).collect();
[INFO] [stdout] 162 +                 best_combo = combo.iter().map(|&card| card).collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to `self.combo`, which is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.combo = Some(best_combo);
[INFO] [stdout]     |         ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn evaluate(&mut self, player_cards: &[Card], community_cards: &[Card]) -> HandType {
[INFO] [stdout]     |                 ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to `self.hand_type`, which is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         self.hand_type = Some(best_hand);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn evaluate(&mut self, player_cards: &[Card], community_cards: &[Card]) -> HandType {
[INFO] [stdout]     |                 ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0594.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `poker-engine` (bin "poker-engine") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "f5dc4f1f9a4e02ee7a5b77a41f2331d1492c156d44b21359199c8145e90b03f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5dc4f1f9a4e02ee7a5b77a41f2331d1492c156d44b21359199c8145e90b03f7", kill_on_drop: false }`
[INFO] [stdout] f5dc4f1f9a4e02ee7a5b77a41f2331d1492c156d44b21359199c8145e90b03f7
