[INFO] cloning repository https://github.com/yetiowin805/taikyoku_shogi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yetiowin805/taikyoku_shogi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyetiowin805%2Ftaikyoku_shogi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyetiowin805%2Ftaikyoku_shogi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56d6b8c5d833ea5dbdc64c50de9546f069fa7b1f [INFO] checking yetiowin805/taikyoku_shogi against try#53f0b05ecbcf011a1f77f1c627304e87ebd05801 for pr-154492-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyetiowin805%2Ftaikyoku_shogi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yetiowin805/taikyoku_shogi [INFO] finished tweaking git repo https://github.com/yetiowin805/taikyoku_shogi [INFO] tweaked toml for git repo https://github.com/yetiowin805/taikyoku_shogi written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yetiowin805/taikyoku_shogi on toolchain 53f0b05ecbcf011a1f77f1c627304e87ebd05801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yetiowin805/taikyoku_shogi 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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c38d369f8c4a1ee9390ee7b7bb2ccb60e380335f45bda58b13d24e7a7bf4a478 [INFO] running `Command { std: "docker" "start" "-a" "c38d369f8c4a1ee9390ee7b7bb2ccb60e380335f45bda58b13d24e7a7bf4a478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c38d369f8c4a1ee9390ee7b7bb2ccb60e380335f45bda58b13d24e7a7bf4a478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38d369f8c4a1ee9390ee7b7bb2ccb60e380335f45bda58b13d24e7a7bf4a478", kill_on_drop: false }` [INFO] [stdout] c38d369f8c4a1ee9390ee7b7bb2ccb60e380335f45bda58b13d24e7a7bf4a478 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43b92ae4dc4b4e64209293de7d194654179c45b02c98b8f286499f4430a28ddc [INFO] running `Command { std: "docker" "start" "-a" "43b92ae4dc4b4e64209293de7d194654179c45b02c98b8f286499f4430a28ddc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking taikyoku_shogi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::board::Board` [INFO] [stdout] --> src/path_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Board; [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: `crate::board::Board` [INFO] [stdout] --> src/tengu_attack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::Board` [INFO] [stdout] --> src/tengu_attack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Board; [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: `distance` [INFO] [stdout] --> src/game_state.rs:1210:17 [INFO] [stdout] | [INFO] [stdout] 1210 | for distance in 1..=4 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/game_state.rs:1244:17 [INFO] [stdout] | [INFO] [stdout] 1244 | for distance in 1..=3 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `required_jump_positions` [INFO] [stdout] --> src/movement/generator.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | required_jump_positions: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_jump_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty_after_jump` [INFO] [stdout] --> src/movement/generator.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | empty_after_jump: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_after_jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/movement/generator.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | for distance in 1..=max_distance_forward_diagonal { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/movement/generator.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | for distance in 1..=max_distance_other { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/game_state.rs:1210:17 [INFO] [stdout] | [INFO] [stdout] 1210 | for distance in 1..=4 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/game_state.rs:1244:17 [INFO] [stdout] | [INFO] [stdout] 1244 | for distance in 1..=3 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `required_jump_positions` [INFO] [stdout] --> src/movement/generator.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | required_jump_positions: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_jump_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty_after_jump` [INFO] [stdout] --> src/movement/generator.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | empty_after_jump: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_after_jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/movement/generator.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | for distance in 1..=max_distance_forward_diagonal { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/movement/generator.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | for distance in 1..=max_distance_other { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_str` [INFO] [stdout] --> src/uci.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | for move_str in parts.iter().skip(3) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `should_check_piece_for_attack`, `is_under_attack_on_board`, `is_position_under_attack_on_board`, `apply_move_to_board`, and `would_royal_be_under_attack_after_move` are never used [INFO] [stdout] --> src/minimal_intelligence_player.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl MinimalIntelligencePlayer { [INFO] [stdout] | ------------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn should_check_piece_for_attack(piece: &Piece, royal_pieces: &[Piece]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | fn is_under_attack_on_board(board: &Board, position: Position, defender_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn is_position_under_attack_on_board(board: &Board, position: Position, defender_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn apply_move_to_board(board: &mut Board, mv: &Move, moving_piece: &Piece) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn would_royal_be_under_attack_after_move(game_state: &GameState, mv: &Move, moving_piece: &Piece) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_direction_steps` is never used [INFO] [stdout] --> src/path_utils.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn calculate_direction_steps(from: Position, to: Position) -> Option<(i8, i8)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_result` [INFO] [stdout] --> src/main.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let move_result = game_state.make_move(mv.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_result` [INFO] [stdout] --> src/main.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let move_result = game_state.make_move(mv.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_str` [INFO] [stdout] --> src/uci.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | for move_str in parts.iter().skip(3) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `should_check_piece_for_attack`, `is_under_attack_on_board`, `is_position_under_attack_on_board`, `apply_move_to_board`, and `would_royal_be_under_attack_after_move` are never used [INFO] [stdout] --> src/minimal_intelligence_player.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl MinimalIntelligencePlayer { [INFO] [stdout] | ------------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn should_check_piece_for_attack(piece: &Piece, royal_pieces: &[Piece]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | fn is_under_attack_on_board(board: &Board, position: Position, defender_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn is_position_under_attack_on_board(board: &Board, position: Position, defender_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn apply_move_to_board(board: &mut Board, mv: &Move, moving_piece: &Piece) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn would_royal_be_under_attack_after_move(game_state: &GameState, mv: &Move, moving_piece: &Piece) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_direction_steps` is never used [INFO] [stdout] --> src/path_utils.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn calculate_direction_steps(from: Position, to: Position) -> Option<(i8, i8)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.98s [INFO] running `Command { std: "docker" "inspect" "43b92ae4dc4b4e64209293de7d194654179c45b02c98b8f286499f4430a28ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b92ae4dc4b4e64209293de7d194654179c45b02c98b8f286499f4430a28ddc", kill_on_drop: false }` [INFO] [stdout] 43b92ae4dc4b4e64209293de7d194654179c45b02c98b8f286499f4430a28ddc