[INFO] updating cached repository https://github.com/JosephTLyons/solitaire
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 76f43ba775f944ebee2b9b422bcfad74aca0ff27
[INFO] checking JosephTLyons/solitaire against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire" "/workspace/builds/worker-2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JosephTLyons/solitaire on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/JosephTLyons/solitaire
[INFO] finished tweaking git repo https://github.com/JosephTLyons/solitaire
[INFO] tweaked toml for git repo https://github.com/JosephTLyons/solitaire written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/JosephTLyons/solitaire already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 91bc7bf26f282b79f607aacb1a9e8352309d74f56d386b5fc9ce7f446b20d1e3
[INFO] running `"docker" "start" "-a" "91bc7bf26f282b79f607aacb1a9e8352309d74f56d386b5fc9ce7f446b20d1e3"`
[INFO] [stderr]     Checking solitaire v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning[E0170]: pattern binding `Deposit` is named the same as one of the variants of the type `game::pile::PileType`
[INFO] [stderr]    --> src/game.rs:198:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ^^^^^^^ help: to match on the variant, qualify the path: `game::pile::PileType::Deposit`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bindings_with_variant_name)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning[E0170]: pattern binding `Flip` is named the same as one of the variants of the type `game::pile::PileType`
[INFO] [stderr]    --> src/game.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 203 |             Flip => {
[INFO] [stderr]     |             ^^^^ help: to match on the variant, qualify the path: `game::pile::PileType::Flip`
[INFO] [stderr] 
[INFO] [stderr] warning[E0170]: pattern binding `Deck` is named the same as one of the variants of the type `game::pile::PileType`
[INFO] [stderr]    --> src/game.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 208 |             Deck => {},
[INFO] [stderr]     |             ^^^^ help: to match on the variant, qualify the path: `game::pile::PileType::Deck`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/game.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ------- matches any value
[INFO] [stderr] ...
[INFO] [stderr] 203 |             Flip => {
[INFO] [stderr]     |             ^^^^ unreachable pattern
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/game.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ------- matches any value
[INFO] [stderr] ...
[INFO] [stderr] 208 |             Deck => {},
[INFO] [stderr]     |             ^^^^ unreachable pattern
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Deposit`
[INFO] [stderr]    --> src/game.rs:198:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Deposit`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Flip`
[INFO] [stderr]    --> src/game.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 203 |             Flip => {
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Flip`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Deck`
[INFO] [stderr]    --> src/game.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 208 |             Deck => {},
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Deck`
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stderr]    --> src/game.rs:199:20
[INFO] [stderr]     |
[INFO] [stderr] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stderr]     |                              ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 199 |                 if self.move_to_deposit_pile_ok(&move_card, to.index(0)) {
[INFO] [stderr]     |                    ^^^^ immutable borrow occurs here        -- mutable borrow later used here
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stderr]    --> src/game.rs:204:20
[INFO] [stderr]     |
[INFO] [stderr] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stderr]     |                              ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 204 |                 if self.move_to_flip_pile_ok(&move_card, to.index(0)) {
[INFO] [stderr]     |                    ^^^^ immutable borrow occurs here     -- mutable borrow later used here
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0170, E0502.
[INFO] [stderr] For more information about an error, try `rustc --explain E0170`.
[INFO] [stderr] error: could not compile `solitaire`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning[E0170]: pattern binding `Deposit` is named the same as one of the variants of the type `game::pile::PileType`
[INFO] [stderr]    --> src/game.rs:198:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ^^^^^^^ help: to match on the variant, qualify the path: `game::pile::PileType::Deposit`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bindings_with_variant_name)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning[E0170]: pattern binding `Flip` is named the same as one of the variants of the type `game::pile::PileType`
[INFO] [stderr]    --> src/game.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 203 |             Flip => {
[INFO] [stderr]     |             ^^^^ help: to match on the variant, qualify the path: `game::pile::PileType::Flip`
[INFO] [stderr] 
[INFO] [stderr] warning[E0170]: pattern binding `Deck` is named the same as one of the variants of the type `game::pile::PileType`
[INFO] [stderr]    --> src/game.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 208 |             Deck => {},
[INFO] [stderr]     |             ^^^^ help: to match on the variant, qualify the path: `game::pile::PileType::Deck`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/game.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ------- matches any value
[INFO] [stderr] ...
[INFO] [stderr] 203 |             Flip => {
[INFO] [stderr]     |             ^^^^ unreachable pattern
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/game.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ------- matches any value
[INFO] [stderr] ...
[INFO] [stderr] 208 |             Deck => {},
[INFO] [stderr]     |             ^^^^ unreachable pattern
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Deposit`
[INFO] [stderr]    --> src/game.rs:198:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |             Deposit => {
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Deposit`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Flip`
[INFO] [stderr]    --> src/game.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 203 |             Flip => {
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Flip`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Deck`
[INFO] [stderr]    --> src/game.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 208 |             Deck => {},
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Deck`
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stderr]    --> src/game.rs:199:20
[INFO] [stderr]     |
[INFO] [stderr] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stderr]     |                              ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 199 |                 if self.move_to_deposit_pile_ok(&move_card, to.index(0)) {
[INFO] [stderr]     |                    ^^^^ immutable borrow occurs here        -- mutable borrow later used here
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stderr]    --> src/game.rs:204:20
[INFO] [stderr]     |
[INFO] [stderr] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stderr]     |                              ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 204 |                 if self.move_to_flip_pile_ok(&move_card, to.index(0)) {
[INFO] [stderr]     |                    ^^^^ immutable borrow occurs here     -- mutable borrow later used here
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0170, E0502.
[INFO] [stderr] For more information about an error, try `rustc --explain E0170`.
[INFO] [stderr] error: could not compile `solitaire`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "91bc7bf26f282b79f607aacb1a9e8352309d74f56d386b5fc9ce7f446b20d1e3"`
[INFO] running `"docker" "rm" "-f" "91bc7bf26f282b79f607aacb1a9e8352309d74f56d386b5fc9ce7f446b20d1e3"`
[INFO] [stdout] 91bc7bf26f282b79f607aacb1a9e8352309d74f56d386b5fc9ce7f446b20d1e3
