[INFO] cloning repository https://github.com/starqi/chess-bs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starqi/chess-bs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarqi%2Fchess-bs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarqi%2Fchess-bs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8e278958a284b79545445a167ab11479f00a43c [INFO] checking starqi/chess-bs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarqi%2Fchess-bs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/starqi/chess-bs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/starqi/chess-bs [INFO] finished tweaking git repo https://github.com/starqi/chess-bs [INFO] tweaked toml for git repo https://github.com/starqi/chess-bs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/starqi/chess-bs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13ddd2ccf5268adbe72238fd304125cd761a295c936cec1fe455b09f9540e465 [INFO] running `Command { std: "docker" "start" "-a" "13ddd2ccf5268adbe72238fd304125cd761a295c936cec1fe455b09f9540e465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13ddd2ccf5268adbe72238fd304125cd761a295c936cec1fe455b09f9540e465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13ddd2ccf5268adbe72238fd304125cd761a295c936cec1fe455b09f9540e465", kill_on_drop: false }` [INFO] [stdout] 13ddd2ccf5268adbe72238fd304125cd761a295c936cec1fe455b09f9540e465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1236ee9af1970dc32e3dc5c8bcaf44434057459269a6bf328986ca643de562dd [INFO] running `Command { std: "docker" "start" "-a" "1236ee9af1970dc32e3dc5c8bcaf44434057459269a6bf328986ca643de562dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.29 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking js-sys v0.3.56 [INFO] [stderr] Checking ljenks-chess v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut board = Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let mut player_state = self.get_player_state_mut(player); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/ai/mod.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | Some(MemoData(eval, depth, MemoType::High(best_move) | MemoType::Exact(best_move) | MemoType::Low(best_move))) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/ai/mod.rs:115:46 [INFO] [stdout] | [INFO] [stdout] 115 | ... if let Square::Occupied(Piece::King, player) = self.test_board.get_by_index(self.test_board.get_player_state(player).king_location.... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `print_move_list`, `get_by_file_rank_safe`, `is_capture`, and `get_pseudo_moves_at` are never used [INFO] [stdout] --> src/game/board.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn print_move_list(&self, ml: &MoveList, start: usize, _end_exclusive: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_by_file_rank_safe(&self, file: char, rank: u8) -> Result<&Square, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn is_capture(&self, m: &MoveWithEval) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 589 | pub fn get_pseudo_moves_at(&self, origin: FastCoord, result: &mut MoveList) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/coords.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds(i32, i32) [INFO] [stdout] | ------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds((), ()) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RankOutOfBounds` and `FileOutOfBounds` are never constructed [INFO] [stdout] --> src/game/coords.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 36 | RankOutOfBounds(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | FileOutOfBounds(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_rank_to_xy_safe` is never used [INFO] [stdout] --> src/game/coords.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn file_rank_to_xy_safe(file: char, rank: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mutable_snapshot` and `write_clone` are never used [INFO] [stdout] --> src/game/move_list.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl MoveList { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_mutable_snapshot(&mut self, i: usize) -> &mut MoveWithEval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn write_clone(&mut self, m: &MoveWithEval) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_queen_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn write_queen_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_knight_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn write_knight_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.29 [INFO] [stderr] Checking wasm-bindgen-test v0.3.29 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut board = Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let mut player_state = self.get_player_state_mut(player); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/ai/mod.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | Some(MemoData(eval, depth, MemoType::High(best_move) | MemoType::Exact(best_move) | MemoType::Low(best_move))) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/ai/mod.rs:115:46 [INFO] [stdout] | [INFO] [stdout] 115 | ... if let Square::Occupied(Piece::King, player) = self.test_board.get_by_index(self.test_board.get_player_state(player).king_location.... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty_test`, `get_by_file_rank_safe`, and `is_capture` are never used [INFO] [stdout] --> src/game/board.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn empty_test() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_by_file_rank_safe(&self, file: char, rank: u8) -> Result<&Square, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn is_capture(&self, m: &MoveWithEval) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/coords.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds(i32, i32) [INFO] [stdout] | ------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds((), ()) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RankOutOfBounds` and `FileOutOfBounds` are never constructed [INFO] [stdout] --> src/game/coords.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 36 | RankOutOfBounds(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | FileOutOfBounds(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_rank_to_xy_safe` is never used [INFO] [stdout] --> src/game/coords.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn file_rank_to_xy_safe(file: char, rank: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mutable_snapshot` and `write_clone` are never used [INFO] [stdout] --> src/game/move_list.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl MoveList { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_mutable_snapshot(&mut self, i: usize) -> &mut MoveWithEval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn write_clone(&mut self, m: &MoveWithEval) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_queen_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn write_queen_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_knight_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn write_knight_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1236ee9af1970dc32e3dc5c8bcaf44434057459269a6bf328986ca643de562dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1236ee9af1970dc32e3dc5c8bcaf44434057459269a6bf328986ca643de562dd", kill_on_drop: false }` [INFO] [stdout] 1236ee9af1970dc32e3dc5c8bcaf44434057459269a6bf328986ca643de562dd [INFO] checking starqi/chess-bs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarqi%2Fchess-bs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/starqi/chess-bs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/starqi/chess-bs [INFO] finished tweaking git repo https://github.com/starqi/chess-bs [INFO] tweaked toml for git repo https://github.com/starqi/chess-bs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/starqi/chess-bs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9f4384558415c69241cac41f6cb49963123d86bdc758ed901e52ddfb466e8d4 [INFO] running `Command { std: "docker" "start" "-a" "d9f4384558415c69241cac41f6cb49963123d86bdc758ed901e52ddfb466e8d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9f4384558415c69241cac41f6cb49963123d86bdc758ed901e52ddfb466e8d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f4384558415c69241cac41f6cb49963123d86bdc758ed901e52ddfb466e8d4", kill_on_drop: false }` [INFO] [stdout] d9f4384558415c69241cac41f6cb49963123d86bdc758ed901e52ddfb466e8d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 525c575034415e285320b4c83371909a7869efd5a7e8829b730a28769bfcfd33 [INFO] running `Command { std: "docker" "start" "-a" "525c575034415e285320b4c83371909a7869efd5a7e8829b730a28769bfcfd33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.29 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking js-sys v0.3.56 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking ljenks-chess v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut board = Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let mut player_state = self.get_player_state_mut(player); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/ai/mod.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | Some(MemoData(eval, depth, MemoType::High(best_move) | MemoType::Exact(best_move) | MemoType::Low(best_move))) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/ai/mod.rs:115:46 [INFO] [stdout] | [INFO] [stdout] 115 | ... if let Square::Occupied(Piece::King, player) = self.test_board.get_by_index(self.test_board.get_player_state(player).king_location.... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `print_move_list`, `get_by_file_rank_safe`, `is_capture`, and `get_pseudo_moves_at` are never used [INFO] [stdout] --> src/game/board.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn print_move_list(&self, ml: &MoveList, start: usize, _end_exclusive: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_by_file_rank_safe(&self, file: char, rank: u8) -> Result<&Square, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn is_capture(&self, m: &MoveWithEval) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 589 | pub fn get_pseudo_moves_at(&self, origin: FastCoord, result: &mut MoveList) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/coords.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds(i32, i32) [INFO] [stdout] | ------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds((), ()) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RankOutOfBounds` and `FileOutOfBounds` are never constructed [INFO] [stdout] --> src/game/coords.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 36 | RankOutOfBounds(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | FileOutOfBounds(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_rank_to_xy_safe` is never used [INFO] [stdout] --> src/game/coords.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn file_rank_to_xy_safe(file: char, rank: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mutable_snapshot` and `write_clone` are never used [INFO] [stdout] --> src/game/move_list.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl MoveList { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_mutable_snapshot(&mut self, i: usize) -> &mut MoveWithEval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn write_clone(&mut self, m: &MoveWithEval) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_queen_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn write_queen_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_knight_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn write_knight_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.29 [INFO] [stderr] Checking wasm-bindgen-test v0.3.29 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut board = Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let mut player_state = self.get_player_state_mut(player); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/ai/mod.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | Some(MemoData(eval, depth, MemoType::High(best_move) | MemoType::Exact(best_move) | MemoType::Low(best_move))) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/ai/mod.rs:115:46 [INFO] [stdout] | [INFO] [stdout] 115 | ... if let Square::Occupied(Piece::King, player) = self.test_board.get_by_index(self.test_board.get_player_state(player).king_location.... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty_test`, `get_by_file_rank_safe`, and `is_capture` are never used [INFO] [stdout] --> src/game/board.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn empty_test() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_by_file_rank_safe(&self, file: char, rank: u8) -> Result<&Square, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn is_capture(&self, m: &MoveWithEval) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/coords.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds(i32, i32) [INFO] [stdout] | ------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 38 | XyOutOfBounds((), ()) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RankOutOfBounds` and `FileOutOfBounds` are never constructed [INFO] [stdout] --> src/game/coords.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 36 | RankOutOfBounds(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | FileOutOfBounds(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_rank_to_xy_safe` is never used [INFO] [stdout] --> src/game/coords.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn file_rank_to_xy_safe(file: char, rank: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mutable_snapshot` and `write_clone` are never used [INFO] [stdout] --> src/game/move_list.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl MoveList { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_mutable_snapshot(&mut self, i: usize) -> &mut MoveWithEval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn write_clone(&mut self, m: &MoveWithEval) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_queen_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn write_queen_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_knight_captures` is never used [INFO] [stdout] --> src/game/move_test.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn write_knight_captures(ml: &mut MoveList, origin: FastCoord, curr_player_piece_locs: &Bitboard, opponent_piece_locs: &Bitboard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "525c575034415e285320b4c83371909a7869efd5a7e8829b730a28769bfcfd33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "525c575034415e285320b4c83371909a7869efd5a7e8829b730a28769bfcfd33", kill_on_drop: false }` [INFO] [stdout] 525c575034415e285320b4c83371909a7869efd5a7e8829b730a28769bfcfd33