[INFO] cloning repository https://github.com/yzse/p_kr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yzse/p_kr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzse%2Fp_kr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzse%2Fp_kr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a855d1114ed062890060709efa725b06454aa84c
[INFO] checking yzse/p_kr against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzse%2Fp_kr" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yzse/p_kr
[INFO] finished tweaking git repo https://github.com/yzse/p_kr
[INFO] tweaked toml for git repo https://github.com/yzse/p_kr written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yzse/p_kr on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yzse/p_kr 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" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strum_macros v0.25.3
[INFO] [stderr]   Downloaded signal-hook v0.3.17
[INFO] [stderr]   Downloaded ratatui v0.23.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683
[INFO] running `Command { std: "docker" "start" "9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683", kill_on_drop: false }`
[INFO] running `Command { std: "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" "9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683", kill_on_drop: false }`
[INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking rs_poker v1.0.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking openssl v0.10.71
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking ratatui v0.23.0
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking native-tls v0.2.14
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking p_kr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `active_players`
[INFO] [stdout]    --> src/ui.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let active_players = app.game.players.iter().filter(|p| !p.folded).count();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_players`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_display`
[INFO] [stdout]    --> src/ui.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let result_display = if let Some((winner_name, profit)) = &app.round_results {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_status`
[INFO] [stdout]    --> src/ui.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let game_status = if app.game_active {
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pot_style`
[INFO] [stdout]    --> src/ui.rs:204:9
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let pot_style = if app.game.pot > 100 {
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_style`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_raise_amount`
[INFO] [stdout]    --> src/ui.rs:564:13
[INFO] [stdout]     |
[INFO] [stdout] 564 |         let min_raise_amount = highest_bet * 2;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_raise_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ai_client` and `api_key` are never read
[INFO] [stdout]    --> src/game.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct Game {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub ai_client: Client,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 121 |     pub api_key: Option<String>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIRequest` is never constructed
[INFO] [stdout]    --> src/game.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct OpenAIRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]    --> src/game.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct Message {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIResponse` is never constructed
[INFO] [stdout]    --> src/game.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct OpenAIResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Choice` is never constructed
[INFO] [stdout]    --> src/game.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub struct Choice {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `make_openai_api_call` is never used
[INFO] [stdout]     --> src/game.rs:1113:12
[INFO] [stdout]      |
[INFO] [stdout]  174 | impl Game {
[INFO] [stdout]      | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1113 |     pub fn make_openai_api_call(&self, api_key: &str, request: &OpenAIRequest) -> Result<String, String> {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `active_players`
[INFO] [stdout]    --> src/ui.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let active_players = app.game.players.iter().filter(|p| !p.folded).count();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_players`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_display`
[INFO] [stdout]    --> src/ui.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let result_display = if let Some((winner_name, profit)) = &app.round_results {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_status`
[INFO] [stdout]    --> src/ui.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let game_status = if app.game_active {
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pot_style`
[INFO] [stdout]    --> src/ui.rs:204:9
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let pot_style = if app.game.pot > 100 {
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_style`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_raise_amount`
[INFO] [stdout]    --> src/ui.rs:564:13
[INFO] [stdout]     |
[INFO] [stdout] 564 |         let min_raise_amount = highest_bet * 2;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_raise_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ai_client` and `api_key` are never read
[INFO] [stdout]    --> src/game.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct Game {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub ai_client: Client,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 121 |     pub api_key: Option<String>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIRequest` is never constructed
[INFO] [stdout]    --> src/game.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct OpenAIRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]    --> src/game.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct Message {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIResponse` is never constructed
[INFO] [stdout]    --> src/game.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct OpenAIResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Choice` is never constructed
[INFO] [stdout]    --> src/game.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub struct Choice {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `make_openai_api_call` is never used
[INFO] [stdout]     --> src/game.rs:1113:12
[INFO] [stdout]      |
[INFO] [stdout]  174 | impl Game {
[INFO] [stdout]      | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1113 |     pub fn make_openai_api_call(&self, api_key: &str, request: &OpenAIRequest) -> Result<String, String> {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.41s
[INFO] running `Command { std: "docker" "inspect" "9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683", kill_on_drop: false }`
[INFO] [stdout] 9b0f5c5fe38b1298cdeca081970828ea4732080068a870e3216463332798f683
