[INFO] fetching crate chess-move-gen 0.8.2... [INFO] checking chess-move-gen-0.8.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate chess-move-gen 0.8.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate chess-move-gen 0.8.2 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 crates.io crate chess-move-gen 0.8.2 [INFO] finished tweaking crates.io crate chess-move-gen 0.8.2 [INFO] tweaked toml for crates.io crate chess-move-gen 0.8.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate chess-move-gen 0.8.2 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25e8bcdf1532a4017d1b61aea3383bd666af234c0a4639cc9f6e8cf321a06ecd [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" "25e8bcdf1532a4017d1b61aea3383bd666af234c0a4639cc9f6e8cf321a06ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25e8bcdf1532a4017d1b61aea3383bd666af234c0a4639cc9f6e8cf321a06ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e8bcdf1532a4017d1b61aea3383bd666af234c0a4639cc9f6e8cf321a06ecd", kill_on_drop: false }` [INFO] [stdout] 25e8bcdf1532a4017d1b61aea3383bd666af234c0a4639cc9f6e8cf321a06ecd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 214ab450efe02f83caecb0e92ade3fc0eb236ce8d1e93923cca282472f1ba7c4 [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" "214ab450efe02f83caecb0e92ade3fc0eb236ce8d1e93923cca282472f1ba7c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling packed_simd_2 v0.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking unindent v0.1.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chess-move-gen v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gen/slider/ray_hyperbola.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | (diag_attacks | anti_diag_attacks) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gen/slider/ray_hyperbola.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | (diag_attacks | anti_diag_attacks) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gen/slider/ray_hyperbola.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | (diag_attacks | anti_diag_attacks) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gen/slider/ray_hyperbola.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | (diag_attacks | anti_diag_attacks) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `key` [INFO] [stdout] --> src/board.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn key(&self) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make` [INFO] [stdout] --> src/board.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn make(&mut self, mv: Move) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmake` [INFO] [stdout] --> src/board.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn unmake(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `king_captures` [INFO] [stdout] --> src/gen/lookup.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn king_captures(position: &Position, capture_mask: BB, list: &mut L) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `knight_captures` [INFO] [stdout] --> src/gen/lookup.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn knight_captures( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pawn_pin_ray_captures` [INFO] [stdout] --> src/gen/pinned.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn pawn_pin_ray_captures( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `slider_captures` [INFO] [stdout] --> src/gen/slider/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn slider_captures( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `loud_legal_moves` [INFO] [stdout] --> src/gen/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn loud_legal_moves(position: &Position, list: &mut L) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUEEN_SIDE_CASTLE` [INFO] [stdout] --> src/mv.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub const QUEEN_SIDE_CASTLE: Move = Move::new_castle(QUEEN_SIDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KING_SIDE_CASTLE` [INFO] [stdout] --> src/mv.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const KING_SIDE_CASTLE: Move = Move::new_castle(KING_SIDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn best(&self) -> MoveScore { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn score(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mv` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mv(&self) -> Move { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mv_list/scored_move_list.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `moves` [INFO] [stdout] --> src/mv_list/scored_move_list.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn moves(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mv_list/sorted_move_list.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best_move` [INFO] [stdout] --> src/mv_list/sorted_move_list.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn best_move(&self) -> Option<&MoveScore> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHECK_MATE_SCORE` [INFO] [stdout] --> src/mv_list/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CHECK_MATE_SCORE: i16 = std::i16::MAX / 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perft_detailed` [INFO] [stdout] --> src/perft.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn perft_detailed( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perft_detailed_inner` [INFO] [stdout] --> src/perft.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn perft_detailed_inner(position: &mut Position, depth: usize) -> MoveCounter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUEEN_SIDE_CASTLE` [INFO] [stdout] --> src/mv.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub const QUEEN_SIDE_CASTLE: Move = Move::new_castle(QUEEN_SIDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KING_SIDE_CASTLE` [INFO] [stdout] --> src/mv.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const KING_SIDE_CASTLE: Move = Move::new_castle(KING_SIDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn best(&self) -> MoveScore { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn score(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mv` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mv(&self) -> Move { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/mv_list/best_mv_tracker.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `moves` [INFO] [stdout] --> src/mv_list/scored_move_list.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn moves(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best_move` [INFO] [stdout] --> src/mv_list/sorted_move_list.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn best_move(&self) -> Option<&MoveScore> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHECK_MATE_SCORE` [INFO] [stdout] --> src/mv_list/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CHECK_MATE_SCORE: i16 = std::i16::MAX / 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 36.06s [INFO] running `Command { std: "docker" "inspect" "214ab450efe02f83caecb0e92ade3fc0eb236ce8d1e93923cca282472f1ba7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214ab450efe02f83caecb0e92ade3fc0eb236ce8d1e93923cca282472f1ba7c4", kill_on_drop: false }` [INFO] [stdout] 214ab450efe02f83caecb0e92ade3fc0eb236ce8d1e93923cca282472f1ba7c4