[INFO] cloning repository https://github.com/robbagott/rob-chess-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robbagott/rob-chess-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbagott%2Frob-chess-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbagott%2Frob-chess-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 246ac4b5a84eec39b73b9438dd720dd49b38b111 [INFO] testing robbagott/rob-chess-rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbagott%2Frob-chess-rust" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robbagott/rob-chess-rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robbagott/rob-chess-rust [INFO] finished tweaking git repo https://github.com/robbagott/rob-chess-rust [INFO] tweaked toml for git repo https://github.com/robbagott/rob-chess-rust written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/robbagott/rob-chess-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90bd27b746b3b2ec8fa560cd19985503db85f3368e4d7c39caeb603e2202b238 [INFO] running `Command { std: "docker" "start" "-a" "90bd27b746b3b2ec8fa560cd19985503db85f3368e4d7c39caeb603e2202b238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90bd27b746b3b2ec8fa560cd19985503db85f3368e4d7c39caeb603e2202b238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bd27b746b3b2ec8fa560cd19985503db85f3368e4d7c39caeb603e2202b238", kill_on_drop: false }` [INFO] [stdout] 90bd27b746b3b2ec8fa560cd19985503db85f3368e4d7c39caeb603e2202b238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc4efa48dc49a32da8bc14e66ea7fb66d01824a39e98c3b625b8db7741b0fde0 [INFO] running `Command { std: "docker" "start" "-a" "dc4efa48dc49a32da8bc14e66ea7fb66d01824a39e98c3b625b8db7741b0fde0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling rob_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/game/chess_move.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::color::Color` [INFO] [stdout] --> src/game/game_context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::game_piece::Piece` [INFO] [stdout] --> src/game/game_context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::game_piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/game/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/game/mod.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | fn game_loop(color: Color, player_color: Color, g: &mut GameContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] ... [INFO] [stdout] 91 | game_loop(opp_color, player_color, g); [INFO] [stdout] | ------------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/game/game_piece.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `causes_check` [INFO] [stdout] --> src/game/position/mod.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | fn causes_check(&mut self, m: &ChessMove, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_king_square` [INFO] [stdout] --> src/game/position/mod.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | fn get_king_square(&self, color: Color) -> Square { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `in_check` [INFO] [stdout] --> src/game/position/mod.rs:519:8 [INFO] [stdout] | [INFO] [stdout] 519 | fn in_check(&self, f: usize, r: usize, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.09s [INFO] running `Command { std: "docker" "inspect" "dc4efa48dc49a32da8bc14e66ea7fb66d01824a39e98c3b625b8db7741b0fde0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4efa48dc49a32da8bc14e66ea7fb66d01824a39e98c3b625b8db7741b0fde0", kill_on_drop: false }` [INFO] [stdout] dc4efa48dc49a32da8bc14e66ea7fb66d01824a39e98c3b625b8db7741b0fde0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 881ce26815f4488191666b07db88830d2c5a3b9b033c631d466afa423478822b [INFO] running `Command { std: "docker" "start" "-a" "881ce26815f4488191666b07db88830d2c5a3b9b033c631d466afa423478822b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rob_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/game/chess_move.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::color::Color` [INFO] [stdout] --> src/game/game_context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::game_piece::Piece` [INFO] [stdout] --> src/game/game_context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::game_piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_o_white` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | p.o_o_o_white = false; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 9 | p.castling_rights.o_o_o_white = false; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_white` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | p.o_o_white = false; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 10 | p.castling_rights.o_o_white = false; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_o_black` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | p.o_o_o_black = false; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 11 | p.castling_rights.o_o_o_black = false; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_black` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | p.o_o_black = false; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 12 | p.castling_rights.o_o_black = false; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_o_white` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(p.o_o_o_white, true); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(p.castling_rights.o_o_o_white, true); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_white` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(p.o_o_white, true); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(p.castling_rights.o_o_white, true); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_o_black` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(p.o_o_o_black, true); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(p.castling_rights.o_o_o_black, true); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `o_o_black` on type `Position` [INFO] [stdout] --> src/game/position/position_tests.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(p.o_o_black, true); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `board`, `castling_rights` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(p.castling_rights.o_o_black, true); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rob_chess` due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "881ce26815f4488191666b07db88830d2c5a3b9b033c631d466afa423478822b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "881ce26815f4488191666b07db88830d2c5a3b9b033c631d466afa423478822b", kill_on_drop: false }` [INFO] [stdout] 881ce26815f4488191666b07db88830d2c5a3b9b033c631d466afa423478822b