[INFO] cloning repository https://github.com/JosephTLyons/solitaire [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JosephTLyons/solitaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 76f43ba775f944ebee2b9b422bcfad74aca0ff27 [INFO] checking JosephTLyons/solitaire against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephTLyons/solitaire on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-0/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 337e60c498741074f9e9cf83f0409a7b4ec2b32e41fa418f9cd768255c793c29 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "337e60c498741074f9e9cf83f0409a7b4ec2b32e41fa418f9cd768255c793c29"` [INFO] [stderr] Checking 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] warning: build failed, waiting for other jobs to finish... [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" "337e60c498741074f9e9cf83f0409a7b4ec2b32e41fa418f9cd768255c793c29"` [INFO] running `"docker" "rm" "-f" "337e60c498741074f9e9cf83f0409a7b4ec2b32e41fa418f9cd768255c793c29"` [INFO] [stdout] 337e60c498741074f9e9cf83f0409a7b4ec2b32e41fa418f9cd768255c793c29