[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] checking ottobunge/supercode against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottobunge%2Fsupercode" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ottobunge/supercode on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2_sqlite v0.24.0 [INFO] [stderr] Downloaded native-tls v0.2.15 [INFO] [stderr] Downloaded uuid v1.20.0 [INFO] [stderr] Downloaded unicode-ident v1.0.23 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.58 [INFO] [stderr] Downloaded clap v4.5.58 [INFO] [stderr] Downloaded iri-string v0.7.10 [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] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df48c3d2662f7e4e83987e81377b1acde71f08ae78e08174d875e226bd934658 [INFO] running `Command { std: "docker" "start" "-a" "df48c3d2662f7e4e83987e81377b1acde71f08ae78e08174d875e226bd934658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df48c3d2662f7e4e83987e81377b1acde71f08ae78e08174d875e226bd934658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df48c3d2662f7e4e83987e81377b1acde71f08ae78e08174d875e226bd934658", kill_on_drop: false }` [INFO] [stdout] df48c3d2662f7e4e83987e81377b1acde71f08ae78e08174d875e226bd934658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aae0c66a5a027d9bce99b5ff904fc56a7245f513767ce16e53a7ec048206c3c3 [INFO] running `Command { std: "docker" "start" "-a" "aae0c66a5a027d9bce99b5ff904fc56a7245f513767ce16e53a7ec048206c3c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling native-tls v0.2.15 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.58 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking fastrand v2.3.0 [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] Checking tokio v1.49.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking futures-util v0.3.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] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking clap v4.5.58 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking r2d2_sqlite v0.24.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking 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 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: `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>>, [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: `peer_manager` [INFO] [stdout] --> src/mcp/peer_server.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | peer_manager: Arc>>, [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: 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 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 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 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: `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>>, [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: `peer_manager` [INFO] [stdout] --> src/mcp/peer_server.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | peer_manager: Arc>>, [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, [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn try_connect(&self, peer_name: &str, hostname: &str, auth: &str) -> Result { [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 { [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> { [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) -> 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn check_claude_health(&self) -> Result { [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; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | async fn health_check(&self) -> Result; [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, [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 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn get_children(&self, session_id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn health_check(&self) -> Result { [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> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn claude_path(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [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, [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn try_connect(&self, peer_name: &str, hostname: &str, auth: &str) -> Result { [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 { [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> { [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) -> 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn check_claude_health(&self) -> Result { [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; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | async fn health_check(&self) -> Result; [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, [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 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn get_children(&self, session_id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn health_check(&self) -> Result { [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> { [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 { [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 42s [INFO] running `Command { std: "docker" "inspect" "aae0c66a5a027d9bce99b5ff904fc56a7245f513767ce16e53a7ec048206c3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae0c66a5a027d9bce99b5ff904fc56a7245f513767ce16e53a7ec048206c3c3", kill_on_drop: false }` [INFO] [stdout] aae0c66a5a027d9bce99b5ff904fc56a7245f513767ce16e53a7ec048206c3c3