[INFO] cloning repository https://github.com/ottobunge/supercode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ottobunge/supercode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottobunge%2Fsupercode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottobunge%2Fsupercode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4ce4b7c1208fcf8f2c31cd2633eb33fbdf455c92
[INFO] testing ottobunge/supercode against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottobunge%2Fsupercode" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/ottobunge/supercode
[INFO] finished tweaking git repo https://github.com/ottobunge/supercode
[INFO] tweaked toml for git repo https://github.com/ottobunge/supercode written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ottobunge/supercode on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ottobunge/supercode 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zeroize_derive v1.4.3
[INFO] [stderr]   Downloaded r2d2_sqlite v0.24.0
[INFO] [stderr]   Downloaded native-tls v0.2.15
[INFO] [stderr]   Downloaded clap v4.5.58
[INFO] [stderr]   Downloaded rusqlite v0.31.0
[INFO] [stderr]   Downloaded clap_builder v4.5.58
[INFO] [stderr]   Downloaded syn v2.0.115
[INFO] [stderr]   Downloaded libc v0.2.181
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c016fc4702892f6bf3e32899e731a351e28db4050d0765dc8204ead0eb575ce
[INFO] running `Command { std: "docker" "start" "-a" "7c016fc4702892f6bf3e32899e731a351e28db4050d0765dc8204ead0eb575ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c016fc4702892f6bf3e32899e731a351e28db4050d0765dc8204ead0eb575ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c016fc4702892f6bf3e32899e731a351e28db4050d0765dc8204ead0eb575ce", kill_on_drop: false }`
[INFO] [stdout] 7c016fc4702892f6bf3e32899e731a351e28db4050d0765dc8204ead0eb575ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb110daff3a23c2fe69a4de6faa0b7a16c841f16b6e77fcc3fa485304a8b4dcd
[INFO] running `Command { std: "docker" "start" "-a" "bb110daff3a23c2fe69a4de6faa0b7a16c841f16b6e77fcc3fa485304a8b4dcd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling native-tls v0.2.15
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling clap_builder v4.5.58
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling which v6.0.3
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling clap v4.5.58
[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 serde v1.0.228
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling x25519-dalek v2.0.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[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 rusqlite v0.31.0
[INFO] [stderr]    Compiling r2d2_sqlite v0.24.0
[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 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-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling supercode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config/config.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{DateTime, Utc};
[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: `Context`
[INFO] [stdout]  --> src/config/keygen.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/peer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/session/manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionStatus as DbSessionStatus`
[INFO] [stdout]  --> src/session/manager.rs:8:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::db::{repositories::session::{SessionRepository, SessionStatus as DbSessionStatus}, Database};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]    --> src/cli/commands.rs:277:28
[INFO] [stdout]     |
[INFO] [stdout] 277 |         Commands::Keygen { password } => {
[INFO] [stdout]     |                            ^^^^^^^^ help: try ignoring the field: `password: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_manager`
[INFO] [stdout]   --> src/mcp/peer_server.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         peer_manager: Arc<RwLock<Option<PeerManager>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent_type`
[INFO] [stdout]    --> src/mcp/server.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let agent_type = args["agent_type"].as_str();
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/session/manager.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         session_id: &str,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug` is never used
[INFO] [stdout]    --> src/config/config.rs:222:4
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn debug(_msg: &str) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/session/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 12 |     db: Database,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gates::QualityGates`
[INFO] [stdout]  --> src/agent/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use gates::QualityGates;
[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 imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config/config.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/config/keygen.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/peer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServerConfig`
[INFO] [stdout]  --> src/config/mod.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use config::{Config, PeerConfig, PeerRequest, ServerConfig};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state::AppState`
[INFO] [stdout]  --> src/core/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use state::AppState;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repositories::session::SessionRepository`
[INFO] [stdout]  --> src/db/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use repositories::session::SessionRepository;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::*`
[INFO] [stdout]  --> src/mcp/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use types::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/session/manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionStatus as DbSessionStatus`
[INFO] [stdout]  --> src/session/manager.rs:8:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::db::{repositories::session::{SessionRepository, SessionStatus as DbSessionStatus}, Database};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opencode::OpenCodeClient`
[INFO] [stdout]   --> src/session/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use opencode::OpenCodeClient;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `claude::ClaudeClient`
[INFO] [stdout]   --> src/session/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use claude::ClaudeClient;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]    --> src/cli/commands.rs:277:28
[INFO] [stdout]     |
[INFO] [stdout] 277 |         Commands::Keygen { password } => {
[INFO] [stdout]     |                            ^^^^^^^^ help: try ignoring the field: `password: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_manager`
[INFO] [stdout]   --> src/mcp/peer_server.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         peer_manager: Arc<RwLock<Option<PeerManager>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent_type`
[INFO] [stdout]    --> src/mcp/server.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let agent_type = args["agent_type"].as_str();
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/session/manager.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         session_id: &str,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `received_at` is never read
[INFO] [stdout]    --> src/config/config.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct PeerRequest {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub received_at: chrono::DateTime<chrono::Utc>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PeerRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_db_path` is never used
[INFO] [stdout]    --> src/config/config.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub fn resolve_db_path(&self) -> Result<PathBuf> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug` is never used
[INFO] [stdout]    --> src/config/config.rs:222:4
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn debug(_msg: &str) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_public_key` is never used
[INFO] [stdout]   --> src/config/keygen.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn get_public_key(private_key_base64: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/config/peer.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PeerManager {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 16 |     config: Config,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/config/peer.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl PeerManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  20 |     pub fn new(config: Config) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn config(&self) -> &Config {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn config_mut(&mut self) -> &mut Config {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  32 |     pub fn can_peer(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub async fn connect_to_peer(&self, peer_name: &str) -> Result<PeerConnection> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     async fn try_connect(&self, peer_name: &str, hostname: &str, auth: &str) -> Result<PeerConnection> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn handle_peer_request(&mut self, request: PeerRequest) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub async fn accept_peer(&mut self, peer_name: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn deny_peer(&mut self, peer_name: &str) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_pending_requests(&self) -> Vec<(&String, &PeerRequest)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PeerConnection` is never constructed
[INFO] [stdout]    --> src/config/peer.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct PeerConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PeerMessage` is never constructed
[INFO] [stdout]    --> src/config/peer.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub struct PeerMessage {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]  --> src/core/state.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct AppState {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core/state.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(db: Database) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `path` and `health_check` are never used
[INFO] [stdout]   --> src/db/connection.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Database {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn path(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete` is never used
[INFO] [stdout]    --> src/db/repositories/session.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl SessionRepository {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `db`, `get`, and `delete` are never used
[INFO] [stdout]    --> src/db/repositories/project.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl ProjectRepository {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn db(&self) -> &Database {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub async fn get(&self, id: &str) -> Result<Option<Project>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_peer_manager` is never used
[INFO] [stdout]    --> src/mcp/peer_server.rs:145:18
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl PeerServer {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub async fn set_peer_manager(&self, manager: PeerManager) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitializeParams` is never constructed
[INFO] [stdout]    --> src/mcp/types.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct InitializeParams {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/session/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 12 |     db: Database,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_opencode_url`, `get_session_status`, `check_opencode_health`, and `check_claude_health` are never used
[INFO] [stdout]    --> src/session/manager.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl SessionManager {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn with_opencode_url(db: Database, url: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub async fn get_session_status(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn check_opencode_health(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn check_claude_health(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_status` and `health_check` are never used
[INFO] [stdout]   --> src/session/provider.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait SessionProvider: Send + Sync {
[INFO] [stdout]    |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     async fn get_status(&self, session_id: &str) -> Result<SessionStatus>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     async fn health_check(&self) -> Result<bool>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `internal_id` is never read
[INFO] [stdout]   --> src/session/provider.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct SessionHandle {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 31 |     /// Our internal session ID
[INFO] [stdout] 32 |     pub internal_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SessionStatus` is never used
[INFO] [stdout]   --> src/session/provider.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub enum SessionStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `slug` is never read
[INFO] [stdout]   --> src/session/opencode/client.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CreateSessionResponse {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] 28 |     pub id: String,
[INFO] [stdout] 29 |     pub slug: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateSessionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SessionInfo` is never constructed
[INFO] [stdout]   --> src/session/opencode/client.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct SessionInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_session`, `get_children`, `health_check`, and `base_url` are never used
[INFO] [stdout]    --> src/session/opencode/client.rs:171:18
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl OpenCodeClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn get_session(&self, session_id: &str) -> Result<SessionInfo> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub async fn get_children(&self, session_id: &str) -> Result<Vec<SessionInfo>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `session_id` are never read
[INFO] [stdout]   --> src/session/claude/client.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ClaudeSession {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 25 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 26 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClaudeSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_session`, `is_running`, `health_check`, and `claude_path` are never used
[INFO] [stdout]    --> src/session/claude/client.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl ClaudeClient {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub async fn get_session(&self, session_id: &str) -> Result<Option<ClaudeSession>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn is_running(&self, session_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn health_check(&self) -> Result<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn claude_path(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s
[INFO] running `Command { std: "docker" "inspect" "bb110daff3a23c2fe69a4de6faa0b7a16c841f16b6e77fcc3fa485304a8b4dcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb110daff3a23c2fe69a4de6faa0b7a16c841f16b6e77fcc3fa485304a8b4dcd", kill_on_drop: false }`
[INFO] [stdout] bb110daff3a23c2fe69a4de6faa0b7a16c841f16b6e77fcc3fa485304a8b4dcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5c04c301d729e354b48ca4e2be117d91e4b6b119e07fcf6a330c15e445f2c37
[INFO] running `Command { std: "docker" "start" "-a" "e5c04c301d729e354b48ca4e2be117d91e4b6b119e07fcf6a330c15e445f2c37", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config/config.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{DateTime, Utc};
[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: `Context`
[INFO] [stdout]  --> src/config/keygen.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/peer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/session/manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionStatus as DbSessionStatus`
[INFO] [stdout]  --> src/session/manager.rs:8:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::db::{repositories::session::{SessionRepository, SessionStatus as DbSessionStatus}, Database};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]    --> src/cli/commands.rs:277:28
[INFO] [stdout]     |
[INFO] [stdout] 277 |         Commands::Keygen { password } => {
[INFO] [stdout]     |                            ^^^^^^^^ help: try ignoring the field: `password: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_manager`
[INFO] [stdout]   --> src/mcp/peer_server.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         peer_manager: Arc<RwLock<Option<PeerManager>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent_type`
[INFO] [stdout]    --> src/mcp/server.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let agent_type = args["agent_type"].as_str();
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/session/manager.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         session_id: &str,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug` is never used
[INFO] [stdout]    --> src/config/config.rs:222:4
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn debug(_msg: &str) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/session/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 12 |     db: Database,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gates::QualityGates`
[INFO] [stdout]  --> src/agent/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use gates::QualityGates;
[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 imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config/config.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/config/keygen.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/peer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServerConfig`
[INFO] [stdout]  --> src/config/mod.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use config::{Config, PeerConfig, PeerRequest, ServerConfig};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state::AppState`
[INFO] [stdout]  --> src/core/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use state::AppState;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repositories::session::SessionRepository`
[INFO] [stdout]  --> src/db/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use repositories::session::SessionRepository;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::*`
[INFO] [stdout]  --> src/mcp/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use types::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/session/manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionStatus as DbSessionStatus`
[INFO] [stdout]  --> src/session/manager.rs:8:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::db::{repositories::session::{SessionRepository, SessionStatus as DbSessionStatus}, Database};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opencode::OpenCodeClient`
[INFO] [stdout]   --> src/session/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use opencode::OpenCodeClient;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `claude::ClaudeClient`
[INFO] [stdout]   --> src/session/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use claude::ClaudeClient;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]    --> src/cli/commands.rs:277:28
[INFO] [stdout]     |
[INFO] [stdout] 277 |         Commands::Keygen { password } => {
[INFO] [stdout]     |                            ^^^^^^^^ help: try ignoring the field: `password: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_manager`
[INFO] [stdout]   --> src/mcp/peer_server.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         peer_manager: Arc<RwLock<Option<PeerManager>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent_type`
[INFO] [stdout]    --> src/mcp/server.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let agent_type = args["agent_type"].as_str();
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/session/manager.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         session_id: &str,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `received_at` is never read
[INFO] [stdout]    --> src/config/config.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct PeerRequest {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub received_at: chrono::DateTime<chrono::Utc>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PeerRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_db_path` is never used
[INFO] [stdout]    --> src/config/config.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub fn resolve_db_path(&self) -> Result<PathBuf> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug` is never used
[INFO] [stdout]    --> src/config/config.rs:222:4
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn debug(_msg: &str) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_public_key` is never used
[INFO] [stdout]   --> src/config/keygen.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn get_public_key(private_key_base64: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/config/peer.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PeerManager {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 16 |     config: Config,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/config/peer.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl PeerManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  20 |     pub fn new(config: Config) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn config(&self) -> &Config {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn config_mut(&mut self) -> &mut Config {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  32 |     pub fn can_peer(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub async fn connect_to_peer(&self, peer_name: &str) -> Result<PeerConnection> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     async fn try_connect(&self, peer_name: &str, hostname: &str, auth: &str) -> Result<PeerConnection> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn handle_peer_request(&mut self, request: PeerRequest) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub async fn accept_peer(&mut self, peer_name: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn deny_peer(&mut self, peer_name: &str) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_pending_requests(&self) -> Vec<(&String, &PeerRequest)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PeerConnection` is never constructed
[INFO] [stdout]    --> src/config/peer.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct PeerConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PeerMessage` is never constructed
[INFO] [stdout]    --> src/config/peer.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub struct PeerMessage {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]  --> src/core/state.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct AppState {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core/state.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(db: Database) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `path` and `health_check` are never used
[INFO] [stdout]   --> src/db/connection.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Database {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn path(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete` is never used
[INFO] [stdout]    --> src/db/repositories/session.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl SessionRepository {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `db`, `get`, and `delete` are never used
[INFO] [stdout]    --> src/db/repositories/project.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl ProjectRepository {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn db(&self) -> &Database {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub async fn get(&self, id: &str) -> Result<Option<Project>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_peer_manager` is never used
[INFO] [stdout]    --> src/mcp/peer_server.rs:145:18
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl PeerServer {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub async fn set_peer_manager(&self, manager: PeerManager) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitializeParams` is never constructed
[INFO] [stdout]    --> src/mcp/types.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct InitializeParams {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/session/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 12 |     db: Database,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_opencode_url`, `get_session_status`, `check_opencode_health`, and `check_claude_health` are never used
[INFO] [stdout]    --> src/session/manager.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl SessionManager {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn with_opencode_url(db: Database, url: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub async fn get_session_status(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn check_opencode_health(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn check_claude_health(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_status` and `health_check` are never used
[INFO] [stdout]   --> src/session/provider.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait SessionProvider: Send + Sync {
[INFO] [stdout]    |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     async fn get_status(&self, session_id: &str) -> Result<SessionStatus>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     async fn health_check(&self) -> Result<bool>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `internal_id` is never read
[INFO] [stdout]   --> src/session/provider.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct SessionHandle {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 31 |     /// Our internal session ID
[INFO] [stdout] 32 |     pub internal_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SessionStatus` is never used
[INFO] [stdout]   --> src/session/provider.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub enum SessionStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `slug` is never read
[INFO] [stdout]   --> src/session/opencode/client.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CreateSessionResponse {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] 28 |     pub id: String,
[INFO] [stdout] 29 |     pub slug: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateSessionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SessionInfo` is never constructed
[INFO] [stdout]   --> src/session/opencode/client.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct SessionInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_session`, `get_children`, `health_check`, and `base_url` are never used
[INFO] [stdout]    --> src/session/opencode/client.rs:171:18
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl OpenCodeClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn get_session(&self, session_id: &str) -> Result<SessionInfo> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub async fn get_children(&self, session_id: &str) -> Result<Vec<SessionInfo>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `session_id` are never read
[INFO] [stdout]   --> src/session/claude/client.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ClaudeSession {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 25 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 26 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClaudeSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_session`, `is_running`, `health_check`, and `claude_path` are never used
[INFO] [stdout]    --> src/session/claude/client.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl ClaudeClient {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub async fn get_session(&self, session_id: &str) -> Result<Option<ClaudeSession>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn is_running(&self, session_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn health_check(&self) -> Result<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn claude_path(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.25.0
[INFO] [stderr]    Compiling supercode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> tests/gates_test.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let results = QualityGates::run_all("/");
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> tests/gates_test.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |     assert!(result.duration_ms >= 0);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config/config.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{DateTime, Utc};
[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: `Context`
[INFO] [stdout]  --> src/config/keygen.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/peer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gates::QualityGates`
[INFO] [stdout]  --> src/agent/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use gates::QualityGates;
[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 imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config/config.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/session/manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionStatus as DbSessionStatus`
[INFO] [stdout]  --> src/session/manager.rs:8:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::db::{repositories::session::{SessionRepository, SessionStatus as DbSessionStatus}, Database};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/config/keygen.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/peer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServerConfig`
[INFO] [stdout]  --> src/config/mod.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use config::{Config, PeerConfig, PeerRequest, ServerConfig};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state::AppState`
[INFO] [stdout]  --> src/core/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use state::AppState;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repositories::session::SessionRepository`
[INFO] [stdout]  --> src/db/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use repositories::session::SessionRepository;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::*`
[INFO] [stdout]  --> src/mcp/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use types::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/session/manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionStatus as DbSessionStatus`
[INFO] [stdout]  --> src/session/manager.rs:8:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::db::{repositories::session::{SessionRepository, SessionStatus as DbSessionStatus}, Database};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opencode::OpenCodeClient`
[INFO] [stdout]   --> src/session/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use opencode::OpenCodeClient;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `claude::ClaudeClient`
[INFO] [stdout]   --> src/session/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use claude::ClaudeClient;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]    --> src/cli/commands.rs:277:28
[INFO] [stdout]     |
[INFO] [stdout] 277 |         Commands::Keygen { password } => {
[INFO] [stdout]     |                            ^^^^^^^^ help: try ignoring the field: `password: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_manager`
[INFO] [stdout]   --> src/mcp/peer_server.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         peer_manager: Arc<RwLock<Option<PeerManager>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent_type`
[INFO] [stdout]    --> src/mcp/server.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let agent_type = args["agent_type"].as_str();
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/session/manager.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         session_id: &str,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]    --> src/cli/commands.rs:277:28
[INFO] [stdout]     |
[INFO] [stdout] 277 |         Commands::Keygen { password } => {
[INFO] [stdout]     |                            ^^^^^^^^ help: try ignoring the field: `password: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_manager`
[INFO] [stdout]   --> src/mcp/peer_server.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         peer_manager: Arc<RwLock<Option<PeerManager>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent_type`
[INFO] [stdout]    --> src/mcp/server.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let agent_type = args["agent_type"].as_str();
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/session/manager.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         session_id: &str,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `received_at` is never read
[INFO] [stdout]    --> src/config/config.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct PeerRequest {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub received_at: chrono::DateTime<chrono::Utc>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PeerRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_db_path` is never used
[INFO] [stdout]    --> src/config/config.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub fn resolve_db_path(&self) -> Result<PathBuf> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug` is never used
[INFO] [stdout]    --> src/config/config.rs:222:4
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn debug(_msg: &str) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_public_key` is never used
[INFO] [stdout]   --> src/config/keygen.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn get_public_key(private_key_base64: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/config/peer.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PeerManager {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 16 |     config: Config,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/config/peer.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl PeerManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  20 |     pub fn new(config: Config) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn config(&self) -> &Config {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn config_mut(&mut self) -> &mut Config {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  32 |     pub fn can_peer(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub async fn connect_to_peer(&self, peer_name: &str) -> Result<PeerConnection> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     async fn try_connect(&self, peer_name: &str, hostname: &str, auth: &str) -> Result<PeerConnection> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn handle_peer_request(&mut self, request: PeerRequest) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub async fn accept_peer(&mut self, peer_name: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn deny_peer(&mut self, peer_name: &str) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_pending_requests(&self) -> Vec<(&String, &PeerRequest)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PeerConnection` is never constructed
[INFO] [stdout]    --> src/config/peer.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct PeerConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PeerMessage` is never constructed
[INFO] [stdout]    --> src/config/peer.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub struct PeerMessage {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]  --> src/core/state.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct AppState {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core/state.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(db: Database) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `path` and `health_check` are never used
[INFO] [stdout]   --> src/db/connection.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Database {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn path(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete` is never used
[INFO] [stdout]    --> src/db/repositories/session.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl SessionRepository {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `db`, `get`, and `delete` are never used
[INFO] [stdout]    --> src/db/repositories/project.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl ProjectRepository {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn db(&self) -> &Database {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub async fn get(&self, id: &str) -> Result<Option<Project>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_peer_manager` is never used
[INFO] [stdout]    --> src/mcp/peer_server.rs:145:18
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl PeerServer {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub async fn set_peer_manager(&self, manager: PeerManager) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitializeParams` is never constructed
[INFO] [stdout]    --> src/mcp/types.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct InitializeParams {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/session/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 12 |     db: Database,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_opencode_url`, `get_session_status`, `check_opencode_health`, and `check_claude_health` are never used
[INFO] [stdout]    --> src/session/manager.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl SessionManager {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn with_opencode_url(db: Database, url: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub async fn get_session_status(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn check_opencode_health(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn check_claude_health(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_status` and `health_check` are never used
[INFO] [stdout]   --> src/session/provider.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait SessionProvider: Send + Sync {
[INFO] [stdout]    |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     async fn get_status(&self, session_id: &str) -> Result<SessionStatus>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     async fn health_check(&self) -> Result<bool>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `internal_id` is never read
[INFO] [stdout]   --> src/session/provider.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct SessionHandle {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 31 |     /// Our internal session ID
[INFO] [stdout] 32 |     pub internal_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SessionStatus` is never used
[INFO] [stdout]   --> src/session/provider.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub enum SessionStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `slug` is never read
[INFO] [stdout]   --> src/session/opencode/client.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CreateSessionResponse {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] 28 |     pub id: String,
[INFO] [stdout] 29 |     pub slug: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateSessionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SessionInfo` is never constructed
[INFO] [stdout]   --> src/session/opencode/client.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct SessionInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_session`, `get_children`, `health_check`, and `base_url` are never used
[INFO] [stdout]    --> src/session/opencode/client.rs:171:18
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl OpenCodeClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn get_session(&self, session_id: &str) -> Result<SessionInfo> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub async fn get_children(&self, session_id: &str) -> Result<Vec<SessionInfo>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `session_id` are never read
[INFO] [stdout]   --> src/session/claude/client.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ClaudeSession {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 25 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 26 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClaudeSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_session`, `is_running`, `health_check`, and `claude_path` are never used
[INFO] [stdout]    --> src/session/claude/client.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl ClaudeClient {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub async fn get_session(&self, session_id: &str) -> Result<Option<ClaudeSession>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn is_running(&self, session_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn health_check(&self) -> Result<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn claude_path(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug` is never used
[INFO] [stdout]    --> src/config/config.rs:222:4
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn debug(_msg: &str) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/session/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 12 |     db: Database,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.28s
[INFO] running `Command { std: "docker" "inspect" "e5c04c301d729e354b48ca4e2be117d91e4b6b119e07fcf6a330c15e445f2c37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5c04c301d729e354b48ca4e2be117d91e4b6b119e07fcf6a330c15e445f2c37", kill_on_drop: false }`
[INFO] [stdout] e5c04c301d729e354b48ca4e2be117d91e4b6b119e07fcf6a330c15e445f2c37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 437c4036d7ea4119f19e7a7e889ec9991b00fe8bf2f7feee2a7fe55ccb32e2f5
[INFO] running `Command { std: "docker" "start" "-a" "437c4036d7ea4119f19e7a7e889ec9991b00fe8bf2f7feee2a7fe55ccb32e2f5", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `DateTime` and `Utc`
[INFO] [stderr]  --> src/config/config.rs:9:14
[INFO] [stderr]   |
[INFO] [stderr] 9 | use chrono::{DateTime, Utc};
[INFO] [stderr]   |              ^^^^^^^^  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Context`
[INFO] [stderr]  --> src/config/keygen.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use anyhow::{Context, Result};
[INFO] [stderr]   |              ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/config/peer.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `async_trait::async_trait`
[INFO] [stderr]  --> src/session/manager.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use async_trait::async_trait;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SessionStatus as DbSessionStatus`
[INFO] [stderr]  --> src/session/manager.rs:8:60
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::db::{repositories::session::{SessionRepository, SessionStatus as DbSessionStatus}, Database};
[INFO] [stderr]   |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `password`
[INFO] [stderr]    --> src/cli/commands.rs:277:28
[INFO] [stderr]     |
[INFO] [stderr] 277 |         Commands::Keygen { password } => {
[INFO] [stderr]     |                            ^^^^^^^^ help: try ignoring the field: `password: _`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `peer_manager`
[INFO] [stderr]   --> src/mcp/peer_server.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |         peer_manager: Arc<RwLock<Option<PeerManager>>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_manager`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `agent_type`
[INFO] [stderr]    --> src/mcp/server.rs:493:21
[INFO] [stderr]     |
[INFO] [stderr] 493 |                 let agent_type = args["agent_type"].as_str();
[INFO] [stderr]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_type`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `session_id`
[INFO] [stderr]   --> src/session/manager.rs:92:9
[INFO] [stderr]    |
[INFO] [stderr] 92 |         session_id: &str,
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stderr] 
[INFO] [stderr] warning: function `debug` is never used
[INFO] [stderr]    --> src/config/config.rs:222:4
[INFO] [stderr]     |
[INFO] [stderr] 222 | fn debug(_msg: &str) {
[INFO] [stderr]     |    ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `db` is never read
[INFO] [stderr]   --> src/session/manager.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct SessionManager {
[INFO] [stderr]    |            -------------- field in this struct
[INFO] [stderr] 12 |     db: Database,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 
[INFO] [stderr] warning: `supercode` (lib) generated 11 warnings (run `cargo fix --lib -p supercode` to apply 9 suggestions)
[INFO] [stderr] warning: unused import: `gates::QualityGates`
[INFO] [stderr]  --> src/agent/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use gates::QualityGates;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DateTime` and `Utc`
[INFO] [stderr]  --> src/config/config.rs:9:14
[INFO] [stderr]   |
[INFO] [stderr] 9 | use chrono::{DateTime, Utc};
[INFO] [stderr]   |              ^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ServerConfig`
[INFO] [stderr]  --> src/config/mod.rs:8:51
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use config::{Config, PeerConfig, PeerRequest, ServerConfig};
[INFO] [stderr]   |                                                   ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `state::AppState`
[INFO] [stderr]  --> src/core/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use state::AppState;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `repositories::session::SessionRepository`
[INFO] [stderr]  --> src/db/mod.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use repositories::session::SessionRepository;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `types::*`
[INFO] [stderr]  --> src/mcp/mod.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub use types::*;
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `opencode::OpenCodeClient`
[INFO] [stderr]   --> src/session/mod.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub use opencode::OpenCodeClient;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `claude::ClaudeClient`
[INFO] [stderr]   --> src/session/mod.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub use claude::ClaudeClient;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `received_at` is never read
[INFO] [stderr]    --> src/config/config.rs:117:9
[INFO] [stderr]     |
[INFO] [stderr] 109 | pub struct PeerRequest {
[INFO] [stderr]     |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub received_at: chrono::DateTime<chrono::Utc>,
[INFO] [stderr]     |         ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `PeerRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `resolve_db_path` is never used
[INFO] [stderr]    --> src/config/config.rs:214:12
[INFO] [stderr]     |
[INFO] [stderr] 120 | impl Config {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 214 |     pub fn resolve_db_path(&self) -> Result<PathBuf> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `debug` is never used
[INFO] [stderr]    --> src/config/config.rs:222:4
[INFO] [stderr]     |
[INFO] [stderr] 222 | fn debug(_msg: &str) {
[INFO] [stderr]     |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_public_key` is never used
[INFO] [stderr]   --> src/config/keygen.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn get_public_key(private_key_base64: &str) -> Result<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `config` is never read
[INFO] [stderr]   --> src/config/peer.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct PeerManager {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] 16 |     config: Config,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/config/peer.rs:20:12
[INFO] [stderr]     |
[INFO] [stderr]  19 | impl PeerManager {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr]  20 |     pub fn new(config: Config) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  24 |     pub fn config(&self) -> &Config {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  28 |     pub fn config_mut(&mut self) -> &mut Config {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  32 |     pub fn can_peer(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  37 |     pub async fn connect_to_peer(&self, peer_name: &str) -> Result<PeerConnection> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  53 |     async fn try_connect(&self, peer_name: &str, hostname: &str, auth: &str) -> Result<PeerConnection> {
[INFO] [stderr]     |              ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  91 |     pub fn handle_peer_request(&mut self, request: PeerRequest) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  96 |     pub async fn accept_peer(&mut self, peer_name: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 115 |     pub fn deny_peer(&mut self, peer_name: &str) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub fn get_pending_requests(&self) -> Vec<(&String, &PeerRequest)> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PeerConnection` is never constructed
[INFO] [stderr]    --> src/config/peer.rs:126:12
[INFO] [stderr]     |
[INFO] [stderr] 126 | pub struct PeerConnection {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PeerMessage` is never constructed
[INFO] [stderr]    --> src/config/peer.rs:151:12
[INFO] [stderr]     |
[INFO] [stderr] 151 | pub struct PeerMessage {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AppState` is never constructed
[INFO] [stderr]  --> src/core/state.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct AppState {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/core/state.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl AppState {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 12 |     pub fn new(db: Database) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `path` and `health_check` are never used
[INFO] [stderr]   --> src/db/connection.rs:62:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | impl Database {
[INFO] [stderr]    | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 62 |     pub fn path(&self) -> &str {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 67 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `delete` is never used
[INFO] [stderr]    --> src/db/repositories/session.rs:290:18
[INFO] [stderr]     |
[INFO] [stderr] 113 | impl SessionRepository {
[INFO] [stderr]     | ---------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 290 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `db`, `get`, and `delete` are never used
[INFO] [stderr]    --> src/db/repositories/project.rs:31:12
[INFO] [stderr]     |
[INFO] [stderr]  25 | impl ProjectRepository {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  31 |     pub fn db(&self) -> &Database {
[INFO] [stderr]     |            ^^
[INFO] [stderr] ...
[INFO] [stderr]  72 |     pub async fn get(&self, id: &str) -> Result<Option<Project>> {
[INFO] [stderr]     |                  ^^^
[INFO] [stderr] ...
[INFO] [stderr] 128 |     pub async fn delete(&self, id: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_peer_manager` is never used
[INFO] [stderr]    --> src/mcp/peer_server.rs:145:18
[INFO] [stderr]     |
[INFO] [stderr]  21 | impl PeerServer {
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 145 |     pub async fn set_peer_manager(&self, manager: PeerManager) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `InitializeParams` is never constructed
[INFO] [stderr]    --> src/mcp/types.rs:101:12
[INFO] [stderr]     |
[INFO] [stderr] 101 | pub struct InitializeParams {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `with_opencode_url`, `get_session_status`, `check_opencode_health`, and `check_claude_health` are never used
[INFO] [stderr]    --> src/session/manager.rs:31:12
[INFO] [stderr]     |
[INFO] [stderr]  18 | impl SessionManager {
[INFO] [stderr]     | ------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  31 |     pub fn with_opencode_url(db: Database, url: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     pub async fn get_session_status(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 135 |     pub async fn check_opencode_health(&self) -> Result<bool> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 140 |     pub async fn check_claude_health(&self) -> Result<bool> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_status` and `health_check` are never used
[INFO] [stderr]   --> src/session/provider.rs:16:14
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub trait SessionProvider: Send + Sync {
[INFO] [stderr]    |           --------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 16 |     async fn get_status(&self, session_id: &str) -> Result<SessionStatus>;
[INFO] [stderr]    |              ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     async fn health_check(&self) -> Result<bool>;
[INFO] [stderr]    |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `internal_id` is never read
[INFO] [stderr]   --> src/session/provider.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct SessionHandle {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] 31 |     /// Our internal session ID
[INFO] [stderr] 32 |     pub internal_id: String,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SessionHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: enum `SessionStatus` is never used
[INFO] [stderr]   --> src/session/provider.rs:39:10
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub enum SessionStatus {
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `slug` is never read
[INFO] [stderr]   --> src/session/opencode/client.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct CreateSessionResponse {
[INFO] [stderr]    |            --------------------- field in this struct
[INFO] [stderr] 28 |     pub id: String,
[INFO] [stderr] 29 |     pub slug: Option<String>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CreateSessionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SessionInfo` is never constructed
[INFO] [stderr]   --> src/session/opencode/client.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct SessionInfo {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_session`, `get_children`, `health_check`, and `base_url` are never used
[INFO] [stderr]    --> src/session/opencode/client.rs:171:18
[INFO] [stderr]     |
[INFO] [stderr]  65 | impl OpenCodeClient {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 171 |     pub async fn get_session(&self, session_id: &str) -> Result<SessionInfo> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 195 |     pub async fn get_children(&self, session_id: &str) -> Result<Vec<SessionInfo>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 266 |     pub async fn health_check(&self) -> Result<bool> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 279 |     pub fn base_url(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id` and `session_id` are never read
[INFO] [stderr]   --> src/session/claude/client.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct ClaudeSession {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 25 |     pub id: String,
[INFO] [stderr]    |         ^^
[INFO] [stderr] 26 |     pub session_id: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ClaudeSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_session`, `is_running`, `health_check`, and `claude_path` are never used
[INFO] [stderr]    --> src/session/claude/client.rs:178:18
[INFO] [stderr]     |
[INFO] [stderr]  30 | impl ClaudeClient {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 178 |     pub async fn get_session(&self, session_id: &str) -> Result<Option<ClaudeSession>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 184 |     pub async fn is_running(&self, session_id: &str) -> bool {
[INFO] [stderr]     |                  ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 213 |     pub fn health_check(&self) -> Result<bool> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 224 |     pub fn claude_path(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `supercode` (bin "supercode") generated 41 warnings (9 duplicates) (run `cargo fix --bin "supercode" -p supercode` to apply 8 suggestions)
[INFO] [stderr] warning: unused variable: `results`
[INFO] [stderr]   --> tests/gates_test.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let results = QualityGates::run_all("/");
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> tests/gates_test.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |     assert!(result.duration_ms >= 0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `supercode` (test "gates_test") generated 2 warnings (run `cargo fix --test "gates_test" -p supercode` to apply 1 suggestion)
[INFO] [stderr] warning: `supercode` (bin "supercode" test) generated 41 warnings (41 duplicates)
[INFO] [stderr] warning: `supercode` (lib test) generated 11 warnings (11 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/supercode-911a095ab1a835f1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/supercode-ab08489820f08b9c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/db_test.rs (/opt/rustwide/target/debug/deps/db_test-0bbe24507f63ee04)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test test_session_not_found ... ok
[INFO] [stdout] test test_database_initialization ... ok
[INFO] [stdout] test test_get_session ... ok
[INFO] [stdout] test test_list_sessions ... ok
[INFO] [stdout] test test_create_session ... ok
[INFO] [stdout] test test_update_session_status ... ok
[INFO] [stdout] test test_filter_by_status ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/gates_test.rs (/opt/rustwide/target/debug/deps/gates_test-dd10eee6034a281f)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test test_quality_gates_nonexistent_dir ... ok
[INFO] [stdout] test test_path_validation_rejects_traversal ... ok
[INFO] [stdout] test test_quality_gates_empty_dir ... ok
[INFO] [stdout] test test_rust_check_with_cargo_toml ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests supercode
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "437c4036d7ea4119f19e7a7e889ec9991b00fe8bf2f7feee2a7fe55ccb32e2f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "437c4036d7ea4119f19e7a7e889ec9991b00fe8bf2f7feee2a7fe55ccb32e2f5", kill_on_drop: false }`
[INFO] [stdout] 437c4036d7ea4119f19e7a7e889ec9991b00fe8bf2f7feee2a7fe55ccb32e2f5
