[INFO] cloning repository https://github.com/JosephTLyons/solitaire [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76f43ba775f944ebee2b9b422bcfad74aca0ff27 [INFO] checking JosephTLyons/solitaire against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephTLyons/solitaire on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/JosephTLyons/solitaire already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35dbae4c648ffaf4250c624b1444011f48e0eb592b0519d789da462027353d2c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "35dbae4c648ffaf4250c624b1444011f48e0eb592b0519d789da462027353d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35dbae4c648ffaf4250c624b1444011f48e0eb592b0519d789da462027353d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35dbae4c648ffaf4250c624b1444011f48e0eb592b0519d789da462027353d2c", kill_on_drop: false }` [INFO] [stdout] 35dbae4c648ffaf4250c624b1444011f48e0eb592b0519d789da462027353d2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e205ecce012d7bbd6b3c173a9d51c4bfa76328fb7244d65e12a41526fbf5124 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e205ecce012d7bbd6b3c173a9d51c4bfa76328fb7244d65e12a41526fbf5124", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking solitaire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0170]: pattern binding `Deposit` is named the same as one of the variants of the type `pile::PileType` [INFO] [stdout] --> src/game.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deposit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Deposit` is named the same as one of the variants of the type `pile::PileType` [INFO] [stdout] --> src/game.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deposit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Flip` is named the same as one of the variants of the type `pile::PileType` [INFO] [stdout] --> src/game.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | Flip => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Flip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Flip` is named the same as one of the variants of the type `pile::PileType` [INFO] [stdout] --> src/game.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | Flip => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Flip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Deck` is named the same as one of the variants of the type `pile::PileType` [INFO] [stdout] --> src/game.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Deck => {}, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Deck` is named the same as one of the variants of the type `pile::PileType` [INFO] [stdout] --> src/game.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Deck => {}, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 203 | Flip => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 208 | Deck => {}, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Deposit` [INFO] [stdout] --> src/game.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Deposit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Flip` [INFO] [stdout] --> src/game.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | Flip => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Flip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Deck` [INFO] [stdout] --> src/game.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Deck => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 203 | Flip => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 208 | Deck => {}, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Deposit` [INFO] [stdout] --> src/game.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Deposit => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Deposit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Flip` [INFO] [stdout] --> src/game.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | Flip => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Flip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Deck` [INFO] [stdout] --> src/game.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Deck => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/game.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 187 | if let Some(x) = self.get_pile_reference() { [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 199 | if self.move_to_deposit_pile_ok(&move_card, to.index(0)) { [INFO] [stdout] | ^^^^ immutable borrow occurs here -- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/game.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 187 | if let Some(x) = self.get_pile_reference() { [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 204 | if self.move_to_flip_pile_ok(&move_card, to.index(0)) { [INFO] [stdout] | ^^^^ immutable borrow occurs here -- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/game.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 187 | if let Some(x) = self.get_pile_reference() { [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 199 | if self.move_to_deposit_pile_ok(&move_card, to.index(0)) { [INFO] [stdout] | ^^^^ immutable borrow occurs here -- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/game.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 187 | if let Some(x) = self.get_pile_reference() { [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 204 | if self.move_to_flip_pile_ok(&move_card, to.index(0)) { [INFO] [stdout] | ^^^^ immutable borrow occurs here -- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [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] error: build failed [INFO] running `Command { std: "docker" "inspect" "5e205ecce012d7bbd6b3c173a9d51c4bfa76328fb7244d65e12a41526fbf5124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e205ecce012d7bbd6b3c173a9d51c4bfa76328fb7244d65e12a41526fbf5124", kill_on_drop: false }` [INFO] [stdout] 5e205ecce012d7bbd6b3c173a9d51c4bfa76328fb7244d65e12a41526fbf5124