[INFO] cloning repository https://github.com/abomb4/rust-five
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abomb4/rust-five" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabomb4%2Frust-five"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabomb4%2Frust-five'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 7ea4f23c0bd54807f2c4d80799dec64e397e3388
[INFO] testing abomb4/rust-five against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabomb4%2Frust-five" "/workspace/builds/worker-3-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/abomb4/rust-five
[INFO] finished tweaking git repo https://github.com/abomb4/rust-five
[INFO] tweaked toml for git repo https://github.com/abomb4/rust-five written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/abomb4/rust-five on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/abomb4/rust-five already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-five` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9
[INFO] running `"docker" "start" "e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9"`
[INFO] running `"docker" "inspect" "e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-five` (manifest) generated 1 warning
[INFO] [stderr]    Compiling rust-five v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the `test` attribute may only be used on a free function
[INFO] [stdout]    --> src/game/board.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[test]
[INFO] [stdout]     |     ^^^^^^^ the `test` attribute causes a function to be run as a test and has no effect on non-functions
[INFO] [stdout]     |
[INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run
[INFO] [stdout]     |
[INFO] [stdout] 118 -     #[test]
[INFO] [stdout] 118 +     #[cfg(test)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::GameBuilderPlayerType::Human`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use game::GameBuilderPlayerType::Human;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> src/game/players.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |         use std::usize;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:148:19
[INFO] [stdout]     |
[INFO] [stdout] 148 |     players: [Box<Player>; 2],
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 148 |     players: [Box<dyn Player>; 2],
[INFO] [stdout]     |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:111:83
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn create_player(player_type: GameBuilderPlayerType, piece: PieceType) -> Box<Player> {
[INFO] [stdout]     |                                                                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn create_player(player_type: GameBuilderPlayerType, piece: PieceType) -> Box<dyn Player> {
[INFO] [stdout]     |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:158:30
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn new(first_player: Box<Player>, second_player: Box<Player>) -> Game {
[INFO] [stdout]     |                              ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn new(first_player: Box<dyn Player>, second_player: Box<Player>) -> Game {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:158:58
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn new(first_player: Box<Player>, second_player: Box<Player>) -> Game {
[INFO] [stdout]     |                                                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn new(first_player: Box<Player>, second_player: Box<dyn Player>) -> Game {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:304:52
[INFO] [stdout]     |
[INFO] [stdout] 304 |     fn change_to_another_player(&mut self) -> &Box<Player> {
[INFO] [stdout]     |                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 304 |     fn change_to_another_player(&mut self) -> &Box<dyn Player> {
[INFO] [stdout]     |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:314:42
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn get_another_player(&self) -> &Box<Player> {
[INFO] [stdout]     |                                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn get_another_player(&self) -> &Box<dyn Player> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:323:54
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn get_another_player_mut(&mut self) -> &mut Box<Player> {
[INFO] [stdout]     |                                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn get_another_player_mut(&mut self) -> &mut Box<dyn Player> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:332:42
[INFO] [stdout]     |
[INFO] [stdout] 332 |     fn get_current_player(&self) -> &Box<Player> {
[INFO] [stdout]     |                                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 332 |     fn get_current_player(&self) -> &Box<dyn Player> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/mod.rs:337:54
[INFO] [stdout]     |
[INFO] [stdout] 337 |     fn get_current_player_mut(&mut self) -> &mut Box<Player> {
[INFO] [stdout]     |                                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 337 |     fn get_current_player_mut(&mut self) -> &mut Box<dyn Player> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/players.rs:79:25
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn point(&mut self, context: &GameContext) -> CoordinationFlat {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/game/players.rs:120:29
[INFO] [stdout]     |
[INFO] [stdout] 120 |         fn point(&mut self, context: &GameContext) -> CoordinationFlat {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]    --> src/game/players.rs:151:39
[INFO] [stdout]     |
[INFO] [stdout] 151 |         fn find_points_need_calculate(board: &Board) -> Vec<CoordinationFlat> {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]    --> src/game/players.rs:156:28
[INFO] [stdout]     |
[INFO] [stdout] 156 |         fn calculate_score(board: &Board, coord: CoordinationFlat) -> usize {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coord`
[INFO] [stdout]    --> src/game/players.rs:156:43
[INFO] [stdout]     |
[INFO] [stdout] 156 |         fn calculate_score(board: &Board, coord: CoordinationFlat) -> usize {
[INFO] [stdout]     |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_coord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]    --> src/game/players.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 |             let last = &context.last_point;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total`
[INFO] [stdout]    --> src/game/players.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |             let total = &context.total_pieces;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_total`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `need_calculate`
[INFO] [stdout]    --> src/game/players.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let need_calculate = EasyAi::find_points_need_calculate(&board);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_calculate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/game/players.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |         fn piece_type(&self) -> PieceType {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 184 |             self.piece_type()
[INFO] [stdout]     |             ----------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-five` (bin "rust-five") due to 1 previous error; 20 warnings emitted
[INFO] running `"docker" "inspect" "e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9"`
[INFO] running `"docker" "rm" "-f" "e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9"`
[INFO] [stdout] e27aa56b42ef4baa021794228aef11fe37f2f7b6cf47ba913cc69868fb54b9e9
