[INFO] cloning repository https://github.com/gtrak/opencode_runner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gtrak/opencode_runner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtrak%2Fopencode_runner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtrak%2Fopencode_runner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 87c43b75535fa85668c206dc63a2b1c77aca5f58
[INFO] testing gtrak/opencode_runner against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtrak%2Fopencode_runner" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gtrak/opencode_runner
[INFO] finished tweaking git repo https://github.com/gtrak/opencode_runner
[INFO] tweaked toml for git repo https://github.com/gtrak/opencode_runner written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gtrak/opencode_runner on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gtrak/opencode_runner 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0b40ba1bed003236de54f2f85a020ebe8432ec1a00664c6b540311375775bf0
[INFO] running `Command { std: "docker" "start" "-a" "f0b40ba1bed003236de54f2f85a020ebe8432ec1a00664c6b540311375775bf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0b40ba1bed003236de54f2f85a020ebe8432ec1a00664c6b540311375775bf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0b40ba1bed003236de54f2f85a020ebe8432ec1a00664c6b540311375775bf0", kill_on_drop: false }`
[INFO] [stdout] f0b40ba1bed003236de54f2f85a020ebe8432ec1a00664c6b540311375775bf0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6d48d65cf9d4afe9e03975b829449fb192a48463b8b2e149da81631781880a02
[INFO] running `Command { std: "docker" "start" "-a" "6d48d65cf9d4afe9e03975b829449fb192a48463b8b2e149da81631781880a02", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling zerocopy v0.8.38
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling clap_builder v4.5.57
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling portpicker v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling instability v0.3.11
[INFO] [stderr]    Compiling clap v4.5.57
[INFO] [stderr]    Compiling ratatui v0.29.0
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling backon v1.6.0
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling opencode_rs v0.1.2 (https://github.com/gtrak/agentic_auxilary?branch=main#2e2ac7a4)
[INFO] [stderr]    Compiling opencode_runner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]   --> src/client.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         session::{CreateSessionRequest, Session},
[INFO] [stdout]    |                                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/server.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/tui/mod.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tracing::{debug, error, info};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReviewerDecision`
[INFO] [stdout]   --> src/tui/mod.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |     reviewer::{ReviewerAction, ReviewerDecision},
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]    --> src/tui/mod.rs:234:18
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .split(f.size());
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/control_loop.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let start_time = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `event_count` is assigned to, but never used
[INFO] [stdout]    --> src/control_loop.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut event_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_event_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `event_count` is never read
[INFO] [stdout]    --> src/control_loop.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |                     event_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `working_dir`
[INFO] [stdout]  --> src/environment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let working_dir = std::env::var("OPCODE_WORKING_DIR")
[INFO] [stdout]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_model`
[INFO] [stdout]   --> src/environment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let worker_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_url`
[INFO] [stdout]   --> src/environment.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let reviewer_url = std::env::var("OPCODE_REVIEWER_URL")
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_model`
[INFO] [stdout]   --> src/environment.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let reviewer_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headless`
[INFO] [stdout]   --> src/environment.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let headless = std::env::var("OPCODE_HEADLESS")
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headless`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]   --> src/client.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         session::{CreateSessionRequest, Session},
[INFO] [stdout]    |                                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/server.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/tui/mod.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tracing::{debug, error, info};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReviewerDecision`
[INFO] [stdout]   --> src/tui/mod.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |     reviewer::{ReviewerAction, ReviewerDecision},
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `environment::load_config_from_env`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use environment::load_config_from_env;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `control_loop::UiEvent`
[INFO] [stdout]    --> src/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     use control_loop::UiEvent;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]    --> src/tui/mod.rs:234:18
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .split(f.size());
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/control_loop.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let start_time = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `event_count` is assigned to, but never used
[INFO] [stdout]    --> src/control_loop.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut event_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_event_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `event_count` is never read
[INFO] [stdout]    --> src/control_loop.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |                     event_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `working_dir`
[INFO] [stdout]  --> src/environment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let working_dir = std::env::var("OPCODE_WORKING_DIR")
[INFO] [stdout]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_model`
[INFO] [stdout]   --> src/environment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let worker_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_url`
[INFO] [stdout]   --> src/environment.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let reviewer_url = std::env::var("OPCODE_REVIEWER_URL")
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_model`
[INFO] [stdout]   --> src/environment.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let reviewer_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headless`
[INFO] [stdout]   --> src/environment.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let headless = std::env::var("OPCODE_HEADLESS")
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headless`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_message` and `inner` are never used
[INFO] [stdout]    --> src/client.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl OpenCodeClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub async fn send_message(&self, session_id: &str, text: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn inner(&self) -> &OpencodeClient {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_event_text` is never used
[INFO] [stdout]    --> src/client.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn extract_event_text(event: &Event) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_tool_call` is never used
[INFO] [stdout]    --> src/client.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn extract_tool_call(event: &Event) -> Option<(String, serde_json::Value)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_env` is never used
[INFO] [stdout]   --> src/config.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl ControlConfig {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn from_env() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Completed` is never constructed
[INFO] [stdout]   --> src/control_loop.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum RunResult {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 18 |     /// Task completed successfully
[INFO] [stdout] 19 |     Completed,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RunResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `state` is never used
[INFO] [stdout]    --> src/control_loop.rs:244:12
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl ControlLoop {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn state(&self) -> &State {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_config_from_env` is never used
[INFO] [stdout]  --> src/environment.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn load_config_from_env() -> Result<ControlConfig> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_env_vars` is never used
[INFO] [stdout]   --> src/environment.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn validate_env_vars() -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default` is never used
[INFO] [stdout]   --> src/environment.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn get_env_with_default(key: &str, default: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default_int` is never used
[INFO] [stdout]   --> src/environment.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn get_env_with_default_int(key: &str, default: i64) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default_bool` is never used
[INFO] [stdout]   --> src/environment.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn get_env_with_default_bool(key: &str, default: bool) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `format_decision_summary` is never used
[INFO] [stdout]    --> src/reviewer.rs:257:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl ReviewerClient {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn format_decision_summary(decision: &ReviewerDecision, iteration: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SamplerEvent` is never used
[INFO] [stdout]  --> src/sampler.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum SamplerEvent {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_time` is never read
[INFO] [stdout]   --> src/state.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct State {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     start_time: DateTime<Utc>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timestamp` and `reviewer_retry_count` are never read
[INFO] [stdout]   --> src/state.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Iteration {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub reviewer_retry_count: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/state.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl State {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn runtime(&self) -> chrono::Duration {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn iterations(&self) -> &[Iteration] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn last_iteration(&self) -> Option<&Iteration> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn start_time(&self) -> DateTime<Utc> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn format_activity_log(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn status_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn total_lines_sampled(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn total_retries(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_iteration` and `is_completed` are never used
[INFO] [stdout]   --> src/tui/mod.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl UiState {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn set_iteration(&mut self, current: usize, max: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn is_completed(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/tui/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl Tui {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout]  99 |     /// Initialize the TUI with a new state
[INFO] [stdout] 100 |     pub fn new() -> Result<(Self, mpsc::Sender<UiEvent>)> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] running `Command { std: "docker" "inspect" "6d48d65cf9d4afe9e03975b829449fb192a48463b8b2e149da81631781880a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d48d65cf9d4afe9e03975b829449fb192a48463b8b2e149da81631781880a02", kill_on_drop: false }`
[INFO] [stdout] 6d48d65cf9d4afe9e03975b829449fb192a48463b8b2e149da81631781880a02
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38aed3128c260b53a6685188caabeb694aea244875c7dee01c614c981b9db132
[INFO] running `Command { std: "docker" "start" "-a" "38aed3128c260b53a6685188caabeb694aea244875c7dee01c614c981b9db132", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]   --> src/client.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         session::{CreateSessionRequest, Session},
[INFO] [stdout]    |                                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/server.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/tui/mod.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tracing::{debug, error, info};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReviewerDecision`
[INFO] [stdout]   --> src/tui/mod.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |     reviewer::{ReviewerAction, ReviewerDecision},
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]    --> src/tui/mod.rs:234:18
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .split(f.size());
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/control_loop.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let start_time = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `event_count` is assigned to, but never used
[INFO] [stdout]    --> src/control_loop.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut event_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_event_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `event_count` is never read
[INFO] [stdout]    --> src/control_loop.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |                     event_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling opencode_runner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `working_dir`
[INFO] [stdout]  --> src/environment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let working_dir = std::env::var("OPCODE_WORKING_DIR")
[INFO] [stdout]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_model`
[INFO] [stdout]   --> src/environment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let worker_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_url`
[INFO] [stdout]   --> src/environment.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let reviewer_url = std::env::var("OPCODE_REVIEWER_URL")
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_model`
[INFO] [stdout]   --> src/environment.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let reviewer_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headless`
[INFO] [stdout]   --> src/environment.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let headless = std::env::var("OPCODE_HEADLESS")
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headless`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]   --> src/client.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         session::{CreateSessionRequest, Session},
[INFO] [stdout]    |                                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/server.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/tui/mod.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tracing::{debug, error, info};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReviewerDecision`
[INFO] [stdout]   --> src/tui/mod.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |     reviewer::{ReviewerAction, ReviewerDecision},
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `environment::load_config_from_env`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use environment::load_config_from_env;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `control_loop::UiEvent`
[INFO] [stdout]    --> src/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     use control_loop::UiEvent;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]    --> src/tui/mod.rs:234:18
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .split(f.size());
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/control_loop.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let start_time = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `event_count` is assigned to, but never used
[INFO] [stdout]    --> src/control_loop.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut event_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_event_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `event_count` is never read
[INFO] [stdout]    --> src/control_loop.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |                     event_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `working_dir`
[INFO] [stdout]  --> src/environment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let working_dir = std::env::var("OPCODE_WORKING_DIR")
[INFO] [stdout]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_model`
[INFO] [stdout]   --> src/environment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let worker_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_url`
[INFO] [stdout]   --> src/environment.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let reviewer_url = std::env::var("OPCODE_REVIEWER_URL")
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_model`
[INFO] [stdout]   --> src/environment.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let reviewer_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headless`
[INFO] [stdout]   --> src/environment.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let headless = std::env::var("OPCODE_HEADLESS")
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headless`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_message` and `inner` are never used
[INFO] [stdout]    --> src/client.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl OpenCodeClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub async fn send_message(&self, session_id: &str, text: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn inner(&self) -> &OpencodeClient {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_event_text` is never used
[INFO] [stdout]    --> src/client.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn extract_event_text(event: &Event) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_tool_call` is never used
[INFO] [stdout]    --> src/client.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn extract_tool_call(event: &Event) -> Option<(String, serde_json::Value)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_env` is never used
[INFO] [stdout]   --> src/config.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl ControlConfig {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn from_env() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Completed` is never constructed
[INFO] [stdout]   --> src/control_loop.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum RunResult {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 18 |     /// Task completed successfully
[INFO] [stdout] 19 |     Completed,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RunResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `state` is never used
[INFO] [stdout]    --> src/control_loop.rs:244:12
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl ControlLoop {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn state(&self) -> &State {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_config_from_env` is never used
[INFO] [stdout]  --> src/environment.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn load_config_from_env() -> Result<ControlConfig> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_env_vars` is never used
[INFO] [stdout]   --> src/environment.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn validate_env_vars() -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default` is never used
[INFO] [stdout]   --> src/environment.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn get_env_with_default(key: &str, default: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default_int` is never used
[INFO] [stdout]   --> src/environment.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn get_env_with_default_int(key: &str, default: i64) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default_bool` is never used
[INFO] [stdout]   --> src/environment.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn get_env_with_default_bool(key: &str, default: bool) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `format_decision_summary` is never used
[INFO] [stdout]    --> src/reviewer.rs:257:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl ReviewerClient {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn format_decision_summary(decision: &ReviewerDecision, iteration: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SamplerEvent` is never used
[INFO] [stdout]  --> src/sampler.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum SamplerEvent {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_time` is never read
[INFO] [stdout]   --> src/state.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct State {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     start_time: DateTime<Utc>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timestamp` and `reviewer_retry_count` are never read
[INFO] [stdout]   --> src/state.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Iteration {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub reviewer_retry_count: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/state.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl State {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn runtime(&self) -> chrono::Duration {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn iterations(&self) -> &[Iteration] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn last_iteration(&self) -> Option<&Iteration> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn start_time(&self) -> DateTime<Utc> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn format_activity_log(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn status_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn total_lines_sampled(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn total_retries(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_iteration` and `is_completed` are never used
[INFO] [stdout]   --> src/tui/mod.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl UiState {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn set_iteration(&mut self, current: usize, max: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn is_completed(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/tui/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl Tui {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout]  99 |     /// Initialize the TUI with a new state
[INFO] [stdout] 100 |     pub fn new() -> Result<(Self, mpsc::Sender<UiEvent>)> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SamplerEvent`
[INFO] [stdout]  --> tests/sampler_test.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use opencode_runner::sampler::{Sampler, SamplerEvent};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opencode_runner::reviewer`
[INFO] [stdout]  --> tests/reviewer_test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use opencode_runner::reviewer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]   --> src/client.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         session::{CreateSessionRequest, Session},
[INFO] [stdout]    |                                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/server.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/tui/mod.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tracing::{debug, error, info};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReviewerDecision`
[INFO] [stdout]   --> src/tui/mod.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |     reviewer::{ReviewerAction, ReviewerDecision},
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `environment::load_config_from_env`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use environment::load_config_from_env;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `control_loop::UiEvent`
[INFO] [stdout]    --> src/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     use control_loop::UiEvent;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]   --> src/client.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         session::{CreateSessionRequest, Session},
[INFO] [stdout]    |                                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/server.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/tui/mod.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tracing::{debug, error, info};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReviewerDecision`
[INFO] [stdout]   --> src/tui/mod.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |     reviewer::{ReviewerAction, ReviewerDecision},
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> tests/reviewer_test.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let client =
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> tests/reviewer_test.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let client =
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> tests/reviewer_test.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let client =
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> tests/reviewer_test.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let client =
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]    --> src/tui/mod.rs:234:18
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .split(f.size());
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/control_loop.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let start_time = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `event_count` is assigned to, but never used
[INFO] [stdout]    --> src/control_loop.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut event_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_event_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `event_count` is never read
[INFO] [stdout]    --> src/control_loop.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |                     event_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `working_dir`
[INFO] [stdout]  --> src/environment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let working_dir = std::env::var("OPCODE_WORKING_DIR")
[INFO] [stdout]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_model`
[INFO] [stdout]   --> src/environment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let worker_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_url`
[INFO] [stdout]   --> src/environment.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let reviewer_url = std::env::var("OPCODE_REVIEWER_URL")
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_model`
[INFO] [stdout]   --> src/environment.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let reviewer_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headless`
[INFO] [stdout]   --> src/environment.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let headless = std::env::var("OPCODE_HEADLESS")
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headless`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_message` and `inner` are never used
[INFO] [stdout]    --> src/client.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl OpenCodeClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub async fn send_message(&self, session_id: &str, text: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn inner(&self) -> &OpencodeClient {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_event_text` is never used
[INFO] [stdout]    --> src/client.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn extract_event_text(event: &Event) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_tool_call` is never used
[INFO] [stdout]    --> src/client.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn extract_tool_call(event: &Event) -> Option<(String, serde_json::Value)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_env` is never used
[INFO] [stdout]   --> src/config.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl ControlConfig {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn from_env() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Completed` is never constructed
[INFO] [stdout]   --> src/control_loop.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum RunResult {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 18 |     /// Task completed successfully
[INFO] [stdout] 19 |     Completed,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RunResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `state` is never used
[INFO] [stdout]    --> src/control_loop.rs:244:12
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl ControlLoop {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn state(&self) -> &State {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_config_from_env` is never used
[INFO] [stdout]  --> src/environment.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn load_config_from_env() -> Result<ControlConfig> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_env_vars` is never used
[INFO] [stdout]   --> src/environment.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn validate_env_vars() -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default` is never used
[INFO] [stdout]   --> src/environment.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn get_env_with_default(key: &str, default: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default_int` is never used
[INFO] [stdout]   --> src/environment.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn get_env_with_default_int(key: &str, default: i64) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_with_default_bool` is never used
[INFO] [stdout]   --> src/environment.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn get_env_with_default_bool(key: &str, default: bool) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `format_decision_summary` is never used
[INFO] [stdout]    --> src/reviewer.rs:257:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl ReviewerClient {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn format_decision_summary(decision: &ReviewerDecision, iteration: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SamplerEvent` is never used
[INFO] [stdout]  --> src/sampler.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum SamplerEvent {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `process_sampler_event` is never used
[INFO] [stdout]    --> src/sampler.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl Sampler {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn process_sampler_event(&mut self, event: SamplerEvent) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_time` is never read
[INFO] [stdout]   --> src/state.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct State {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     start_time: DateTime<Utc>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timestamp` and `reviewer_retry_count` are never read
[INFO] [stdout]   --> src/state.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Iteration {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub reviewer_retry_count: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `runtime`, `last_iteration`, `start_time`, `format_activity_log`, `status_summary`, and `total_retries` are never used
[INFO] [stdout]    --> src/state.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl State {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn runtime(&self) -> chrono::Duration {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn last_iteration(&self) -> Option<&Iteration> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn start_time(&self) -> DateTime<Utc> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn format_activity_log(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn status_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn total_retries(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_iteration` and `is_completed` are never used
[INFO] [stdout]   --> src/tui/mod.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl UiState {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn set_iteration(&mut self, current: usize, max: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn is_completed(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/tui/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl Tui {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout]  99 |     /// Initialize the TUI with a new state
[INFO] [stdout] 100 |     pub fn new() -> Result<(Self, mpsc::Sender<UiEvent>)> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stdout]    --> src/tui/mod.rs:234:18
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .split(f.size());
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/control_loop.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let start_time = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `event_count` is assigned to, but never used
[INFO] [stdout]    --> src/control_loop.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut event_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_event_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `event_count` is never read
[INFO] [stdout]    --> src/control_loop.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |                     event_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `working_dir`
[INFO] [stdout]  --> src/environment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let working_dir = std::env::var("OPCODE_WORKING_DIR")
[INFO] [stdout]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_model`
[INFO] [stdout]   --> src/environment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let worker_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_url`
[INFO] [stdout]   --> src/environment.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let reviewer_url = std::env::var("OPCODE_REVIEWER_URL")
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reviewer_model`
[INFO] [stdout]   --> src/environment.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let reviewer_model =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headless`
[INFO] [stdout]   --> src/environment.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let headless = std::env::var("OPCODE_HEADLESS")
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headless`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.99s
[INFO] running `Command { std: "docker" "inspect" "38aed3128c260b53a6685188caabeb694aea244875c7dee01c614c981b9db132", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38aed3128c260b53a6685188caabeb694aea244875c7dee01c614c981b9db132", kill_on_drop: false }`
[INFO] [stdout] 38aed3128c260b53a6685188caabeb694aea244875c7dee01c614c981b9db132
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 371b95b3f25d7d5d19c68cf95439ecdc52a6ff87eaed88c30e3c54641c76a1ef
[INFO] running `Command { std: "docker" "start" "-a" "371b95b3f25d7d5d19c68cf95439ecdc52a6ff87eaed88c30e3c54641c76a1ef", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Session`
[INFO] [stderr]   --> src/client.rs:10:41
[INFO] [stderr]    |
[INFO] [stderr] 10 |         session::{CreateSessionRequest, Session},
[INFO] [stderr]    |                                         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `error`
[INFO] [stderr]  --> src/server.rs:6:22
[INFO] [stderr]   |
[INFO] [stderr] 6 | use tracing::{debug, error, info, warn};
[INFO] [stderr]   |                      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `debug` and `error`
[INFO] [stderr]   --> src/tui/mod.rs:18:15
[INFO] [stderr]    |
[INFO] [stderr] 18 | use tracing::{debug, error, info};
[INFO] [stderr]    |               ^^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ReviewerDecision`
[INFO] [stderr]   --> src/tui/mod.rs:22:32
[INFO] [stderr]    |
[INFO] [stderr] 22 |     reviewer::{ReviewerAction, ReviewerDecision},
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name
[INFO] [stderr]    --> src/tui/mod.rs:234:18
[INFO] [stderr]     |
[INFO] [stderr] 234 |         .split(f.size());
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start_time`
[INFO] [stderr]    --> src/control_loop.rs:192:13
[INFO] [stderr]     |
[INFO] [stderr] 192 |         let start_time = Instant::now();
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `event_count` is assigned to, but never used
[INFO] [stderr]    --> src/control_loop.rs:194:13
[INFO] [stderr]     |
[INFO] [stderr] 194 |         let mut event_count = 0;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_event_count` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `event_count` is never read
[INFO] [stderr]    --> src/control_loop.rs:209:21
[INFO] [stderr]     |
[INFO] [stderr] 209 |                     event_count += 1;
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `working_dir`
[INFO] [stderr]  --> src/environment.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let working_dir = std::env::var("OPCODE_WORKING_DIR")
[INFO] [stderr]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `worker_model`
[INFO] [stderr]   --> src/environment.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let worker_model =
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_model`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reviewer_url`
[INFO] [stderr]   --> src/environment.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let reviewer_url = std::env::var("OPCODE_REVIEWER_URL")
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_url`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reviewer_model`
[INFO] [stderr]   --> src/environment.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let reviewer_model =
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reviewer_model`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `headless`
[INFO] [stderr]   --> src/environment.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let headless = std::env::var("OPCODE_HEADLESS")
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headless`
[INFO] [stderr] 
[INFO] [stderr] warning: `opencode_runner` (lib) generated 13 warnings (run `cargo fix --lib -p opencode_runner` to apply 10 suggestions)
[INFO] [stderr] warning: `opencode_runner` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr] warning: unused import: `opencode_runner::reviewer`
[INFO] [stderr]  --> tests/reviewer_test.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use opencode_runner::reviewer;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]    --> tests/reviewer_test.rs:113:13
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let client =
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]    --> tests/reviewer_test.rs:127:13
[INFO] [stderr]     |
[INFO] [stderr] 127 |         let client =
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]    --> tests/reviewer_test.rs:333:13
[INFO] [stderr]     |
[INFO] [stderr] 333 |         let client =
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]    --> tests/reviewer_test.rs:343:13
[INFO] [stderr]     |
[INFO] [stderr] 343 |         let client =
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `environment::load_config_from_env`
[INFO] [stderr]   --> src/main.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use environment::load_config_from_env;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `control_loop::UiEvent`
[INFO] [stderr]    --> src/main.rs:159:9
[INFO] [stderr]     |
[INFO] [stderr] 159 |     use control_loop::UiEvent;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `send_message` and `inner` are never used
[INFO] [stderr]    --> src/client.rs:101:18
[INFO] [stderr]     |
[INFO] [stderr]  19 | impl OpenCodeClient {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 101 |     pub async fn send_message(&self, session_id: &str, text: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 129 |     pub fn inner(&self) -> &OpencodeClient {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `extract_event_text` is never used
[INFO] [stderr]    --> src/client.rs:135:8
[INFO] [stderr]     |
[INFO] [stderr] 135 | pub fn extract_event_text(event: &Event) -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `extract_tool_call` is never used
[INFO] [stderr]    --> src/client.rs:153:8
[INFO] [stderr]     |
[INFO] [stderr] 153 | pub fn extract_tool_call(event: &Event) -> Option<(String, serde_json::Value)> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_env` is never used
[INFO] [stderr]   --> src/config.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl ControlConfig {
[INFO] [stderr]    | ------------------ associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 46 |     pub fn from_env() -> Result<Self> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Completed` is never constructed
[INFO] [stderr]   --> src/control_loop.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub enum RunResult {
[INFO] [stderr]    |          --------- variant in this enum
[INFO] [stderr] 18 |     /// Task completed successfully
[INFO] [stderr] 19 |     Completed,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RunResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `state` is never used
[INFO] [stderr]    --> src/control_loop.rs:244:12
[INFO] [stderr]     |
[INFO] [stderr]  46 | impl ControlLoop {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 244 |     pub fn state(&self) -> &State {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `load_config_from_env` is never used
[INFO] [stderr]  --> src/environment.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn load_config_from_env() -> Result<ControlConfig> {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `validate_env_vars` is never used
[INFO] [stderr]   --> src/environment.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn validate_env_vars() -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_env_with_default` is never used
[INFO] [stderr]   --> src/environment.rs:55:8
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub fn get_env_with_default(key: &str, default: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_env_with_default_int` is never used
[INFO] [stderr]   --> src/environment.rs:60:8
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub fn get_env_with_default_int(key: &str, default: i64) -> i64 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_env_with_default_bool` is never used
[INFO] [stderr]   --> src/environment.rs:68:8
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub fn get_env_with_default_bool(key: &str, default: bool) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `format_decision_summary` is never used
[INFO] [stderr]    --> src/reviewer.rs:257:12
[INFO] [stderr]     |
[INFO] [stderr]  83 | impl ReviewerClient {
[INFO] [stderr]     | ------------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 257 |     pub fn format_decision_summary(decision: &ReviewerDecision, iteration: usize) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `SamplerEvent` is never used
[INFO] [stderr]  --> src/sampler.rs:8:10
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub enum SamplerEvent {
[INFO] [stderr]   |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `start_time` is never read
[INFO] [stderr]   --> src/state.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  5 | pub struct State {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 11 |     start_time: DateTime<Utc>,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `timestamp` and `reviewer_retry_count` are never read
[INFO] [stderr]   --> src/state.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct Iteration {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 19 |     pub timestamp: DateTime<Utc>,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub reviewer_retry_count: u8,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/state.rs:89:12
[INFO] [stderr]     |
[INFO] [stderr]  28 | impl State {
[INFO] [stderr]     | ---------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  89 |     pub fn runtime(&self) -> chrono::Duration {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  94 |     pub fn iterations(&self) -> &[Iteration] {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  99 |     pub fn last_iteration(&self) -> Option<&Iteration> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 104 |     pub fn start_time(&self) -> DateTime<Utc> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 109 |     pub fn format_activity_log(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 137 |     pub fn status_summary(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 156 |     pub fn total_lines_sampled(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 161 |     pub fn total_retries(&self) -> u32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `set_iteration` and `is_completed` are never used
[INFO] [stderr]   --> src/tui/mod.rs:72:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl UiState {
[INFO] [stderr]    | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 72 |     pub fn set_iteration(&mut self, current: usize, max: usize) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 82 |     pub fn is_completed(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/tui/mod.rs:100:12
[INFO] [stderr]     |
[INFO] [stderr]  98 | impl Tui {
[INFO] [stderr]     | -------- associated function in this implementation
[INFO] [stderr]  99 |     /// Initialize the TUI with a new state
[INFO] [stderr] 100 |     pub fn new() -> Result<(Self, mpsc::Sender<UiEvent>)> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SamplerEvent`
[INFO] [stderr]  --> tests/sampler_test.rs:1:41
[INFO] [stderr]   |
[INFO] [stderr] 1 | use opencode_runner::sampler::{Sampler, SamplerEvent};
[INFO] [stderr]   |                                         ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `process_sampler_event` is never used
[INFO] [stderr]    --> src/sampler.rs:153:12
[INFO] [stderr]     |
[INFO] [stderr]  37 | impl Sampler {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 153 |     pub fn process_sampler_event(&mut self, event: SamplerEvent) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `runtime`, `last_iteration`, `start_time`, `format_activity_log`, `status_summary`, and `total_retries` are never used
[INFO] [stderr]    --> src/state.rs:89:12
[INFO] [stderr]     |
[INFO] [stderr]  28 | impl State {
[INFO] [stderr]     | ---------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  89 |     pub fn runtime(&self) -> chrono::Duration {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  99 |     pub fn last_iteration(&self) -> Option<&Iteration> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 104 |     pub fn start_time(&self) -> DateTime<Utc> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 109 |     pub fn format_activity_log(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 137 |     pub fn status_summary(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 161 |     pub fn total_retries(&self) -> u32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `opencode_runner` (test "reviewer_test") generated 5 warnings (run `cargo fix --test "reviewer_test" -p opencode_runner` to apply 5 suggestions)
[INFO] [stderr] warning: `opencode_runner` (bin "opencode_runner") generated 33 warnings (13 duplicates) (run `cargo fix --bin "opencode_runner" -p opencode_runner` to apply 2 suggestions)
[INFO] [stderr] warning: `opencode_runner` (test "sampler_test") generated 1 warning (run `cargo fix --test "sampler_test" -p opencode_runner` to apply 1 suggestion)
[INFO] [stderr] warning: `opencode_runner` (bin "opencode_runner" test) generated 34 warnings (32 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/opencode_runner-86fbfb9e2ee939e5)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test state::tests::test_iteration_tracking ... ok
[INFO] [stdout] test reviewer::tests::test_parse_decision ... ok
[INFO] [stdout] test reviewer::tests::test_parse_abort ... ok
[INFO] [stdout] test state::tests::test_max_iterations ... ok
[INFO] [stdout] test state::tests::test_state_new ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/opencode_runner-693190788afae1cb)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test reviewer::tests::test_parse_abort ... ok
[INFO] [stdout] test state::tests::test_iteration_tracking ... ok
[INFO] [stdout] test state::tests::test_max_iterations ... ok
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-bc91393c8cef7695)
[INFO] [stdout] test reviewer::tests::test_parse_decision ... ok
[INFO] [stdout] test state::tests::test_state_new ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test integration_tests::test_config_custom_values ... ok
[INFO] [stdout] test integration_tests::test_environment_variables ... ok
[INFO] [stdout] test integration_tests::test_config_creation_with_defaults ... ok
[INFO] [stdout] test integration_tests::test_environment_variables_with_defaults ... ok
[INFO] [stdout] test integration_tests::test_format_decision_summary ... ok
[INFO] [stdout] test integration_tests::test_get_env_with_default_bool ... ok
[INFO] [stdout] test integration_tests::test_get_env_with_default ... ok
[INFO] [stdout] test integration_tests::test_get_env_with_default_int ... ok
[INFO] [stdout] test integration_tests::test_previous_summaries_context ... ok
[INFO] [stdout] test integration_tests::test_reviewer_decision_serialization ... ok
[INFO] [stdout] test integration_tests::test_sampler_clear ... ok
[INFO] [stdout] test integration_tests::test_sampler_buffer_management ... ok
[INFO] [stdout] test integration_tests::test_sampler_with_complex_output ... ok
[INFO] [stdout] test integration_tests::test_sampler_with_tool_calls ... ok
[INFO] [stdout] test integration_tests::test_state_activity_log_formatting ... ok
[INFO] [stdout] test integration_tests::test_state_iteration_tracking ... ok
[INFO] [stdout] test integration_tests::test_state_max_iterations ... ok
[INFO] [stdout] test integration_tests::test_reviewer_context_formatting ... ok
[INFO] [stdout] test integration_tests::test_end_to_end_control_loop_simulation ... ok
[INFO] [stdout] test integration_tests::test_reviewer_retry_logic ... ok
[INFO] [stdout] 
[INFO] [stderr]      Running tests/reviewer_test.rs (/opt/rustwide/target/debug/deps/reviewer_test-996dcefca3609a43)
[INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.14s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test tests::test_context_with_special_characters ... ok
[INFO] [stdout] test tests::test_context_with_unicode ... ok
[INFO] [stdout] test tests::test_context_default_values ... ok
[INFO] [stdout] test tests::test_parse_complex_json_decision ... ok
[INFO] [stdout] test tests::test_parse_continue_decision ... ok
[INFO] [stdout] test tests::test_parse_abort_decision ... ok
[INFO] [stdout] test tests::test_parse_invalid_decision ... ok
[INFO] [stdout] test tests::test_parse_json_with_extra_whitespace ... ok
[INFO] [stdout] test tests::test_reviewer_context_creation ... ok
[INFO] [stdout] test tests::test_build_prompt_large_iteration_number ... ok
[INFO] [stdout] test tests::test_build_prompt_empty_current_sample ... ok
[INFO] [stdout] test tests::test_client_creation_custom_retries ... ok
[INFO] [stdout] test tests::test_client_creation_default ... ok
[INFO] [stdout] test tests::test_prompt_no_previous_summaries ... ok
[INFO] [stdout] test tests::test_format_decision_summary_abort ... ok
[INFO] [stdout] test tests::test_prompt_with_previous_summaries ... ok
[INFO] [stdout] test tests::test_build_prompt_large_previous_summaries ... ok
[INFO] [stdout] test tests::test_build_prompt_with_code_blocks ... ok
[INFO] [stdout] test tests::test_format_decision_summary_continue ... ok
[INFO] [stdout] test tests::test_build_prompt_with_emojis ... ok
[INFO] [stdout] test tests::test_build_prompt_with_multiline_output ... ok
[INFO] [stdout] test tests::test_build_prompt_mixed_previous_summaries ... ok
[INFO] [stdout] test tests::test_format_decision_summary_reason_variations ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/sampler_test.rs (/opt/rustwide/target/debug/deps/sampler_test-37e22e4da0516960)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test tests::test_sampler_complex_text ... ok
[INFO] [stdout] test tests::test_sampler_basic ... ok
[INFO] [stdout] test tests::test_sampler_buffer_overflow ... ok
[INFO] [stdout] test tests::test_sampler_clear ... ok
[INFO] [stdout] test tests::test_sampler_empty_lines ... ok
[INFO] [stdout] test tests::test_sampler_empty_buffer ... ok
[INFO] [stdout] test tests::test_sampler_max_lines_preservation ... ok
[INFO] [stdout] test tests::test_sampler_overflow ... ok
[INFO] [stdout] test tests::test_sampler_repeated_lines ... ok
[INFO] [stdout] test tests::test_sampler_single_line ... ok
[INFO] [stdout] test tests::test_sampler_special_characters ... ok
[INFO] [stdout] test tests::test_sampler_whitespace_trimmed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests opencode_runner
[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.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "371b95b3f25d7d5d19c68cf95439ecdc52a6ff87eaed88c30e3c54641c76a1ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "371b95b3f25d7d5d19c68cf95439ecdc52a6ff87eaed88c30e3c54641c76a1ef", kill_on_drop: false }`
[INFO] [stdout] 371b95b3f25d7d5d19c68cf95439ecdc52a6ff87eaed88c30e3c54641c76a1ef
