[INFO] cloning repository https://github.com/truekendor/wasm-chess-ctv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/truekendor/wasm-chess-ctv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruekendor%2Fwasm-chess-ctv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruekendor%2Fwasm-chess-ctv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8200ba8cc134e0eb38291eec6f8ab6934440174e [INFO] checking truekendor/wasm-chess-ctv against master#8317fef20409adedaa7c385fa6e954867bf626fc for pr-154149-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruekendor%2Fwasm-chess-ctv" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/truekendor/wasm-chess-ctv [INFO] finished tweaking git repo https://github.com/truekendor/wasm-chess-ctv [INFO] tweaked toml for git repo https://github.com/truekendor/wasm-chess-ctv written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/truekendor/wasm-chess-ctv on toolchain 8317fef20409adedaa7c385fa6e954867bf626fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/truekendor/wasm-chess-ctv 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" "+8317fef20409adedaa7c385fa6e954867bf626fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.67 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.67 [INFO] [stderr] Downloaded wasm-bindgen-test-shared v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.67 [INFO] [stderr] Downloaded btoi v0.5.0 [INFO] [stderr] Downloaded minicov v0.3.8 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Downloaded js-sys v0.3.94 [INFO] [stderr] Downloaded shakmaty v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a422266e7f7207d7c914a1c38920bd8ccb64a2e0414598a13f61910a9b83f403 [INFO] running `Command { std: "docker" "start" "-a" "a422266e7f7207d7c914a1c38920bd8ccb64a2e0414598a13f61910a9b83f403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a422266e7f7207d7c914a1c38920bd8ccb64a2e0414598a13f61910a9b83f403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a422266e7f7207d7c914a1c38920bd8ccb64a2e0414598a13f61910a9b83f403", kill_on_drop: false }` [INFO] [stdout] a422266e7f7207d7c914a1c38920bd8ccb64a2e0414598a13f61910a9b83f403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5356c5db93ea0d5c2b40c5da0ef209e3998ed6d4692cb2d1a3fc2c67e6a02c34 [INFO] running `Command { std: "docker" "start" "-a" "5356c5db93ea0d5c2b40c5da0ef209e3998ed6d4692cb2d1a3fc2c67e6a02c34", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.117 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling wasm-bindgen v0.2.117 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking wasm-bindgen-test-shared v0.2.117 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking btoi v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.67 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.117 [INFO] [stderr] Checking shakmaty v0.30.0 [INFO] [stderr] Checking js-sys v0.3.94 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.67 [INFO] [stderr] Checking wasm-bindgen-test v0.3.67 [INFO] [stderr] Checking chess-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uci::UciMove` [INFO] [stdout] --> src/lib.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | Chess, Color, Move, Position, Square, fen::Fen, san::San, uci::UciMove, zobrist::Zobrist64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uci::UciMove` [INFO] [stdout] --> src/lib.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | Chess, Color, Move, Position, Square, fen::Fen, san::San, uci::UciMove, zobrist::Zobrist64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chess` [INFO] [stdout] --> src/get_legal_moves.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn strict(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chess` [INFO] [stdout] --> src/get_legal_moves.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn strict(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/lib.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | fn put(&mut self, piece: String, square: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/lib.rs:313:38 [INFO] [stdout] | [INFO] [stdout] 313 | fn put(&mut self, piece: String, square: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chess`, `history`, `hash`, and `position_count` are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct WasmChess { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | chess: Chess, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | hash: Zobrist64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | position_count: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JSMoveObj` is never constructed [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct JSMoveObj { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JSPreserveHeaders` is never constructed [INFO] [stdout] --> src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct JSPreserveHeaders { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `internal_move`, `fen`, `move_number`, `half_moves`, `turn`, and `position` are never read [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct History { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | internal_move: Move, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fen: Fen, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | move_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | half_moves: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | turn: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | position: Chess, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl WasmChess { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new(fen: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn make_move(&mut self, move_str: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn make_move_from_obj(&mut self, move_obj: JsValue) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn load( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn fen(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn fen_at(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn undo(&mut self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn legal_moves_uci(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn legal_moves_san(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn legal_moves_strict(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn perft(&self, depth: usize) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn fullmoves(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn halfmoves(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn is_check(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn is_checkmate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn is_draw_by_fifty_moves(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn is_insufficient_material(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn is_threefold_repetition(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn is_draw(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn turn(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn board(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn get(&self, square: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn put(&mut self, piece: String, square: String) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn history_san(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn history_uci(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn history_verbose(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | fn push_history_entry(&mut self, internal_move: Move) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn uci_to_san( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn san_to_uci( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn load_pgn() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | fn get_headers() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | fn get_comments() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | fn set_comment() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `color`, `piece`, `captured`, and `promotion` are never read [INFO] [stdout] --> src/get_legal_moves.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StrictMove { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | from: Square, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | to: Square, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | piece: Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | captured: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | promotion: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uci` is never used [INFO] [stdout] --> src/get_legal_moves.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn uci(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `san` is never used [INFO] [stdout] --> src/get_legal_moves.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn san(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strict` is never used [INFO] [stdout] --> src/get_legal_moves.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn strict(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MoveParseError` is never used [INFO] [stdout] --> src/parsing.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum MoveParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uci_to_san` is never used [INFO] [stdout] --> src/parsing.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn uci_to_san(uci_moves: Vec, starting_fen: Option) -> MovesAndError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `san_to_uci` is never used [INFO] [stdout] --> src/parsing.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn san_to_uci(san_moves: Vec, starting_fen: Option) -> MovesAndError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_move` is never used [INFO] [stdout] --> src/parsing.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn str_to_move(move_str: &str, chess: &Chess) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.20s [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/lib.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | fn put(&mut self, piece: String, square: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/lib.rs:313:38 [INFO] [stdout] | [INFO] [stdout] 313 | fn put(&mut self, piece: String, square: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JSMoveObj` is never constructed [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct JSMoveObj { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JSPreserveHeaders` is never constructed [INFO] [stdout] --> src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct JSPreserveHeaders { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `move_number`, `half_moves`, and `turn` are never read [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct History { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | move_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | half_moves: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | turn: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl WasmChess { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn make_move_from_obj(&mut self, move_obj: JsValue) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn legal_moves_uci(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn legal_moves_san(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn legal_moves_strict(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn perft(&self, depth: usize) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn is_insufficient_material(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn board(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn put(&mut self, piece: String, square: String) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn history_verbose(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn uci_to_san( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn san_to_uci( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn load_pgn() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | fn get_headers() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | fn get_comments() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | fn set_comment() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `color`, `piece`, `captured`, and `promotion` are never read [INFO] [stdout] --> src/get_legal_moves.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StrictMove { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | from: Square, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | to: Square, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | piece: Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | captured: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | promotion: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uci` is never used [INFO] [stdout] --> src/get_legal_moves.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn uci(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `san` is never used [INFO] [stdout] --> src/get_legal_moves.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn san(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strict` is never used [INFO] [stdout] --> src/get_legal_moves.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn strict(chess: &Chess) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uci_to_san` is never used [INFO] [stdout] --> src/parsing.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn uci_to_san(uci_moves: Vec, starting_fen: Option) -> MovesAndError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `san_to_uci` is never used [INFO] [stdout] --> src/parsing.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn san_to_uci(san_moves: Vec, starting_fen: Option) -> MovesAndError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_check_detection` is never used [INFO] [stdout] --> src/tests/fen_tests.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn test_check_detection() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_fifty_move_rule` is never used [INFO] [stdout] --> src/tests/fen_tests.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_fifty_move_rule() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_make_move_from_object` is never used [INFO] [stdout] --> src/tests/native_tests.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn test_make_move_from_object() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_make_move_with_promotion` is never used [INFO] [stdout] --> src/tests/native_tests.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn test_make_move_with_promotion() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_history_verbose` is never used [INFO] [stdout] --> src/tests/native_tests.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn test_history_verbose() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5356c5db93ea0d5c2b40c5da0ef209e3998ed6d4692cb2d1a3fc2c67e6a02c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5356c5db93ea0d5c2b40c5da0ef209e3998ed6d4692cb2d1a3fc2c67e6a02c34", kill_on_drop: false }` [INFO] [stdout] 5356c5db93ea0d5c2b40c5da0ef209e3998ed6d4692cb2d1a3fc2c67e6a02c34