[INFO] cloning repository https://github.com/timokau/rust-tic_tac_toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timokau/rust-tic_tac_toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimokau%2Frust-tic_tac_toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimokau%2Frust-tic_tac_toe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 612499fb882be551e01ca2dc9c94e900185298c4 [INFO] testing timokau/rust-tic_tac_toe against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimokau%2Frust-tic_tac_toe" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timokau/rust-tic_tac_toe on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timokau/rust-tic_tac_toe [INFO] finished tweaking git repo https://github.com/timokau/rust-tic_tac_toe [INFO] tweaked toml for git repo https://github.com/timokau/rust-tic_tac_toe written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/timokau/rust-tic_tac_toe already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 869a7855de47bcbde3a8f42b2d3d5299b2d833eb9b90f50b46302945de4fdcec [INFO] running `Command { std: "docker" "start" "-a" "869a7855de47bcbde3a8f42b2d3d5299b2d833eb9b90f50b46302945de4fdcec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "869a7855de47bcbde3a8f42b2d3d5299b2d833eb9b90f50b46302945de4fdcec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869a7855de47bcbde3a8f42b2d3d5299b2d833eb9b90f50b46302945de4fdcec", kill_on_drop: false }` [INFO] [stdout] 869a7855de47bcbde3a8f42b2d3d5299b2d833eb9b90f50b46302945de4fdcec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bacb4de0f7fa557180e6ec8f7ec4a497b31f6f7d57f9243ac88a1ca0c156938b [INFO] running `Command { std: "docker" "start" "-a" "bacb4de0f7fa557180e6ec8f7ec4a497b31f6f7d57f9243ac88a1ca0c156938b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling tic_tac_toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let players: Vec<&Player> = vec![&term_player_1, &term_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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | let players: Vec<&dyn Player> = vec![&term_player_1, &term_player_2]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_some` and `is_none` are never used [INFO] [stdout] --> src/game/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 40 | fn is_some(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "bacb4de0f7fa557180e6ec8f7ec4a497b31f6f7d57f9243ac88a1ca0c156938b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bacb4de0f7fa557180e6ec8f7ec4a497b31f6f7d57f9243ac88a1ca0c156938b", kill_on_drop: false }` [INFO] [stdout] bacb4de0f7fa557180e6ec8f7ec4a497b31f6f7d57f9243ac88a1ca0c156938b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c13d1a6fb976cf79a78a9eea16715e61ffb6fabf28bd0304527b146eeccbe46 [INFO] running `Command { std: "docker" "start" "-a" "2c13d1a6fb976cf79a78a9eea16715e61ffb6fabf28bd0304527b146eeccbe46", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling tic_tac_toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let players: Vec<&Player> = vec![&term_player_1, &term_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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | let players: Vec<&dyn Player> = vec![&term_player_1, &term_player_2]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "2c13d1a6fb976cf79a78a9eea16715e61ffb6fabf28bd0304527b146eeccbe46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c13d1a6fb976cf79a78a9eea16715e61ffb6fabf28bd0304527b146eeccbe46", kill_on_drop: false }` [INFO] [stdout] 2c13d1a6fb976cf79a78a9eea16715e61ffb6fabf28bd0304527b146eeccbe46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e3550af6499b9f3ea8da63fe7bc3cf41736ed7d2cb76e1ef5371b00a24806ac [INFO] running `Command { std: "docker" "start" "-a" "3e3550af6499b9f3ea8da63fe7bc3cf41736ed7d2cb76e1ef5371b00a24806ac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] [INFO] [stderr] --> src/main.rs:19:23 [INFO] [stdout] running 23 tests [INFO] [stderr] | [INFO] [stderr] 19 | let players: Vec<&Player> = vec![&term_player_1, &term_player_2]; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | let players: Vec<&dyn Player> = vec![&term_player_1, &term_player_2]; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `tic_tac_toe` (bin "tic_tac_toe" test) generated 1 warning (run `cargo fix --bin "tic_tac_toe" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tic_tac_toe-ecd2485fb137ea7d) [INFO] [stdout] test game::grid::test::test_grid_clone ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_bottom_up_diagonal_corner_start ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_horizontal_last_row ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_no_winner ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_horizontal_middle_row ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_top_down_diagonal_corner_start ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_top_down_diagonal_left_side_start ... ok [INFO] [stdout] test game::grid::test::test_set_cell ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_horizontal_first_row ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_top_down_diagonal_middle_start ... ok [INFO] [stdout] test player::ki::test::ki_makes_any_turn ... ok [INFO] [stdout] test player::ki::test::test_game_evaluation_lose ... ok [INFO] [stdout] test player::ki::test::test_game_evaluation_undetermined ... ok [INFO] [stdout] test player::ki::test::test_game_evaluation_win ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_vertical_last_column ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_vertical_middle_column ... ok [INFO] [stdout] test game::grid::test::test_grid ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_vertical_first_column ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_top_down_diagonal_top_start ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_no_winner_when_not_in_line - should panic ... ok [INFO] [stdout] test game::grid::test::test_set_cell_doesnt_work_out_of_bounds_columns - should panic ... ok [INFO] [stdout] test game::grid::test::test_set_cell_doesnt_work_out_of_bounds_rows - should panic ... ok [INFO] [stdout] test player::ki::test::ki_wins_without_active_opponent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3e3550af6499b9f3ea8da63fe7bc3cf41736ed7d2cb76e1ef5371b00a24806ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3550af6499b9f3ea8da63fe7bc3cf41736ed7d2cb76e1ef5371b00a24806ac", kill_on_drop: false }` [INFO] [stdout] 3e3550af6499b9f3ea8da63fe7bc3cf41736ed7d2cb76e1ef5371b00a24806ac