[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 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimokau%2Frust-tic_tac_toe" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 682465643f669cf05d02ca2f0dd5e8ab625072351e7c3b0be020ee5122aee50a [INFO] running `Command { std: "docker" "start" "-a" "682465643f669cf05d02ca2f0dd5e8ab625072351e7c3b0be020ee5122aee50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "682465643f669cf05d02ca2f0dd5e8ab625072351e7c3b0be020ee5122aee50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682465643f669cf05d02ca2f0dd5e8ab625072351e7c3b0be020ee5122aee50a", kill_on_drop: false }` [INFO] [stdout] 682465643f669cf05d02ca2f0dd5e8ab625072351e7c3b0be020ee5122aee50a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1ecad7ce3dd3a5edc158201c53fb4f3c06291fde9f63cb887aa995d2ed268335 [INFO] running `Command { std: "docker" "start" "-a" "1ecad7ce3dd3a5edc158201c53fb4f3c06291fde9f63cb887aa995d2ed268335", 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.64s [INFO] running `Command { std: "docker" "inspect" "1ecad7ce3dd3a5edc158201c53fb4f3c06291fde9f63cb887aa995d2ed268335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ecad7ce3dd3a5edc158201c53fb4f3c06291fde9f63cb887aa995d2ed268335", kill_on_drop: false }` [INFO] [stdout] 1ecad7ce3dd3a5edc158201c53fb4f3c06291fde9f63cb887aa995d2ed268335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fa720fa930dc044a8dcf669925db4d24bcb30fb4dd1d2f117b951ea3ace7d60b [INFO] running `Command { std: "docker" "start" "-a" "fa720fa930dc044a8dcf669925db4d24bcb30fb4dd1d2f117b951ea3ace7d60b", 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.65s [INFO] running `Command { std: "docker" "inspect" "fa720fa930dc044a8dcf669925db4d24bcb30fb4dd1d2f117b951ea3ace7d60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa720fa930dc044a8dcf669925db4d24bcb30fb4dd1d2f117b951ea3ace7d60b", kill_on_drop: false }` [INFO] [stdout] fa720fa930dc044a8dcf669925db4d24bcb30fb4dd1d2f117b951ea3ace7d60b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9ea6aef8a6e8a403f0ecefc2a3a4538f2ecb1748394b06515e617f7398e83bbb [INFO] running `Command { std: "docker" "start" "-a" "9ea6aef8a6e8a403f0ecefc2a3a4538f2ecb1748394b06515e617f7398e83bbb", 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] [stderr] --> src/main.rs:19:23 [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.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tic_tac_toe-ecd2485fb137ea7d) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test game::grid::test::test_grid_clone ... ok [INFO] [stdout] test game::grid::test::test_grid ... 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_no_winner ... 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_bottom_up_diagonal_corner_start ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_top_down_diagonal_middle_start ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_top_down_diagonal_left_side_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_vertical_last_column ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_vertical_middle_column ... ok [INFO] [stdout] test player::ki::test::ki_makes_any_turn ... 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_vertical_first_column ... ok [INFO] [stdout] test game::grid_observer::test::test_check_winner_top_down_diagonal_top_start ... ok [INFO] [stdout] test player::ki::test::test_game_evaluation_win ... 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 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 game::grid_observer::test::test_check_winner_no_winner_when_not_in_line - 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.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ea6aef8a6e8a403f0ecefc2a3a4538f2ecb1748394b06515e617f7398e83bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea6aef8a6e8a403f0ecefc2a3a4538f2ecb1748394b06515e617f7398e83bbb", kill_on_drop: false }` [INFO] [stdout] 9ea6aef8a6e8a403f0ecefc2a3a4538f2ecb1748394b06515e617f7398e83bbb