[INFO] cloning repository https://github.com/jonathan-lemos/holdem-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonathan-lemos/holdem-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathan-lemos%2Fholdem-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathan-lemos%2Fholdem-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d1119d3e459024ee33d96fb1c54c58a38983e939
[INFO] checking jonathan-lemos/holdem-server against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathan-lemos%2Fholdem-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jonathan-lemos/holdem-server on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jonathan-lemos/holdem-server
[INFO] finished tweaking git repo https://github.com/jonathan-lemos/holdem-server
[INFO] tweaked toml for git repo https://github.com/jonathan-lemos/holdem-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jonathan-lemos/holdem-server 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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "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 jonathan-lemos/holdem-server against try#57fe1b734d9ff1c8a92bda60b85506b9648158d3 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathan-lemos%2Fholdem-server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jonathan-lemos/holdem-server on toolchain 57fe1b734d9ff1c8a92bda60b85506b9648158d3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jonathan-lemos/holdem-server
[INFO] finished tweaking git repo https://github.com/jonathan-lemos/holdem-server
[INFO] tweaked toml for git repo https://github.com/jonathan-lemos/holdem-server written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/jonathan-lemos/holdem-server 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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking jonathan-lemos/holdem-server against try#57fe1b734d9ff1c8a92bda60b85506b9648158d3 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathan-lemos%2Fholdem-server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jonathan-lemos/holdem-server on toolchain 57fe1b734d9ff1c8a92bda60b85506b9648158d3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jonathan-lemos/holdem-server
[INFO] finished tweaking git repo https://github.com/jonathan-lemos/holdem-server
[INFO] tweaked toml for git repo https://github.com/jonathan-lemos/holdem-server written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/jonathan-lemos/holdem-server 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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 61769898bb5d61ed4d598a8172574710daaf583b520235c9edb8aeffb446fee2
[INFO] running `Command { std: "docker" "start" "-a" "61769898bb5d61ed4d598a8172574710daaf583b520235c9edb8aeffb446fee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61769898bb5d61ed4d598a8172574710daaf583b520235c9edb8aeffb446fee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61769898bb5d61ed4d598a8172574710daaf583b520235c9edb8aeffb446fee2", kill_on_drop: false }`
[INFO] [stdout] 61769898bb5d61ed4d598a8172574710daaf583b520235c9edb8aeffb446fee2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60a82d66ab61d32f0120012de9a7629777eadb1478f2e671cf5dbe877c3ea0e6
[INFO] running `Command { std: "docker" "start" "-a" "60a82d66ab61d32f0120012de9a7629777eadb1478f2e671cf5dbe877c3ea0e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking holdem-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Sub` in this scope
[INFO] [stdout]  --> src/card.rs:9:61
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Copy, Clone, PartialOrd, Ord, PartialEq, Eq, Hash, Sub, Add)]
[INFO] [stdout]   |                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Add` in this scope
[INFO] [stdout]  --> src/card.rs:9:66
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Copy, Clone, PartialOrd, Ord, PartialEq, Eq, Hash, Sub, Add)]
[INFO] [stdout]   |                                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/card.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]  --> src/linq.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::Eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Eq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Sub` in this scope
[INFO] [stdout]  --> src/card.rs:9:61
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Copy, Clone, PartialOrd, Ord, PartialEq, Eq, Hash, Sub, Add)]
[INFO] [stdout]   |                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Add` in this scope
[INFO] [stdout]  --> src/card.rs:9:66
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Copy, Clone, PartialOrd, Ord, PartialEq, Eq, Hash, Sub, Add)]
[INFO] [stdout]   |                                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/card.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]  --> src/linq.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::Eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Eq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_five` found for struct `std::iter::Chain` in the current scope
[INFO] [stdout]    --> src/card.rs:357:61
[INFO] [stdout]     |
[INFO] [stdout] 357 |             return (HandRank::Boat, trip.iter().chain(pair).to_five())
[INFO] [stdout]     |                                                             ^^^^^^^ method not found in `Chain<Iter<'_, Card>, Iter<'_, Card>>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `CardGroups` defines an item `to_five`, perhaps you need to implement it
[INFO] [stdout]    --> src/card.rs:231:1
[INFO] [stdout]     |
[INFO] [stdout] 231 | trait CardGroups {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_five` found for struct `std::iter::Chain` in the current scope
[INFO] [stdout]    --> src/card.rs:357:61
[INFO] [stdout]     |
[INFO] [stdout] 357 |             return (HandRank::Boat, trip.iter().chain(pair).to_five())
[INFO] [stdout]     |                                                             ^^^^^^^ method not found in `Chain<Iter<'_, Card>, Iter<'_, Card>>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `CardGroups` defines an item `to_five`, perhaps you need to implement it
[INFO] [stdout]    --> src/card.rs:231:1
[INFO] [stdout]     |
[INFO] [stdout] 231 | trait CardGroups {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/linq.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn concat(&self, other: Iter<'a, T>) -> Iter<'a, T> {
[INFO] [stdout]    |                                             ----------- expected `std::slice::Iter<'a, T>` because of return type
[INFO] [stdout] 56 |         ConcatIter {i1: *self, i2: other}
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Iter<'_, T>`, found `ConcatIter<'_, T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::slice::Iter<'a, T>`
[INFO] [stdout]               found struct `ConcatIter<'_, T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/linq.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn concat(&self, other: Iter<'a, T>) -> Iter<'a, T> {
[INFO] [stdout]    |                                             ----------- expected `std::slice::Iter<'a, T>` because of return type
[INFO] [stdout] 56 |         ConcatIter {i1: *self, i2: other}
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Iter<'_, T>`, found `ConcatIter<'_, T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::slice::Iter<'a, T>`
[INFO] [stdout]               found struct `ConcatIter<'_, T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `arr` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/card.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         arr.iter_mut().zip(self.iter()).for_each(|x| *x.0 = *x.1);
[INFO] [stdout]     |         ^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut arr = [Card { rank: Rank::Two, suit: Suit::Diamond }; 2];
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `arr` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/card.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |         arr.iter_mut().zip(self.iter()).for_each(|x| *x.0 = *x.1);
[INFO] [stdout]     |         ^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let mut arr = [Card { rank: Rank::Two, suit: Suit::Diamond }; 5];
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `arr` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/card.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         arr.iter_mut().zip(self.iter()).for_each(|x| *x.0 = *x.1);
[INFO] [stdout]     |         ^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 253 |         let mut arr = [Card { rank: Rank::Two, suit: Suit::Diamond }; 7];
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `x`, which is owned by the current function
[INFO] [stdout]    --> src/card.rs:274:79
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let v: Vec<Card> = Rank::iterator().flat_map(|x| Suit::iterator().map(|y| Card {rank: *x, suit: *y})).collect();
[INFO] [stdout]     |                                                                               ^^^             -- `x` is borrowed here
[INFO] [stdout]     |                                                                               |
[INFO] [stdout]     |                                                                               may outlive borrowed value `x`
[INFO] [stdout]     |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]    --> src/card.rs:274:58
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let v: Vec<Card> = Rank::iterator().flat_map(|x| Suit::iterator().map(|y| Card {rank: *x, suit: *y})).collect();
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: to force the closure to take ownership of `x` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let v: Vec<Card> = Rank::iterator().flat_map(|x| Suit::iterator().map(move |y| Card {rank: *x, suit: *y})).collect();
[INFO] [stdout]     |                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `arr` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/card.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         arr.iter_mut().zip(self.iter()).for_each(|x| *x.0 = *x.1);
[INFO] [stdout]     |         ^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut arr = [Card { rank: Rank::Two, suit: Suit::Diamond }; 2];
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `arr` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/card.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |         arr.iter_mut().zip(self.iter()).for_each(|x| *x.0 = *x.1);
[INFO] [stdout]     |         ^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let mut arr = [Card { rank: Rank::Two, suit: Suit::Diamond }; 5];
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `prev`
[INFO] [stdout]    --> src/card.rs:298:17
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let prev = cards[0].rank;
[INFO] [stdout]     |             ----
[INFO] [stdout]     |             |
[INFO] [stdout]     |             first assignment to `prev`
[INFO] [stdout]     |             help: consider making this binding mutable: `mut prev`
[INFO] [stdout] ...
[INFO] [stdout] 298 |                 prev = cur;
[INFO] [stdout]     |                 ^^^^^^^^^^ cannot assign twice to immutable variable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `prev`
[INFO] [stdout]    --> src/card.rs:306:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let prev = cards[0].rank;
[INFO] [stdout]     |             ----
[INFO] [stdout]     |             |
[INFO] [stdout]     |             first assignment to `prev`
[INFO] [stdout]     |             help: consider making this binding mutable: `mut prev`
[INFO] [stdout] ...
[INFO] [stdout] 306 |             prev = cur;
[INFO] [stdout]     |             ^^^^^^^^^^ cannot assign twice to immutable variable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `arr` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/card.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         arr.iter_mut().zip(self.iter()).for_each(|x| *x.0 = *x.1);
[INFO] [stdout]     |         ^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 253 |         let mut arr = [Card { rank: Rank::Two, suit: Suit::Diamond }; 7];
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `ret` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/linq.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let ret: HashMap<K, Vec<T>> = HashMap::new();
[INFO] [stdout]    |             ^^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 17 |             match ret.get_mut(&k) {
[INFO] [stdout]    |                   --- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 22 |                     ret.insert(k, vec![*elem]);
[INFO] [stdout]    |                     --- cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut ret: HashMap<K, Vec<T>> = HashMap::new();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for elem in *self {
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `*self` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]    |                     move occurs because `*self` has type `std::slice::Iter<'_, T>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `*self`
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/iter/traits/collect.rs:311:18
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*elem` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     s.push(*elem);
[INFO] [stdout]    |                            ^^^^^ move occurs because `*elem` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*elem` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 |                     ret.insert(k, vec![*elem]);
[INFO] [stdout]    |                                        ^^^^^ move occurs because `*elem` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*s` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Some(s) => Some(*s),
[INFO] [stdout]    |                             ^^ move occurs because `*s` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*s` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 Some(s) => Some(*s),
[INFO] [stdout]    |                                 ^^ move occurs because `*s` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `x`, which is owned by the current function
[INFO] [stdout]    --> src/card.rs:274:79
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let v: Vec<Card> = Rank::iterator().flat_map(|x| Suit::iterator().map(|y| Card {rank: *x, suit: *y})).collect();
[INFO] [stdout]     |                                                                               ^^^             -- `x` is borrowed here
[INFO] [stdout]     |                                                                               |
[INFO] [stdout]     |                                                                               may outlive borrowed value `x`
[INFO] [stdout]     |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]    --> src/card.rs:274:58
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let v: Vec<Card> = Rank::iterator().flat_map(|x| Suit::iterator().map(|y| Card {rank: *x, suit: *y})).collect();
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: to force the closure to take ownership of `x` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let v: Vec<Card> = Rank::iterator().flat_map(|x| Suit::iterator().map(move |y| Card {rank: *x, suit: *y})).collect();
[INFO] [stdout]     |                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `prev`
[INFO] [stdout]    --> src/card.rs:298:17
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let prev = cards[0].rank;
[INFO] [stdout]     |             ----
[INFO] [stdout]     |             |
[INFO] [stdout]     |             first assignment to `prev`
[INFO] [stdout]     |             help: consider making this binding mutable: `mut prev`
[INFO] [stdout] ...
[INFO] [stdout] 298 |                 prev = cur;
[INFO] [stdout]     |                 ^^^^^^^^^^ cannot assign twice to immutable variable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `prev`
[INFO] [stdout]    --> src/card.rs:306:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let prev = cards[0].rank;
[INFO] [stdout]     |             ----
[INFO] [stdout]     |             |
[INFO] [stdout]     |             first assignment to `prev`
[INFO] [stdout]     |             help: consider making this binding mutable: `mut prev`
[INFO] [stdout] ...
[INFO] [stdout] 306 |             prev = cur;
[INFO] [stdout]     |             ^^^^^^^^^^ cannot assign twice to immutable variable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0373, E0384, E0507, E0596, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `ret` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/linq.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let ret: HashMap<K, Vec<T>> = HashMap::new();
[INFO] [stdout]    |             ^^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 17 |             match ret.get_mut(&k) {
[INFO] [stdout]    |                   --- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 22 |                     ret.insert(k, vec![*elem]);
[INFO] [stdout]    |                     --- cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut ret: HashMap<K, Vec<T>> = HashMap::new();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for elem in *self {
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `*self` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]    |                     move occurs because `*self` has type `std::slice::Iter<'_, T>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `*self`
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/iter/traits/collect.rs:311:18
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*elem` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     s.push(*elem);
[INFO] [stdout]    |                            ^^^^^ move occurs because `*elem` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*elem` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 |                     ret.insert(k, vec![*elem]);
[INFO] [stdout]    |                                        ^^^^^ move occurs because `*elem` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*s` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Some(s) => Some(*s),
[INFO] [stdout]    |                             ^^ move occurs because `*s` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*s` which is behind a shared reference
[INFO] [stdout]   --> src/linq.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 Some(s) => Some(*s),
[INFO] [stdout]    |                                 ^^ move occurs because `*s` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0373, E0384, E0507, E0596, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `holdem-server` (bin "holdem-server") due to 17 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `holdem-server` (bin "holdem-server" test) due to 17 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "60a82d66ab61d32f0120012de9a7629777eadb1478f2e671cf5dbe877c3ea0e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60a82d66ab61d32f0120012de9a7629777eadb1478f2e671cf5dbe877c3ea0e6", kill_on_drop: false }`
[INFO] [stdout] 60a82d66ab61d32f0120012de9a7629777eadb1478f2e671cf5dbe877c3ea0e6
