[INFO] fetching crate squid-rs 0.13.1... [INFO] checking squid-rs-0.13.1 against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193 [INFO] extracting crate squid-rs 0.13.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate squid-rs 0.13.1 [INFO] finished tweaking crates.io crate squid-rs 0.13.1 [INFO] tweaked toml for crates.io crate squid-rs 0.13.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate squid-rs 0.13.1 on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate squid-rs 0.13.1 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92e10d01c22306d4c0b47cbbb5dae2cd029d4b359974a17851eb425a3f449198 [INFO] running `Command { std: "docker" "start" "-a" "92e10d01c22306d4c0b47cbbb5dae2cd029d4b359974a17851eb425a3f449198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92e10d01c22306d4c0b47cbbb5dae2cd029d4b359974a17851eb425a3f449198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e10d01c22306d4c0b47cbbb5dae2cd029d4b359974a17851eb425a3f449198", kill_on_drop: false }` [INFO] [stdout] 92e10d01c22306d4c0b47cbbb5dae2cd029d4b359974a17851eb425a3f449198 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f22d20647c26100ac618b85f14ad5e44a0209b444350ec2d9adad8af9831be4 [INFO] running `Command { std: "docker" "start" "-a" "4f22d20647c26100ac618b85f14ad5e44a0209b444350ec2d9adad8af9831be4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking tokio v1.51.0 [INFO] [stderr] Checking iri-string v0.7.11 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking hybrid-array v0.4.8 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling toml_edit v0.25.8+spec-1.1.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling dlopen2_derive v0.4.3 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking borrow-or-share v0.2.4 [INFO] [stderr] Compiling unicode-general-category v1.1.0 [INFO] [stderr] Compiling relative-path v2.0.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling aws-lc-sys v0.39.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling rquickjs-sys v0.11.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling libsqlite3-sys v0.37.0 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking dlopen2 v0.8.2 [INFO] [stderr] Compiling sqlite-vec v0.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking fluent-uri v0.4.1 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking crypto-common v0.2.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking uuid-simd v0.8.0 [INFO] [stderr] Checking digest v0.11.2 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking inotify v0.11.1 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking referencing v0.45.0 [INFO] [stderr] Checking schemars v1.2.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking fancy-regex v0.17.0 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking console v0.16.3 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking ordered-float v5.2.0 [INFO] [stderr] Compiling async-openai-macros v0.1.1 [INFO] [stderr] Checking hashlink v0.11.0 [INFO] [stderr] Checking notify-types v2.1.0 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking jiff v0.2.23 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Compiling squid-rs v0.13.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking as-any v0.3.2 [INFO] [stderr] Checking tiktoken-rs v0.9.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking indicatif v0.18.4 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking inquire v0.9.4 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking sysinfo v0.38.4 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-http v3.12.0 [INFO] [stderr] Checking rusqlite v0.39.0 [INFO] [stderr] Checking actix-web v4.13.0 [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Checking actix-files v0.6.10 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking rquickjs-core v0.11.0 [INFO] [stderr] Checking rig-core v0.34.0 [INFO] [stderr] Checking jsonschema v0.45.0 [INFO] [stderr] Checking async-openai v0.34.0 [INFO] [stderr] Compiling rquickjs-macro v0.11.0 [INFO] [stderr] Checking rquickjs v0.11.0 [INFO] [stdout] warning: fields `tool_args` and `tool_call_id` are never read [INFO] [stdout] --> src/api.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ApprovalState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | pub tool_name: String, [INFO] [stdout] 28 | pub tool_args: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub tool_call_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApprovalState` has a derived impl for the trait `Debug`, but this is 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: variants `Reasoning`, `ToolCall`, and `ToolResult` are never constructed [INFO] [stdout] --> src/api.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum StreamEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | Reasoning { text: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | #[serde(rename = "tool_call")] [INFO] [stdout] 91 | ToolCall { name: String, arguments: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | #[serde(rename = "tool_result")] [INFO] [stdout] 93 | ToolResult { name: String, result: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top_k` is never read [INFO] [stdout] --> src/api.rs:1647:9 [INFO] [stdout] | [INFO] [stdout] 1644 | pub struct RagQueryRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1647 | pub top_k: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RagQueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `find_database_file` and `get_default_agent` are never used [INFO] [stdout] --> src/config.rs:501:8 [INFO] [stdout] | [INFO] [stdout] 288 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 501 | fn find_database_file() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | pub fn get_default_agent(&self) -> Option<&AgentConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cleanup_old_sessions`, `get_message_count`, and `session_exists` are never used [INFO] [stdout] --> src/db.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 534 | pub fn cleanup_old_sessions(&self, max_age_seconds: i64) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub fn get_message_count(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | pub fn session_exists(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvContextConfig` is never constructed [INFO] [stdout] --> src/envinfo.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct EnvContextConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_path` is never used [INFO] [stdout] --> src/envinfo.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn sanitize_path(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_env_context` is never used [INFO] [stdout] --> src/envinfo.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_env_context() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_env_context_with_config` is never used [INFO] [stdout] --> src/envinfo.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_env_context_with_config(config: &EnvContextConfig) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload_plugins` is never used [INFO] [stdout] --> src/plugins/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn reload_plugins() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reload` is never used [INFO] [stdout] --> src/plugins/manager.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn reload(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugins/runtime.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl PluginRuntime { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | /// Create a new sandboxed runtime [INFO] [stdout] 18 | pub fn new() -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/plugins/validator.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SchemaValidator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_valid(&self, data: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_against_schema` is never used [INFO] [stdout] --> src/plugins/validator.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validate_against_schema(data: &Value, schema: &Value) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embed_batch` is never used [INFO] [stdout] --> src/rag.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl RagEmbedder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn embed_batch(&self, texts: Vec) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk_id` is never read [INFO] [stdout] --> src/rag.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct SearchResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 277 | pub chunk_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` 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: method `stop` is never used [INFO] [stdout] --> src/rag.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl DocumentWatcher { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/rag.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 697 | pub struct DocumentInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 701 | pub created_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentInfo` 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: fields `embedder` and `vector_store` are never read [INFO] [stdout] --> src/rag.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 706 | pub struct RagSystem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 707 | pub embedder: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 708 | pub vector_store: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolInvocation` is never constructed [INFO] [stdout] --> src/session.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ToolInvocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_approaching_limit` and `is_over_limit` are never used [INFO] [stdout] --> src/session.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl TokenUsage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_approaching_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_over_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_conversation_context` and `get_last_user_sources` are never used [INFO] [stdout] --> src/session.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl ChatSession { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn get_conversation_context(&self) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_last_user_sources(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_session` and `cleanup_old_sessions` are never used [INFO] [stdout] --> src/session.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 232 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn update_session(&self, session: ChatSession) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn cleanup_old_sessions(&self, max_age_seconds: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_string_with_context`, `get_context`, `insert`, and `remove` are never used [INFO] [stdout] --> src/template.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl TemplateRenderer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn render_string_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get_context(&self) -> &Context { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn insert(&mut self, key: &str, value: &T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn remove(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_args` and `tool_call_id` are never read [INFO] [stdout] --> src/api.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ApprovalState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | pub tool_name: String, [INFO] [stdout] 28 | pub tool_args: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub tool_call_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApprovalState` has a derived impl for the trait `Debug`, but this is 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: variants `Reasoning`, `ToolCall`, and `ToolResult` are never constructed [INFO] [stdout] --> src/api.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum StreamEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | Reasoning { text: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | #[serde(rename = "tool_call")] [INFO] [stdout] 91 | ToolCall { name: String, arguments: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | #[serde(rename = "tool_result")] [INFO] [stdout] 93 | ToolResult { name: String, result: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top_k` is never read [INFO] [stdout] --> src/api.rs:1647:9 [INFO] [stdout] | [INFO] [stdout] 1644 | pub struct RagQueryRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1647 | pub top_k: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RagQueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `find_database_file` and `get_default_agent` are never used [INFO] [stdout] --> src/config.rs:501:8 [INFO] [stdout] | [INFO] [stdout] 288 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 501 | fn find_database_file() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | pub fn get_default_agent(&self) -> Option<&AgentConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_message_count` and `session_exists` are never used [INFO] [stdout] --> src/db.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 552 | pub fn get_message_count(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | pub fn session_exists(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload_plugins` is never used [INFO] [stdout] --> src/plugins/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn reload_plugins() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reload` is never used [INFO] [stdout] --> src/plugins/manager.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn reload(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_against_schema` is never used [INFO] [stdout] --> src/plugins/validator.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validate_against_schema(data: &Value, schema: &Value) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/rag.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl DocumentWatcher { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/rag.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 697 | pub struct DocumentInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 701 | pub created_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentInfo` 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: fields `embedder` and `vector_store` are never read [INFO] [stdout] --> src/rag.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 706 | pub struct RagSystem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 707 | pub embedder: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 708 | pub vector_store: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolInvocation` is never constructed [INFO] [stdout] --> src/session.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ToolInvocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_approaching_limit` and `is_over_limit` are never used [INFO] [stdout] --> src/session.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl TokenUsage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_approaching_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_over_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_conversation_context` and `get_last_user_sources` are never used [INFO] [stdout] --> src/session.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl ChatSession { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn get_conversation_context(&self) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_last_user_sources(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_session` and `cleanup_old_sessions` are never used [INFO] [stdout] --> src/session.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 232 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn update_session(&self, session: ChatSession) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn cleanup_old_sessions(&self, max_age_seconds: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_context` is never used [INFO] [stdout] --> src/template.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl TemplateRenderer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get_context(&self) -> &Context { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "4f22d20647c26100ac618b85f14ad5e44a0209b444350ec2d9adad8af9831be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f22d20647c26100ac618b85f14ad5e44a0209b444350ec2d9adad8af9831be4", kill_on_drop: false }` [INFO] [stdout] 4f22d20647c26100ac618b85f14ad5e44a0209b444350ec2d9adad8af9831be4