[INFO] updating cached repository https://github.com/JosephTLyons/solitaire [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] testing JosephTLyons/solitaire against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephTLyons/solitaire on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/JosephTLyons/solitaire already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 082593f52b67a786d9e153f15e241a0a918375cc1bce1e9dc52de57e8cfb009f [INFO] running `"docker" "start" "-a" "082593f52b67a786d9e153f15e241a0a918375cc1bce1e9dc52de57e8cfb009f"` [INFO] [stderr] Compiling solitaire v0.1.0 (/opt/rustwide/workdir) [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: consider prefixing 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: consider prefixing 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: consider prefixing 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] For more information about this error, try `rustc --explain E0502`. [INFO] [stderr] error: Could not compile `solitaire`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "082593f52b67a786d9e153f15e241a0a918375cc1bce1e9dc52de57e8cfb009f"` [INFO] running `"docker" "rm" "-f" "082593f52b67a786d9e153f15e241a0a918375cc1bce1e9dc52de57e8cfb009f"` [INFO] [stdout] 082593f52b67a786d9e153f15e241a0a918375cc1bce1e9dc52de57e8cfb009f