[INFO] updating cached repository Johnson-A/Crabby [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Johnson-A/Crabby [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Johnson-A/Crabby" "work/ex/beta-1.38-1/sources/1.37.0/gh/Johnson-A/Crabby"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Johnson-A/Crabby'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Johnson-A/Crabby" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Johnson-A/Crabby"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Johnson-A/Crabby'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b94520c42b036b7c94f0670a101d78f1b225d882 [INFO] sha for GitHub repo Johnson-A/Crabby: b94520c42b036b7c94f0670a101d78f1b225d882 [INFO] validating manifest of Johnson-A/Crabby 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 Johnson-A/Crabby 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 Johnson-A/Crabby [INFO] finished frobbing Johnson-A/Crabby [INFO] frobbed toml for Johnson-A/Crabby written to work/ex/beta-1.38-1/sources/1.37.0/gh/Johnson-A/Crabby/Cargo.toml [INFO] started frobbing Johnson-A/Crabby [INFO] finished frobbing Johnson-A/Crabby [INFO] frobbed toml for Johnson-A/Crabby written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Johnson-A/Crabby/Cargo.toml [INFO] crate Johnson-A/Crabby 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] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Johnson-A/Crabby/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Johnson-A/Crabby 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/Johnson-A/Crabby:/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] ccd124d2be02f664d84c81b72260b6dcfe8933378314603bb3e621000e3ff24b [INFO] running `"docker" "start" "-a" "ccd124d2be02f664d84c81b72260b6dcfe8933378314603bb3e621000e3ff24b"` [INFO] [stderr] Compiling crabby v2.0.0 (/opt/crater/workdir) [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[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(slice_patterns, test, associated_consts, custom_attribute)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 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] 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:26:21 [INFO] [stderr] | [INFO] [stderr] 22 | let rng = &mut SeedableRng::from_seed(seed); [INFO] [stderr] | --- consider giving `rng` the explicit type `&mut Self`, where the type parameter `Self` is specified [INFO] [stderr] ... [INFO] [stderr] 26 | color_key = rng.gen(); [INFO] [stderr] | ^^^ cannot infer type for `Self` [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 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0308, E0432, E0554. [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" "ccd124d2be02f664d84c81b72260b6dcfe8933378314603bb3e621000e3ff24b"` [INFO] running `"docker" "rm" "-f" "ccd124d2be02f664d84c81b72260b6dcfe8933378314603bb3e621000e3ff24b"` [INFO] [stdout] ccd124d2be02f664d84c81b72260b6dcfe8933378314603bb3e621000e3ff24b