[INFO] cloning repository https://github.com/oscarcederberg/ultimate-connect-4-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oscarcederberg/ultimate-connect-4-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foscarcederberg%2Fultimate-connect-4-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foscarcederberg%2Fultimate-connect-4-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 180578b3580a7f60f6bc1ab04ff571bd853da971 [INFO] testing oscarcederberg/ultimate-connect-4-tui against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foscarcederberg%2Fultimate-connect-4-tui" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oscarcederberg/ultimate-connect-4-tui [INFO] finished tweaking git repo https://github.com/oscarcederberg/ultimate-connect-4-tui [INFO] tweaked toml for git repo https://github.com/oscarcederberg/ultimate-connect-4-tui written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oscarcederberg/ultimate-connect-4-tui on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oscarcederberg/ultimate-connect-4-tui 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0088e21da5e84a907f2b69bcccd09f18f509beee87b45e0617b5b6ed8204a79c [INFO] running `Command { std: "docker" "start" "-a" "0088e21da5e84a907f2b69bcccd09f18f509beee87b45e0617b5b6ed8204a79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0088e21da5e84a907f2b69bcccd09f18f509beee87b45e0617b5b6ed8204a79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0088e21da5e84a907f2b69bcccd09f18f509beee87b45e0617b5b6ed8204a79c", kill_on_drop: false }` [INFO] [stdout] 0088e21da5e84a907f2b69bcccd09f18f509beee87b45e0617b5b6ed8204a79c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da4f0cbee5ec44211cad71e09c37b72fd9dda446a7fe425c5463a9af6768c200 [INFO] running `Command { std: "docker" "start" "-a" "da4f0cbee5ec44211cad71e09c37b72fd9dda446a7fe425c5463a9af6768c200", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ultimate-connect-4-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new_from_config` is never used [INFO] [stdout] --> src/bots/random_bot.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RandomBot { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_from_config(_player: TurnOrder, config: &Vec<(String, String)>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_config` is never used [INFO] [stdout] --> src/bots/minimax_bot.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MinimaxBot { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_from_config(player: TurnOrder, config: &Vec<(String, String)>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_terminal` is never used [INFO] [stdout] --> src/uc4/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 37 | pub fn is_terminal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_first_player` is never used [INFO] [stdout] --> src/uc4/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl GameInstance { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn new_with_first_player(first_player: TurnOrder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.98s [INFO] running `Command { std: "docker" "inspect" "da4f0cbee5ec44211cad71e09c37b72fd9dda446a7fe425c5463a9af6768c200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da4f0cbee5ec44211cad71e09c37b72fd9dda446a7fe425c5463a9af6768c200", kill_on_drop: false }` [INFO] [stdout] da4f0cbee5ec44211cad71e09c37b72fd9dda446a7fe425c5463a9af6768c200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b0de274af0ef28c3f9c1dc4a2eb821e007a6253cc202edbdd9207e664e15120 [INFO] running `Command { std: "docker" "start" "-a" "7b0de274af0ef28c3f9c1dc4a2eb821e007a6253cc202edbdd9207e664e15120", kill_on_drop: false }` [INFO] [stderr] Compiling ultimate-connect-4-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new_from_config` is never used [INFO] [stdout] --> src/bots/random_bot.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RandomBot { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_from_config(_player: TurnOrder, config: &Vec<(String, String)>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_config` is never used [INFO] [stdout] --> src/bots/minimax_bot.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MinimaxBot { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_from_config(player: TurnOrder, config: &Vec<(String, String)>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_terminal` is never used [INFO] [stdout] --> src/uc4/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 37 | pub fn is_terminal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_first_player` is never used [INFO] [stdout] --> src/uc4/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl GameInstance { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn new_with_first_player(first_player: TurnOrder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "7b0de274af0ef28c3f9c1dc4a2eb821e007a6253cc202edbdd9207e664e15120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0de274af0ef28c3f9c1dc4a2eb821e007a6253cc202edbdd9207e664e15120", kill_on_drop: false }` [INFO] [stdout] 7b0de274af0ef28c3f9c1dc4a2eb821e007a6253cc202edbdd9207e664e15120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27f4b30de10dbce7b7522dcb751a3e07e62c1d1d0af13b45ab82a81f00f37832 [INFO] running `Command { std: "docker" "start" "-a" "27f4b30de10dbce7b7522dcb751a3e07e62c1d1d0af13b45ab82a81f00f37832", kill_on_drop: false }` [INFO] [stderr] warning: associated function `new_from_config` is never used [INFO] [stderr] --> src/bots/random_bot.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl RandomBot { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn new_from_config(_player: TurnOrder, config: &Vec<(String, String)>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new_from_config` is never used [INFO] [stderr] --> src/bots/minimax_bot.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl MinimaxBot { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn new_from_config(player: TurnOrder, config: &Vec<(String, String)>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_terminal` is never used [INFO] [stderr] --> src/uc4/mod.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl GameState { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 37 | pub fn is_terminal(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_with_first_player` is never used [INFO] [stderr] --> src/uc4/mod.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl GameInstance { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn new_with_first_player(first_player: TurnOrder) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ultimate-connect-4-tui` (bin "terminal" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/cli.rs (/opt/rustwide/target/debug/deps/cli-262b7feb2c268e8e) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test uc4::tests::test_board_new_and_slots_empty ... ok [INFO] [stdout] test uc4::tests::test_check_tie_condition ... ok [INFO] [stdout] test uc4::tests::test_game_instance_allowed_moves ... ok [INFO] [stdout] test uc4::tests::test_is_col_playable ... ok [INFO] [stdout] test uc4::tests::test_game_instance_play_and_state ... ok [INFO] [stdout] test uc4::tests::test_check_win_condition_horizontal ... ok [INFO] [stdout] test uc4::tests::test_board_play_and_win ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/terminal.rs (/opt/rustwide/target/debug/deps/terminal-86c7acde8c554868) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test uc4::tests::test_check_tie_condition ... ok [INFO] [stdout] test uc4::tests::test_board_new_and_slots_empty ... ok [INFO] [stdout] test uc4::tests::test_game_instance_allowed_moves ... ok [INFO] [stdout] test uc4::tests::test_game_instance_play_and_state ... ok [INFO] [stdout] test uc4::tests::test_board_play_and_win ... ok [INFO] [stdout] test uc4::tests::test_check_win_condition_horizontal ... ok [INFO] [stdout] test uc4::tests::test_is_col_playable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27f4b30de10dbce7b7522dcb751a3e07e62c1d1d0af13b45ab82a81f00f37832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f4b30de10dbce7b7522dcb751a3e07e62c1d1d0af13b45ab82a81f00f37832", kill_on_drop: false }` [INFO] [stdout] 27f4b30de10dbce7b7522dcb751a3e07e62c1d1d0af13b45ab82a81f00f37832