[INFO] updating cached repository https://github.com/Johnson-A/Crabby [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] b94520c42b036b7c94f0670a101d78f1b225d882 [INFO] checking Johnson-A/Crabby against nightly-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnson-A%2FCrabby" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Johnson-A/Crabby on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Johnson-A/Crabby [INFO] finished tweaking git repo https://github.com/Johnson-A/Crabby [INFO] tweaked toml for git repo https://github.com/Johnson-A/Crabby written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Johnson-A/Crabby already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=allow" "-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" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 20fd3eddedebc54f7c1a7947f89bf06887fb4fd4645638d53b3d3a897a30f3cc [INFO] running `"docker" "start" "-a" "20fd3eddedebc54f7c1a7947f89bf06887fb4fd4645638d53b3d3a897a30f3cc"` [INFO] [stderr] Checking crabby v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `,`, `@`, `]`, or `|`, found `..` [INFO] [stderr] --> src/board.rs:198:46 [INFO] [stderr] | [INFO] [stderr] 198 | if let [sc, sr, dc, dr, ref promotion..] = moves[..] { [INFO] [stderr] | ^^ expected one of `,`, `@`, `]`, or `|` here [INFO] [stderr] [INFO] [stderr] error: expected one of `,`, `@`, `]`, or `|`, found `..` [INFO] [stderr] --> src/board.rs:198:46 [INFO] [stderr] | [INFO] [stderr] 198 | if let [sc, sr, dc, dr, ref promotion..] = moves[..] { [INFO] [stderr] | ^^ expected one of `,`, `@`, `]`, or `|` here [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand::StdRng` [INFO] [stderr] --> src/table.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::{Rng, SeedableRng, StdRng}; [INFO] [stderr] | ^^^^^^ no `StdRng` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand::StdRng` [INFO] [stderr] --> src/table.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::{Rng, SeedableRng, StdRng}; [INFO] [stderr] | ^^^^^^ no `StdRng` in the root [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:202:18 [INFO] [stderr] | [INFO] [stderr] 202 | &['q'] => QUEEN_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:203:18 [INFO] [stderr] | [INFO] [stderr] 203 | &['r'] => ROOK_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:204:18 [INFO] [stderr] | [INFO] [stderr] 204 | &['b'] => BISHOP_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:205:18 [INFO] [stderr] | [INFO] [stderr] 205 | &['n'] => KNIGHT_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:202:18 [INFO] [stderr] | [INFO] [stderr] 202 | &['q'] => QUEEN_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:203:18 [INFO] [stderr] | [INFO] [stderr] 203 | &['r'] => ROOK_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:204:18 [INFO] [stderr] | [INFO] [stderr] 204 | &['b'] => BISHOP_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0529]: expected an array or slice, found `char` [INFO] [stderr] --> src/board.rs:205:18 [INFO] [stderr] | [INFO] [stderr] 205 | &['n'] => KNIGHT_PROM, [INFO] [stderr] | ^^^^^ pattern cannot match with input type `char` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/board.rs:388:9 [INFO] [stderr] | [INFO] [stderr] 387 | pub fn qsort(&self, moves: &[Move]) -> Vec<(i32, Move)> { [INFO] [stderr] | ---------------- expected `std::vec::Vec<(i32, _move::Move)>` because of return type [INFO] [stderr] 388 | / moves.iter().map( [INFO] [stderr] 389 | | |mv| (self.see_move(mv), *mv)) [INFO] [stderr] 390 | | .filter(|e| e.0 > 0) [INFO] [stderr] 391 | | .sorted_by(|a,b| if a.0 > b.0 { Less } else { Greater }) [INFO] [stderr] | |____________________________________________________________________^ expected struct `std::vec::Vec`, found struct `std::vec::IntoIter` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec<(i32, _move::Move)>` [INFO] [stderr] found type `std::vec::IntoIter<(i32, _move::Move)>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/board.rs:395:9 [INFO] [stderr] | [INFO] [stderr] 394 | pub fn sort_with(&self, moves: Vec, best: Move, killer: &Killer) -> Vec<(i32, Move)> { [INFO] [stderr] | ---------------- expected `std::vec::Vec<(i32, _move::Move)>` because of return type [INFO] [stderr] 395 | / moves.iter().map( [INFO] [stderr] 396 | | |&mv| { [INFO] [stderr] 397 | | // Give the largest value to the best move to place it at the front [INFO] [stderr] 398 | | // Give killer moves values just above zero to put them ahead of [INFO] [stderr] ... | [INFO] [stderr] 406 | | }) [INFO] [stderr] 407 | | .sorted_by(|a,b| if a.0 > b.0 { Less } else { Greater }) [INFO] [stderr] | |____________________________________________________________________^ expected struct `std::vec::Vec`, found struct `std::vec::IntoIter` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec<(i32, _move::Move)>` [INFO] [stderr] found type `std::vec::IntoIter<(i32, _move::Move)>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/board.rs:388:9 [INFO] [stderr] | [INFO] [stderr] 387 | pub fn qsort(&self, moves: &[Move]) -> Vec<(i32, Move)> { [INFO] [stderr] | ---------------- expected `std::vec::Vec<(i32, _move::Move)>` because of return type [INFO] [stderr] 388 | / moves.iter().map( [INFO] [stderr] 389 | | |mv| (self.see_move(mv), *mv)) [INFO] [stderr] 390 | | .filter(|e| e.0 > 0) [INFO] [stderr] 391 | | .sorted_by(|a,b| if a.0 > b.0 { Less } else { Greater }) [INFO] [stderr] | |____________________________________________________________________^ expected struct `std::vec::Vec`, found struct `std::vec::IntoIter` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec<(i32, _move::Move)>` [INFO] [stderr] found type `std::vec::IntoIter<(i32, _move::Move)>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/board.rs:395:9 [INFO] [stderr] | [INFO] [stderr] 394 | pub fn sort_with(&self, moves: Vec, best: Move, killer: &Killer) -> Vec<(i32, Move)> { [INFO] [stderr] | ---------------- expected `std::vec::Vec<(i32, _move::Move)>` because of return type [INFO] [stderr] 395 | / moves.iter().map( [INFO] [stderr] 396 | | |&mv| { [INFO] [stderr] 397 | | // Give the largest value to the best move to place it at the front [INFO] [stderr] 398 | | // Give killer moves values just above zero to put them ahead of [INFO] [stderr] ... | [INFO] [stderr] 406 | | }) [INFO] [stderr] 407 | | .sorted_by(|a,b| if a.0 > b.0 { Less } else { Greater }) [INFO] [stderr] | |____________________________________________________________________^ expected struct `std::vec::Vec`, found struct `std::vec::IntoIter` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec<(i32, _move::Move)>` [INFO] [stderr] found type `std::vec::IntoIter<(i32, _move::Move)>` [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed for `&mut Self` [INFO] [stderr] --> src/table.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | let rng = &mut SeedableRng::from_seed(seed); [INFO] [stderr] | --- ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `Self` [INFO] [stderr] | | [INFO] [stderr] | consider giving `rng` the explicit type `&mut Self`, where the type parameter `Self` is specified [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0308, E0432, E0529. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error[E0282]: type annotations needed for `&mut Self` [INFO] [stderr] --> src/table.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | let rng = &mut SeedableRng::from_seed(seed); [INFO] [stderr] | --- ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `Self` [INFO] [stderr] | | [INFO] [stderr] | consider giving `rng` the explicit type `&mut Self`, where the type parameter `Self` is specified [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [INFO] [stderr] [INFO] [stderr] error: could not compile `crabby`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0308, E0432, E0529. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `crabby`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "20fd3eddedebc54f7c1a7947f89bf06887fb4fd4645638d53b3d3a897a30f3cc"` [INFO] running `"docker" "rm" "-f" "20fd3eddedebc54f7c1a7947f89bf06887fb4fd4645638d53b3d3a897a30f3cc"` [INFO] [stdout] 20fd3eddedebc54f7c1a7947f89bf06887fb4fd4645638d53b3d3a897a30f3cc