[INFO] cloning repository https://github.com/Johnson-A/Crabby [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Johnson-A/Crabby" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnson-A%2FCrabby"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnson-A%2FCrabby'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b94520c42b036b7c94f0670a101d78f1b225d882 [INFO] checking Johnson-A/Crabby against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnson-A%2FCrabby" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Johnson-A/Crabby 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/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-10/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 2d794f9e5cf907581fb7f313cb91c657591d74396b4eba7a34913fb2128fd8f3 [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" "2d794f9e5cf907581fb7f313cb91c657591d74396b4eba7a34913fb2128fd8f3"` [INFO] [stderr] Checking crabby v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `,`, `@`, `]`, or `|`, found `..` [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] --> 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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:100:47 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn for_all(mut pieces: u64, do_work: &mut FnMut(u32)) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u32)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/board.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | [sc @ 'a'...'h', sr @ '3', '6'] => 1 << to_pos(sc, sr), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/evaluation.rs:201:48 [INFO] [stderr] | [INFO] [stderr] 201 | let occ = bb[ALL | us] | bb[ALL | opp];; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/uci.rs:85:69 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn positions(path: &str, searcher: &mut Searcher, do_work: &mut FnMut(&mut Searcher)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Searcher)` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:100:47 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn for_all(mut pieces: u64, do_work: &mut FnMut(u32)) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u32)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/board.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | [sc @ 'a'...'h', sr @ '3', '6'] => 1 << to_pos(sc, sr), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/evaluation.rs:201:48 [INFO] [stderr] | [INFO] [stderr] 201 | let occ = bb[ALL | us] | bb[ALL | opp];; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/uci.rs:85:69 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn positions(path: &str, searcher: &mut Searcher, do_work: &mut FnMut(&mut Searcher)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Searcher)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/print.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/print.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [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] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/print.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/table.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::{Rng, SeedableRng, StdRng}; [INFO] [stderr] | ^^^ [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: could not compile `crabby`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/print.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/table.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::{Rng, SeedableRng, StdRng}; [INFO] [stderr] | ^^^ [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: could not compile `crabby`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2d794f9e5cf907581fb7f313cb91c657591d74396b4eba7a34913fb2128fd8f3"` [INFO] running `"docker" "rm" "-f" "2d794f9e5cf907581fb7f313cb91c657591d74396b4eba7a34913fb2128fd8f3"` [INFO] [stdout] 2d794f9e5cf907581fb7f313cb91c657591d74396b4eba7a34913fb2128fd8f3