[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] testing JosephTLyons/solitaire against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephTLyons/solitaire on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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 /workspace/builds/worker-14/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1586dd1f22a4a6a9db381f44a95abddc9ec435380886bb3d886c6cc3db235c63 [INFO] running `"docker" "start" "-a" "1586dd1f22a4a6a9db381f44a95abddc9ec435380886bb3d886c6cc3db235c63"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling 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; 8 warnings emitted [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" "1586dd1f22a4a6a9db381f44a95abddc9ec435380886bb3d886c6cc3db235c63"` [INFO] running `"docker" "rm" "-f" "1586dd1f22a4a6a9db381f44a95abddc9ec435380886bb3d886c6cc3db235c63"` [INFO] [stdout] 1586dd1f22a4a6a9db381f44a95abddc9ec435380886bb3d886c6cc3db235c63