[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] testing yzse/p_kr against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzse%2Fp_kr" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yzse/p_kr on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rs_poker v1.0.0 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded ratatui v0.23.0 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded tokio-util v0.7.14 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 949b49beecc66a47c37ddebdae7e59ccfb8489af4b34751235d72e6a8c27c15d [INFO] running `Command { std: "docker" "start" "-a" "949b49beecc66a47c37ddebdae7e59ccfb8489af4b34751235d72e6a8c27c15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "949b49beecc66a47c37ddebdae7e59ccfb8489af4b34751235d72e6a8c27c15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949b49beecc66a47c37ddebdae7e59ccfb8489af4b34751235d72e6a8c27c15d", kill_on_drop: false }` [INFO] [stdout] 949b49beecc66a47c37ddebdae7e59ccfb8489af4b34751235d72e6a8c27c15d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 198776d990f2e59cef6bf5e343faaeeb6f00b3dff23b2bfbb15cf73982efc7a0 [INFO] running `Command { std: "docker" "start" "-a" "198776d990f2e59cef6bf5e343faaeeb6f00b3dff23b2bfbb15cf73982efc7a0", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rs_poker v1.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 tokio v1.44.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.23.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling 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, [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "198776d990f2e59cef6bf5e343faaeeb6f00b3dff23b2bfbb15cf73982efc7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "198776d990f2e59cef6bf5e343faaeeb6f00b3dff23b2bfbb15cf73982efc7a0", kill_on_drop: false }` [INFO] [stdout] 198776d990f2e59cef6bf5e343faaeeb6f00b3dff23b2bfbb15cf73982efc7a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 73faf2e0a78f4f4792cd9416d3e5b7bd9098112f39a7dc96c871a70401e37a87 [INFO] running `Command { std: "docker" "start" "-a" "73faf2e0a78f4f4792cd9416d3e5b7bd9098112f39a7dc96c871a70401e37a87", kill_on_drop: false }` [INFO] [stderr] Compiling 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, [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "73faf2e0a78f4f4792cd9416d3e5b7bd9098112f39a7dc96c871a70401e37a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73faf2e0a78f4f4792cd9416d3e5b7bd9098112f39a7dc96c871a70401e37a87", kill_on_drop: false }` [INFO] [stdout] 73faf2e0a78f4f4792cd9416d3e5b7bd9098112f39a7dc96c871a70401e37a87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 07ae8f55a63ccfd6ae18e209ebcdaaa683e855ea21f28a13bfcb201338769fd8 [INFO] running `Command { std: "docker" "start" "-a" "07ae8f55a63ccfd6ae18e209ebcdaaa683e855ea21f28a13bfcb201338769fd8", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `active_players` [INFO] [stderr] --> src/ui.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | let active_players = app.game.players.iter().filter(|p| !p.folded).count(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_players` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result_display` [INFO] [stderr] --> src/ui.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | let result_display = if let Some((winner_name, profit)) = &app.round_results { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_display` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_status` [INFO] [stderr] --> src/ui.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | let game_status = if app.game_active { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_status` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pot_style` [INFO] [stderr] --> src/ui.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 204 | let pot_style = if app.game.pot > 100 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_style` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `min_raise_amount` [INFO] [stderr] --> src/ui.rs:564:13 [INFO] [stderr] | [INFO] [stderr] 564 | let min_raise_amount = highest_bet * 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_raise_amount` [INFO] [stderr] [INFO] [stderr] warning: fields `ai_client` and `api_key` are never read [INFO] [stderr] --> src/game.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 112 | pub struct Game { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 120 | pub ai_client: Client, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 121 | pub api_key: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `OpenAIRequest` is never constructed [INFO] [stderr] --> src/game.rs:143:12 [INFO] [stderr] | [INFO] [stderr] 143 | pub struct OpenAIRequest { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Message` is never constructed [INFO] [stderr] --> src/game.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | pub struct Message { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OpenAIResponse` is never constructed [INFO] [stderr] --> src/game.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | pub struct OpenAIResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Choice` is never constructed [INFO] [stderr] --> src/game.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 161 | pub struct Choice { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `make_openai_api_call` is never used [INFO] [stderr] --> src/game.rs:1113:12 [INFO] [stderr] | [INFO] [stderr] 174 | impl Game { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 1113 | pub fn make_openai_api_call(&self, api_key: &str, request: &OpenAIRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `p_kr` (bin "p_kr" test) generated 11 warnings (run `cargo fix --bin "p_kr" -p p_kr --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/p_kr/0797a7de50d35205/deps/p_kr-0797a7de50d35205) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07ae8f55a63ccfd6ae18e209ebcdaaa683e855ea21f28a13bfcb201338769fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ae8f55a63ccfd6ae18e209ebcdaaa683e855ea21f28a13bfcb201338769fd8", kill_on_drop: false }` [INFO] [stdout] 07ae8f55a63ccfd6ae18e209ebcdaaa683e855ea21f28a13bfcb201338769fd8