[INFO] updating cached repository JosephTLyons/solitaire [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/JosephTLyons/solitaire [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/JosephTLyons/solitaire" "work/ex/beta-1.38-1/sources/1.37.0/gh/JosephTLyons/solitaire"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/JosephTLyons/solitaire'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/JosephTLyons/solitaire" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/JosephTLyons/solitaire"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/JosephTLyons/solitaire'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 76f43ba775f944ebee2b9b422bcfad74aca0ff27 [INFO] sha for GitHub repo JosephTLyons/solitaire: 76f43ba775f944ebee2b9b422bcfad74aca0ff27 [INFO] validating manifest of JosephTLyons/solitaire on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of JosephTLyons/solitaire on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing JosephTLyons/solitaire [INFO] finished frobbing JosephTLyons/solitaire [INFO] frobbed toml for JosephTLyons/solitaire written to work/ex/beta-1.38-1/sources/1.37.0/gh/JosephTLyons/solitaire/Cargo.toml [INFO] started frobbing JosephTLyons/solitaire [INFO] finished frobbing JosephTLyons/solitaire [INFO] frobbed toml for JosephTLyons/solitaire written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/JosephTLyons/solitaire/Cargo.toml [INFO] crate JosephTLyons/solitaire already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing JosephTLyons/solitaire against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/JosephTLyons/solitaire:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] b1ea2135223bbaf46811eeb4c8f09435570af86e1ed7680d902feb9e8825f6fa [INFO] running `"docker" "start" "-a" "b1ea2135223bbaf46811eeb4c8f09435570af86e1ed7680d902feb9e8825f6fa"` [INFO] [stderr] Compiling solitaire v0.1.0 (/opt/crater/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" "b1ea2135223bbaf46811eeb4c8f09435570af86e1ed7680d902feb9e8825f6fa"` [INFO] running `"docker" "rm" "-f" "b1ea2135223bbaf46811eeb4c8f09435570af86e1ed7680d902feb9e8825f6fa"` [INFO] [stdout] b1ea2135223bbaf46811eeb4c8f09435570af86e1ed7680d902feb9e8825f6fa