[INFO] updating cached repository https://github.com/craigfay/chess-engine [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/craigfay/chess-engine [INFO] [stderr] 8fe62d4..c79259f master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c79259f2304ee4fedc465f5d3463cee96064bc25 [INFO] checking craigfay/chess-engine against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Fchess-engine" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craigfay/chess-engine on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/craigfay/chess-engine [INFO] finished tweaking git repo https://github.com/craigfay/chess-engine [INFO] tweaked toml for git repo https://github.com/craigfay/chess-engine written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/craigfay/chess-engine already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 509bc0b33240205372b2d72aa3a8478c231287b2c3eb45b400dc58e9db860f9e [INFO] running `"docker" "start" "-a" "509bc0b33240205372b2d72aa3a8478c231287b2c3eb45b400dc58e9db860f9e"` [INFO] [stderr] Checking chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `new_gamestate_test` in this scope [INFO] [stderr] --> src/main.rs:1924:5 [INFO] [stderr] | [INFO] [stderr] 1924 | new_gamestate_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_test` in this scope [INFO] [stderr] --> src/main.rs:1925:5 [INFO] [stderr] | [INFO] [stderr] 1925 | legal_actions_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `legal_actions` [INFO] [stderr] | [INFO] [stderr] ::: src/rules.rs:630:1 [INFO] [stderr] | [INFO] [stderr] 630 | / pub fn legal_actions(state: &GameState) -> Vec> { [INFO] [stderr] 631 | | let mut results: Vec> = vec![]; [INFO] [stderr] 632 | | [INFO] [stderr] 633 | | for action in legal_moves(&state) { [INFO] [stderr] ... | [INFO] [stderr] 648 | | results [INFO] [stderr] 649 | | } [INFO] [stderr] | |_- similarly named function `legal_actions` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_no_kings_test` in this scope [INFO] [stderr] --> src/main.rs:1926:5 [INFO] [stderr] | [INFO] [stderr] 1926 | legal_actions_no_kings_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `position_delta_test` in this scope [INFO] [stderr] --> src/main.rs:1927:5 [INFO] [stderr] | [INFO] [stderr] 1927 | position_delta_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `position_delta` [INFO] [stderr] | [INFO] [stderr] ::: src/rules.rs:953:1 [INFO] [stderr] | [INFO] [stderr] 953 | / pub fn position_delta(from: usize, to: usize) -> (i32, i32) { [INFO] [stderr] 954 | | let x = (to as i32 % 8) - (from as i32 % 8); [INFO] [stderr] 955 | | let y = (to as i32 / 8) - (from as i32 / 8); [INFO] [stderr] 956 | | return (x, y); [INFO] [stderr] 957 | | } [INFO] [stderr] | |_- similarly named function `position_delta` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pawn_movement_sideways_test` in this scope [INFO] [stderr] --> src/main.rs:1928:5 [INFO] [stderr] | [INFO] [stderr] 1928 | pawn_movement_sideways_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pawn_movement_too_far_test` in this scope [INFO] [stderr] --> src/main.rs:1929:5 [INFO] [stderr] | [INFO] [stderr] 1929 | pawn_movement_too_far_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pawn_movement_normal_test` in this scope [INFO] [stderr] --> src/main.rs:1930:5 [INFO] [stderr] | [INFO] [stderr] 1930 | pawn_movement_normal_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pawn_cant_move_diagonally_test` in this scope [INFO] [stderr] --> src/main.rs:1931:5 [INFO] [stderr] | [INFO] [stderr] 1931 | pawn_cant_move_diagonally_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `rook_movement_horizontal_test` in this scope [INFO] [stderr] --> src/main.rs:1932:5 [INFO] [stderr] | [INFO] [stderr] 1932 | rook_movement_horizontal_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `rook_movement_vertical_test` in this scope [INFO] [stderr] --> src/main.rs:1933:5 [INFO] [stderr] | [INFO] [stderr] 1933 | rook_movement_vertical_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `rook_movement_horizontal_obstruction_test` in this scope [INFO] [stderr] --> src/main.rs:1934:5 [INFO] [stderr] | [INFO] [stderr] 1934 | rook_movement_horizontal_obstruction_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_movement_diagonal_up_left_test` in this scope [INFO] [stderr] --> src/main.rs:1935:5 [INFO] [stderr] | [INFO] [stderr] 1935 | bishop_movement_diagonal_up_left_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_movement_diagonal_up_right_test` in this scope [INFO] [stderr] --> src/main.rs:1936:5 [INFO] [stderr] | [INFO] [stderr] 1936 | bishop_movement_diagonal_up_right_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_movement_diagonal_down_left_test` in this scope [INFO] [stderr] --> src/main.rs:1937:5 [INFO] [stderr] | [INFO] [stderr] 1937 | bishop_movement_diagonal_down_left_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_movement_diagonal_down_right_test` in this scope [INFO] [stderr] --> src/main.rs:1938:5 [INFO] [stderr] | [INFO] [stderr] 1938 | bishop_movement_diagonal_down_right_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_movement_diagonal_right_edge_test` in this scope [INFO] [stderr] --> src/main.rs:1939:5 [INFO] [stderr] | [INFO] [stderr] 1939 | bishop_movement_diagonal_right_edge_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_movement_diagonal_left_edge_test` in this scope [INFO] [stderr] --> src/main.rs:1940:5 [INFO] [stderr] | [INFO] [stderr] 1940 | bishop_movement_diagonal_left_edge_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_two_up_one_right_test` in this scope [INFO] [stderr] --> src/main.rs:1941:5 [INFO] [stderr] | [INFO] [stderr] 1941 | knight_movement_two_up_one_right_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_one_up_two_right_test` in this scope [INFO] [stderr] --> src/main.rs:1942:5 [INFO] [stderr] | [INFO] [stderr] 1942 | knight_movement_one_up_two_right_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_two_up_one_left_test` in this scope [INFO] [stderr] --> src/main.rs:1943:5 [INFO] [stderr] | [INFO] [stderr] 1943 | knight_movement_two_up_one_left_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_one_up_two_left_test` in this scope [INFO] [stderr] --> src/main.rs:1944:5 [INFO] [stderr] | [INFO] [stderr] 1944 | knight_movement_one_up_two_left_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_two_down_one_right_test` in this scope [INFO] [stderr] --> src/main.rs:1945:5 [INFO] [stderr] | [INFO] [stderr] 1945 | knight_movement_two_down_one_right_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_one_down_two_right_test` in this scope [INFO] [stderr] --> src/main.rs:1946:5 [INFO] [stderr] | [INFO] [stderr] 1946 | knight_movement_one_down_two_right_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_two_down_one_left_test` in this scope [INFO] [stderr] --> src/main.rs:1947:5 [INFO] [stderr] | [INFO] [stderr] 1947 | knight_movement_two_down_one_left_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_movement_one_down_two_left_test` in this scope [INFO] [stderr] --> src/main.rs:1948:5 [INFO] [stderr] | [INFO] [stderr] 1948 | knight_movement_one_down_two_left_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `queen_movement_horizontal_test` in this scope [INFO] [stderr] --> src/main.rs:1949:5 [INFO] [stderr] | [INFO] [stderr] 1949 | queen_movement_horizontal_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `queen_movement_vertical_test` in this scope [INFO] [stderr] --> src/main.rs:1950:5 [INFO] [stderr] | [INFO] [stderr] 1950 | queen_movement_vertical_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `queen_movement_diagonal_test` in this scope [INFO] [stderr] --> src/main.rs:1951:5 [INFO] [stderr] | [INFO] [stderr] 1951 | queen_movement_diagonal_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `king_movement_horizontal_test` in this scope [INFO] [stderr] --> src/main.rs:1952:5 [INFO] [stderr] | [INFO] [stderr] 1952 | king_movement_horizontal_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `king_movement_vertical_test` in this scope [INFO] [stderr] --> src/main.rs:1953:5 [INFO] [stderr] | [INFO] [stderr] 1953 | king_movement_vertical_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `king_movement_diagonal_test` in this scope [INFO] [stderr] --> src/main.rs:1954:5 [INFO] [stderr] | [INFO] [stderr] 1954 | king_movement_diagonal_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `cant_move_onto_another_piece_test` in this scope [INFO] [stderr] --> src/main.rs:1955:5 [INFO] [stderr] | [INFO] [stderr] 1955 | cant_move_onto_another_piece_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `color_is_checked_test` in this scope [INFO] [stderr] --> src/main.rs:1956:5 [INFO] [stderr] | [INFO] [stderr] 1956 | color_is_checked_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `color_is_checked` [INFO] [stderr] | [INFO] [stderr] ::: src/rules.rs:605:1 [INFO] [stderr] | [INFO] [stderr] 605 | / pub fn color_is_checked(color: Color, state: &GameState) -> bool { [INFO] [stderr] 606 | | let mut king_square: Option = None; [INFO] [stderr] 607 | | [INFO] [stderr] 608 | | // Determine which square the king of active color is on [INFO] [stderr] ... | [INFO] [stderr] 627 | | color_threatens_square(attacker, king_square.unwrap(), &state) [INFO] [stderr] 628 | | } [INFO] [stderr] | |_- similarly named function `color_is_checked` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `color_threatens_square_test` in this scope [INFO] [stderr] --> src/main.rs:1957:5 [INFO] [stderr] | [INFO] [stderr] 1957 | color_threatens_square_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `color_threatens_square` [INFO] [stderr] | [INFO] [stderr] ::: src/rules.rs:579:1 [INFO] [stderr] | [INFO] [stderr] 579 | / pub fn color_threatens_square(color: Color, target_square: usize, state: &GameState) -> bool { [INFO] [stderr] 580 | | for (square, maybe_piece) in state.squares.iter().enumerate() { [INFO] [stderr] 581 | | match maybe_piece { [INFO] [stderr] 582 | | Some(piece) => { [INFO] [stderr] ... | [INFO] [stderr] 602 | | false [INFO] [stderr] 603 | | } [INFO] [stderr] | |_- similarly named function `color_threatens_square` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `state_after_move_test` in this scope [INFO] [stderr] --> src/main.rs:1958:5 [INFO] [stderr] | [INFO] [stderr] 1958 | state_after_move_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_kingside_castle_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1959:5 [INFO] [stderr] | [INFO] [stderr] 1959 | white_kingside_castle_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_kingside_castle_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1960:5 [INFO] [stderr] | [INFO] [stderr] 1960 | black_kingside_castle_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queenside_castle_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1961:5 [INFO] [stderr] | [INFO] [stderr] 1961 | white_queenside_castle_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queenside_castle_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1962:5 [INFO] [stderr] | [INFO] [stderr] 1962 | black_queenside_castle_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_kingside_castle_aftermath_test` in this scope [INFO] [stderr] --> src/main.rs:1963:5 [INFO] [stderr] | [INFO] [stderr] 1963 | white_kingside_castle_aftermath_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queenside_castle_aftermath_test` in this scope [INFO] [stderr] --> src/main.rs:1964:5 [INFO] [stderr] | [INFO] [stderr] 1964 | white_queenside_castle_aftermath_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_kingside_castle_aftermath_test` in this scope [INFO] [stderr] --> src/main.rs:1965:5 [INFO] [stderr] | [INFO] [stderr] 1965 | black_kingside_castle_aftermath_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queenside_castle_aftermath_test` in this scope [INFO] [stderr] --> src/main.rs:1966:5 [INFO] [stderr] | [INFO] [stderr] 1966 | black_queenside_castle_aftermath_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_kingside_castle_obstruction_test` in this scope [INFO] [stderr] --> src/main.rs:1967:5 [INFO] [stderr] | [INFO] [stderr] 1967 | white_kingside_castle_obstruction_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queenside_castle_obstruction_test` in this scope [INFO] [stderr] --> src/main.rs:1968:5 [INFO] [stderr] | [INFO] [stderr] 1968 | white_queenside_castle_obstruction_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_kingside_castle_obstruction_test` in this scope [INFO] [stderr] --> src/main.rs:1969:5 [INFO] [stderr] | [INFO] [stderr] 1969 | black_kingside_castle_obstruction_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queenside_castle_obstruction_test` in this scope [INFO] [stderr] --> src/main.rs:1970:5 [INFO] [stderr] | [INFO] [stderr] 1970 | black_queenside_castle_obstruction_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_kingside_castle_out_of_check_test` in this scope [INFO] [stderr] --> src/main.rs:1971:5 [INFO] [stderr] | [INFO] [stderr] 1971 | white_kingside_castle_out_of_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_kingside_castle_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:1972:5 [INFO] [stderr] | [INFO] [stderr] 1972 | white_kingside_castle_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_kingside_castle_through_check_test` in this scope [INFO] [stderr] --> src/main.rs:1973:5 [INFO] [stderr] | [INFO] [stderr] 1973 | white_kingside_castle_through_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queenside_castle_out_of_check_test` in this scope [INFO] [stderr] --> src/main.rs:1974:5 [INFO] [stderr] | [INFO] [stderr] 1974 | white_queenside_castle_out_of_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queenside_castle_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:1975:5 [INFO] [stderr] | [INFO] [stderr] 1975 | white_queenside_castle_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queenside_castle_through_check_test` in this scope [INFO] [stderr] --> src/main.rs:1976:5 [INFO] [stderr] | [INFO] [stderr] 1976 | white_queenside_castle_through_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_kingside_castle_out_of_check_test` in this scope [INFO] [stderr] --> src/main.rs:1977:5 [INFO] [stderr] | [INFO] [stderr] 1977 | black_kingside_castle_out_of_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_kingside_castle_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:1978:5 [INFO] [stderr] | [INFO] [stderr] 1978 | black_kingside_castle_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_kingside_castle_through_check_test` in this scope [INFO] [stderr] --> src/main.rs:1979:5 [INFO] [stderr] | [INFO] [stderr] 1979 | black_kingside_castle_through_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queenside_castle_out_of_check_test` in this scope [INFO] [stderr] --> src/main.rs:1980:5 [INFO] [stderr] | [INFO] [stderr] 1980 | black_queenside_castle_out_of_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queenside_castle_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:1981:5 [INFO] [stderr] | [INFO] [stderr] 1981 | black_queenside_castle_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queenside_castle_through_check_test` in this scope [INFO] [stderr] --> src/main.rs:1982:5 [INFO] [stderr] | [INFO] [stderr] 1982 | black_queenside_castle_through_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pawn_threats_test` in this scope [INFO] [stderr] --> src/main.rs:1983:5 [INFO] [stderr] | [INFO] [stderr] 1983 | pawn_threats_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_performs_en_passant_test` in this scope [INFO] [stderr] --> src/main.rs:1984:5 [INFO] [stderr] | [INFO] [stderr] 1984 | white_performs_en_passant_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_performs_en_passant_test` in this scope [INFO] [stderr] --> src/main.rs:1985:5 [INFO] [stderr] | [INFO] [stderr] 1985 | black_performs_en_passant_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_knight_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1986:5 [INFO] [stderr] | [INFO] [stderr] 1986 | white_knight_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_bishop_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1987:5 [INFO] [stderr] | [INFO] [stderr] 1987 | white_bishop_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_rook_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1988:5 [INFO] [stderr] | [INFO] [stderr] 1988 | white_rook_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queen_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1989:5 [INFO] [stderr] | [INFO] [stderr] 1989 | white_queen_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_bishop_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1990:5 [INFO] [stderr] | [INFO] [stderr] 1990 | black_bishop_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_knight_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1991:5 [INFO] [stderr] | [INFO] [stderr] 1991 | black_knight_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_rook_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1992:5 [INFO] [stderr] | [INFO] [stderr] 1992 | black_rook_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queen_promotion_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1993:5 [INFO] [stderr] | [INFO] [stderr] 1993 | black_queen_promotion_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `promotion_capture_legality_test` in this scope [INFO] [stderr] --> src/main.rs:1994:5 [INFO] [stderr] | [INFO] [stderr] 1994 | promotion_capture_legality_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `en_passant_expires_after_move_test` in this scope [INFO] [stderr] --> src/main.rs:1995:5 [INFO] [stderr] | [INFO] [stderr] 1995 | en_passant_expires_after_move_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `en_passant_expires_after_castle_test` in this scope [INFO] [stderr] --> src/main.rs:1996:5 [INFO] [stderr] | [INFO] [stderr] 1996 | en_passant_expires_after_castle_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `en_passant_expires_after_promotion_test` in this scope [INFO] [stderr] --> src/main.rs:1997:5 [INFO] [stderr] | [INFO] [stderr] 1997 | en_passant_expires_after_promotion_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `en_passant_expires_after_en_passant_test` in this scope [INFO] [stderr] --> src/main.rs:1998:5 [INFO] [stderr] | [INFO] [stderr] 1998 | en_passant_expires_after_en_passant_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `en_passant_expires_after_capture_test` in this scope [INFO] [stderr] --> src/main.rs:1999:5 [INFO] [stderr] | [INFO] [stderr] 1999 | en_passant_expires_after_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_move_switches_after_move_test` in this scope [INFO] [stderr] --> src/main.rs:2000:5 [INFO] [stderr] | [INFO] [stderr] 2000 | to_move_switches_after_move_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_move_switches_after_promotion_test` in this scope [INFO] [stderr] --> src/main.rs:2001:5 [INFO] [stderr] | [INFO] [stderr] 2001 | to_move_switches_after_promotion_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_move_switches_after_castle_test` in this scope [INFO] [stderr] --> src/main.rs:2002:5 [INFO] [stderr] | [INFO] [stderr] 2002 | to_move_switches_after_castle_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_moves_test` in this scope [INFO] [stderr] --> src/main.rs:2003:5 [INFO] [stderr] | [INFO] [stderr] 2003 | legal_actions_includes_moves_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_promotions_test` in this scope [INFO] [stderr] --> src/main.rs:2004:5 [INFO] [stderr] | [INFO] [stderr] 2004 | legal_actions_includes_promotions_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_all_legal_castles_by_white_test` in this scope [INFO] [stderr] --> src/main.rs:2005:5 [INFO] [stderr] | [INFO] [stderr] 2005 | legal_actions_includes_all_legal_castles_by_white_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_all_legal_castles_by_black_test` in this scope [INFO] [stderr] --> src/main.rs:2006:5 [INFO] [stderr] | [INFO] [stderr] 2006 | legal_actions_includes_all_legal_castles_by_black_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_all_legal_en_passants_by_white_test` in this scope [INFO] [stderr] --> src/main.rs:2007:5 [INFO] [stderr] | [INFO] [stderr] 2007 | legal_actions_includes_all_legal_en_passants_by_white_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_all_legal_en_passants_by_black_test` in this scope [INFO] [stderr] --> src/main.rs:2008:5 [INFO] [stderr] | [INFO] [stderr] 2008 | legal_actions_includes_all_legal_en_passants_by_black_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_all_legal_captures_by_white_test` in this scope [INFO] [stderr] --> src/main.rs:2009:5 [INFO] [stderr] | [INFO] [stderr] 2009 | legal_actions_includes_all_legal_captures_by_white_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `legal_actions_includes_all_legal_captures_by_black_test` in this scope [INFO] [stderr] --> src/main.rs:2010:5 [INFO] [stderr] | [INFO] [stderr] 2010 | legal_actions_includes_all_legal_captures_by_black_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `no_legal_actions_in_checkmate_test` in this scope [INFO] [stderr] --> src/main.rs:2011:5 [INFO] [stderr] | [INFO] [stderr] 2011 | no_legal_actions_in_checkmate_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_promotion_to_bishop_test` in this scope [INFO] [stderr] --> src/main.rs:2012:5 [INFO] [stderr] | [INFO] [stderr] 2012 | white_promotion_to_bishop_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_promotion_to_knight_test` in this scope [INFO] [stderr] --> src/main.rs:2013:5 [INFO] [stderr] | [INFO] [stderr] 2013 | white_promotion_to_knight_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_promotion_to_rook_test` in this scope [INFO] [stderr] --> src/main.rs:2014:5 [INFO] [stderr] | [INFO] [stderr] 2014 | white_promotion_to_rook_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_promotion_to_queen_test` in this scope [INFO] [stderr] --> src/main.rs:2015:5 [INFO] [stderr] | [INFO] [stderr] 2015 | white_promotion_to_queen_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_promotion_to_bishop_test` in this scope [INFO] [stderr] --> src/main.rs:2016:5 [INFO] [stderr] | [INFO] [stderr] 2016 | black_promotion_to_bishop_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_promotion_to_knight_test` in this scope [INFO] [stderr] --> src/main.rs:2017:5 [INFO] [stderr] | [INFO] [stderr] 2017 | black_promotion_to_knight_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_promotion_to_rook_test` in this scope [INFO] [stderr] --> src/main.rs:2018:5 [INFO] [stderr] | [INFO] [stderr] 2018 | black_promotion_to_rook_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_promotion_to_queen_test` in this scope [INFO] [stderr] --> src/main.rs:2019:5 [INFO] [stderr] | [INFO] [stderr] 2019 | black_promotion_to_queen_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_cant_move_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:2020:5 [INFO] [stderr] | [INFO] [stderr] 2020 | white_cant_move_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_cant_promote_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:2021:5 [INFO] [stderr] | [INFO] [stderr] 2021 | white_cant_promote_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_cant_move_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:2022:5 [INFO] [stderr] | [INFO] [stderr] 2022 | black_cant_move_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_cant_promote_into_check_test` in this scope [INFO] [stderr] --> src/main.rs:2023:5 [INFO] [stderr] | [INFO] [stderr] 2023 | black_cant_promote_into_check_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_pawn_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2024:5 [INFO] [stderr] | [INFO] [stderr] 2024 | white_pawn_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_pawn_cant_capture_vertically_test` in this scope [INFO] [stderr] --> src/main.rs:2025:5 [INFO] [stderr] | [INFO] [stderr] 2025 | white_pawn_cant_capture_vertically_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_pawn_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2026:5 [INFO] [stderr] | [INFO] [stderr] 2026 | black_pawn_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_pawn_cant_capture_vertically_test` in this scope [INFO] [stderr] --> src/main.rs:2027:5 [INFO] [stderr] | [INFO] [stderr] 2027 | black_pawn_cant_capture_vertically_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_bishop_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2028:5 [INFO] [stderr] | [INFO] [stderr] 2028 | white_bishop_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_bishop_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2029:5 [INFO] [stderr] | [INFO] [stderr] 2029 | black_bishop_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_knight_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2030:5 [INFO] [stderr] | [INFO] [stderr] 2030 | white_knight_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_knight_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2031:5 [INFO] [stderr] | [INFO] [stderr] 2031 | black_knight_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_rook_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2032:5 [INFO] [stderr] | [INFO] [stderr] 2032 | white_rook_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_rook_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2033:5 [INFO] [stderr] | [INFO] [stderr] 2033 | black_rook_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_queen_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2034:5 [INFO] [stderr] | [INFO] [stderr] 2034 | white_queen_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_queen_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2035:5 [INFO] [stderr] | [INFO] [stderr] 2035 | black_queen_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `white_king_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2036:5 [INFO] [stderr] | [INFO] [stderr] 2036 | white_king_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `black_king_can_capture_test` in this scope [INFO] [stderr] --> src/main.rs:2037:5 [INFO] [stderr] | [INFO] [stderr] 2037 | black_king_can_capture_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pawn_move_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2038:5 [INFO] [stderr] | [INFO] [stderr] 2038 | pawn_move_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_move_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2039:5 [INFO] [stderr] | [INFO] [stderr] 2039 | bishop_move_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_move_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2040:5 [INFO] [stderr] | [INFO] [stderr] 2040 | knight_move_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `rook_move_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2041:5 [INFO] [stderr] | [INFO] [stderr] 2041 | rook_move_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `queen_move_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2042:5 [INFO] [stderr] | [INFO] [stderr] 2042 | queen_move_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `king_move_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2043:5 [INFO] [stderr] | [INFO] [stderr] 2043 | king_move_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `move_algebraic_notation_with_ambiguous_file_test` in this scope [INFO] [stderr] --> src/main.rs:2044:5 [INFO] [stderr] | [INFO] [stderr] 2044 | move_algebraic_notation_with_ambiguous_file_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `move_algebraic_notation_with_ambiguous_rank_test` in this scope [INFO] [stderr] --> src/main.rs:2045:5 [INFO] [stderr] | [INFO] [stderr] 2045 | move_algebraic_notation_with_ambiguous_rank_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `move_algebraic_notation_with_ambiguous_rank_and_file_test` in this scope [INFO] [stderr] --> src/main.rs:2046:5 [INFO] [stderr] | [INFO] [stderr] 2046 | move_algebraic_notation_with_ambiguous_rank_and_file_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pawn_capture_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2047:5 [INFO] [stderr] | [INFO] [stderr] 2047 | pawn_capture_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bishop_capture_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2048:5 [INFO] [stderr] | [INFO] [stderr] 2048 | bishop_capture_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `knight_capture_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2049:5 [INFO] [stderr] | [INFO] [stderr] 2049 | knight_capture_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `rook_capture_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2050:5 [INFO] [stderr] | [INFO] [stderr] 2050 | rook_capture_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `queen_capture_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2051:5 [INFO] [stderr] | [INFO] [stderr] 2051 | queen_capture_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `king_capture_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2052:5 [INFO] [stderr] | [INFO] [stderr] 2052 | king_capture_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `capture_algebraic_notation_with_ambiguous_file_test` in this scope [INFO] [stderr] --> src/main.rs:2053:5 [INFO] [stderr] | [INFO] [stderr] 2053 | capture_algebraic_notation_with_ambiguous_file_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `capture_algebraic_notation_with_ambiguous_rank_test` in this scope [INFO] [stderr] --> src/main.rs:2054:5 [INFO] [stderr] | [INFO] [stderr] 2054 | capture_algebraic_notation_with_ambiguous_rank_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `en_passant_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2055:5 [INFO] [stderr] | [INFO] [stderr] 2055 | en_passant_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `kingside_castle_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2056:5 [INFO] [stderr] | [INFO] [stderr] 2056 | kingside_castle_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `queenside_castle_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2057:5 [INFO] [stderr] | [INFO] [stderr] 2057 | queenside_castle_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `promotion_to_bishop_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2058:5 [INFO] [stderr] | [INFO] [stderr] 2058 | promotion_to_bishop_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `promotion_to_knight_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2059:5 [INFO] [stderr] | [INFO] [stderr] 2059 | promotion_to_knight_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `promotion_to_rook_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2060:5 [INFO] [stderr] | [INFO] [stderr] 2060 | promotion_to_rook_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `promotion_to_queen_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2061:5 [INFO] [stderr] | [INFO] [stderr] 2061 | promotion_to_queen_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `promotion_with_capture_algebraic_notation_test` in this scope [INFO] [stderr] --> src/main.rs:2062:5 [INFO] [stderr] | [INFO] [stderr] 2062 | promotion_with_capture_algebraic_notation_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gamestate_to_string_test` in this scope [INFO] [stderr] --> src/main.rs:2063:5 [INFO] [stderr] | [INFO] [stderr] 2063 | gamestate_to_string_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GameState`, `Move` [INFO] [stderr] --> src/controller.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Black`, `GameState`, `Move`, `Pawn`, `White` [INFO] [stderr] --> src/notation.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] 6 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | PieceName::{ [INFO] [stderr] 8 | Pawn [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | }, [INFO] [stderr] 10 | Color::{White,Black}, [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `color_is_checked`, `color_threatens_square`, `legal_actions`, `position_delta` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | color_threatens_square, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | color_is_checked, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | legal_actions, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 12 | position_delta, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Action`, `Bishop`, `Black`, `Capture`, `Castle`, `EnPassant`, `GameState`, `King`, `Kingside`, `Knight`, `Move`, `Pawn`, `Piece`, `Placement`, `Promotion`, `Queen`, `Queenside`, `Rook`, `White` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 17 | Placement, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 18 | Piece, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 19 | PieceName::{ [INFO] [stderr] 20 | Pawn, [INFO] [stderr] | ^^^^ [INFO] [stderr] 21 | Rook, [INFO] [stderr] | ^^^^ [INFO] [stderr] 22 | Bishop, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 23 | Knight, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 24 | Queen, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 25 | King, [INFO] [stderr] | ^^^^ [INFO] [stderr] 26 | }, [INFO] [stderr] 27 | Color::{White, Black}, [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] 28 | Action, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] 30 | Capture, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 31 | Promotion, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 32 | Castle, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 33 | CastleDirection::{Kingside, Queenside}, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 34 | EnPassant, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `square_algebraic_to_index`, `square_index_to_algebraic` [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | square_index_to_algebraic, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 39 | square_algebraic_to_index, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 140 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `chess-engine`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused imports: `GameState`, `Move` [INFO] [stderr] --> src/controller.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Black`, `GameState`, `Move`, `Pawn`, `White` [INFO] [stderr] --> src/notation.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] 6 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | PieceName::{ [INFO] [stderr] 8 | Pawn [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | }, [INFO] [stderr] 10 | Color::{White,Black}, [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Piece` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Piece, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `square_index_to_algebraic` [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | square_index_to_algebraic, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/main.rs:980:9 [INFO] [stderr] | [INFO] [stderr] 980 | let action = Move { from: 29, to: 20 }; [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_action` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_x` [INFO] [stderr] --> src/rules.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | let (delta_x, delta_y) = position_delta(self.from, self.to); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_x` [INFO] [stderr] --> src/rules.rs:211:14 [INFO] [stderr] | [INFO] [stderr] 211 | let (delta_x, delta_y) = position_delta(self.with, self.on); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_y` [INFO] [stderr] --> src/rules.rs:211:23 [INFO] [stderr] | [INFO] [stderr] 211 | let (delta_x, delta_y) = position_delta(self.with, self.on); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_y` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:470:9 [INFO] [stderr] | [INFO] [stderr] 470 | let mut state = GameState::with_placements(vec![ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:1223:9 [INFO] [stderr] | [INFO] [stderr] 1223 | let mut state = GameState::with_placements(vec![ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | let mut origin_rank = &mut String::with_capacity(1); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let mut origin_file = &mut String::with_capacity(1); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | let mut origin_rank = &mut String::with_capacity(1); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | let mut origin_file = &mut String::with_capacity(1); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:240:13 [INFO] [stderr] | [INFO] [stderr] 240 | let mut origin_file = &mut String::with_capacity(1); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:464:13 [INFO] [stderr] | [INFO] [stderr] 464 | let mut origin_file = &mut String::with_capacity(1); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:465:13 [INFO] [stderr] | [INFO] [stderr] 465 | let mut capture_indicator = &mut String::with_capacity(1); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `relative_material_values` [INFO] [stderr] --> src/rules.rs:549:8 [INFO] [stderr] | [INFO] [stderr] 549 | pub fn relative_material_values(state: &GameState) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `piece_value` [INFO] [stderr] --> src/rules.rs:568:8 [INFO] [stderr] | [INFO] [stderr] 568 | pub fn piece_value(name: &PieceName) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `legal_next_states` [INFO] [stderr] --> src/rules.rs:651:8 [INFO] [stderr] | [INFO] [stderr] 651 | pub fn legal_next_states(state: &GameState) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `square_index_to_algebraic` [INFO] [stderr] --> src/notation.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn square_index_to_algebraic(square: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "509bc0b33240205372b2d72aa3a8478c231287b2c3eb45b400dc58e9db860f9e"` [INFO] running `"docker" "rm" "-f" "509bc0b33240205372b2d72aa3a8478c231287b2c3eb45b400dc58e9db860f9e"` [INFO] [stdout] 509bc0b33240205372b2d72aa3a8478c231287b2c3eb45b400dc58e9db860f9e