[INFO] fetching crate ralphloop 0.1.0... [INFO] checking ralphloop-0.1.0 against master#fe7294f8793d001bc3f9d197e7cdef6cdb46c15a for pr-153912 [INFO] extracting crate ralphloop 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ralphloop 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ralphloop 0.1.0 [INFO] tweaked toml for crates.io crate ralphloop 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ralphloop 0.1.0 on toolchain fe7294f8793d001bc3f9d197e7cdef6cdb46c15a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ralphloop 0.1.0 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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zvariant_utils v1.0.1 [INFO] [stderr] Downloaded zbus_names v2.6.1 [INFO] [stderr] Downloaded zvariant_derive v3.15.2 [INFO] [stderr] Downloaded waker-fn v1.2.0 [INFO] [stderr] Downloaded memoffset v0.7.1 [INFO] [stderr] Downloaded zbus_macros v3.15.2 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded linux-keyutils v0.2.4 [INFO] [stderr] Downloaded polling v2.8.0 [INFO] [stderr] Downloaded socket2 v0.4.10 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded async-io v1.13.0 [INFO] [stderr] Downloaded event-listener v3.1.0 [INFO] [stderr] Downloaded zbus v3.15.2 [INFO] [stderr] Downloaded keyring v2.3.3 [INFO] [stderr] Downloaded async-broadcast v0.5.1 [INFO] [stderr] Downloaded async-process v1.8.1 [INFO] [stderr] Downloaded secret-service v3.1.0 [INFO] [stderr] Downloaded async-fs v1.6.0 [INFO] [stderr] Downloaded uds_windows v1.2.0 [INFO] [stderr] Downloaded zvariant v3.15.2 [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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d295beec7116a449858974e8485086a5825019127a19fd3e9a9dd173d42edc6 [INFO] running `Command { std: "docker" "start" "-a" "0d295beec7116a449858974e8485086a5825019127a19fd3e9a9dd173d42edc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d295beec7116a449858974e8485086a5825019127a19fd3e9a9dd173d42edc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d295beec7116a449858974e8485086a5825019127a19fd3e9a9dd173d42edc6", kill_on_drop: false }` [INFO] [stdout] 0d295beec7116a449858974e8485086a5825019127a19fd3e9a9dd173d42edc6 [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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301ff5e8622563d202d8b9521ba340dca01716717ff92f38bc549a2db9e6aed6 [INFO] running `Command { std: "docker" "start" "-a" "301ff5e8622563d202d8b9521ba340dca01716717ff92f38bc549a2db9e6aed6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking openssl-sys v0.9.111 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking tempfile v3.26.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking linux-keyutils v0.2.4 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.40 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Checking openssl v0.10.75 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking zerocopy v0.8.40 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [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] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking secret-service v3.1.0 [INFO] [stderr] Checking keyring v2.3.3 [INFO] [stderr] Checking ralphloop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> benches/performance_bench.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct MockStep { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockStep` has a derived impl for the trait `Clone`, 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: unexpected `cfg` condition value: `zip` [INFO] [stdout] --> src/template_share.rs:323:11 [INFO] [stdout] | [INFO] [stdout] 323 | #[cfg(feature = "zip")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zip` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `zip` [INFO] [stdout] --> src/template_share.rs:323:11 [INFO] [stdout] | [INFO] [stdout] 323 | #[cfg(feature = "zip")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zip` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `context` and `variable` are never used [INFO] [stdout] --> src/ralph_loop.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl RalphLoopBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn context(mut self, key: String, value: serde_json::Value) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn variable(mut self, key: String, value: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StreamChunk` is never used [INFO] [stdout] --> src/llm.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub type StreamChunk = String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LLMStream` is never used [INFO] [stdout] --> src/llm.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type LLMStream = Pin> + Send>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `complete_stream`, `supports_streaming`, `supports_tools`, and `provider_name` are never used [INFO] [stdout] --> src/llm.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait LLMProvider: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 71 | async fn complete_stream(&self, _prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn supports_streaming(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn supports_tools(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn provider_name(&self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_key` and `secret_key` are never read [INFO] [stdout] --> src/llm.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 657 | pub struct AWSBedrockProvider { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 661 | access_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 662 | secret_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LoopError`, `ModelNotFound`, `TemplateError`, `InvalidTemplate`, and `TemplateSyntaxError` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum RalphError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | LoopError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | ModelNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | TemplateError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | InvalidTemplate(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | TemplateSyntaxError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RalphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `category` is never used [INFO] [stdout] --> src/error.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl RalphError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn category(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionMetrics` is never constructed [INFO] [stdout] --> src/analytics.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ExecutionMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StepMetrics` is never constructed [INFO] [stdout] --> src/analytics.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct StepMetrics { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CostTracker` is never constructed [INFO] [stdout] --> src/analytics.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CostTracker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderCost` is never constructed [INFO] [stdout] --> src/analytics.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ProviderCost { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `calculate_cost` are never used [INFO] [stdout] --> src/analytics.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl CostTracker { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn calculate_cost(&self, provider: &str, model: &str, input_tokens: u32, output_tokens: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnalyticsCollector` is never constructed [INFO] [stdout] --> src/analytics.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct AnalyticsCollector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/analytics.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl AnalyticsCollector { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 124 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn start_execution(&mut self, loop_name: String, provider: String, model: String) -> ExecutionMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn end_execution(&mut self, mut metrics: ExecutionMetrics, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn record_step(&mut self, step_name: String, tokens_used: u32, provider: &str, model: &str, duration: Duration, success: bo... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_total_cost(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn get_total_tokens(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_success_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_average_duration(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn export_report(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn load_report(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn print_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditEntry` is never constructed [INFO] [stdout] --> src/audit.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AuditEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuditEventType` is never used [INFO] [stdout] --> src/audit.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AuditEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditTrail` is never constructed [INFO] [stdout] --> src/audit.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct AuditTrail { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/audit.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl AuditTrail { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 36 | pub fn new(max_entries: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn log(&mut self, entry: AuditEntry) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn log_event( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_entries(&self) -> &[AuditEntry] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn filter_by_loop(&self, loop_name: &str) -> Vec<&AuditEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn filter_by_event_type(&self, event_type: &AuditEventType) -> Vec<&AuditEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_recent(&self, count: usize) -> Vec<&AuditEntry> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn save(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn load(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn audit_file_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn load_or_create() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn save_default(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn print_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationSchema` is never constructed [INFO] [stdout] --> src/validation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ValidationSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationRule` is never constructed [INFO] [stdout] --> src/validation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ValidationRule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuleType` is never used [INFO] [stdout] --> src/validation.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum RuleType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Severity` is never used [INFO] [stdout] --> src/validation.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Severity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationResult` is never constructed [INFO] [stdout] --> src/validation.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ValidationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationError` is never constructed [INFO] [stdout] --> src/validation.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationWarning` is never constructed [INFO] [stdout] --> src/validation.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ValidationWarning { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Validator` is never used [INFO] [stdout] --> src/validation.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait Validator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_circular_dependencies` is never used [INFO] [stdout] --> src/validation.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl RalphLoop { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 295 | fn check_circular_dependencies(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginMetadata` is never constructed [INFO] [stdout] --> src/plugin.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PluginMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PluginCapability` is never used [INFO] [stdout] --> src/plugin.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum PluginCapability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Plugin` is never used [INFO] [stdout] --> src/plugin.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginRegistry` is never constructed [INFO] [stdout] --> src/plugin.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PluginRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugin.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl PluginRegistry { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn register(&mut self, plugin: Box) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn unregister(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn list(&self) -> Vec<&PluginMetadata> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn on_loop_start(&self, loop_def: &RalphLoop) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn on_loop_end(&self, loop_def: &RalphLoop, success: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn on_step_start(&self, step: &LoopStep) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn on_step_end(&self, step: &LoopStep, output: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn transform_step(&self, mut step: LoopStep) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn transform_output(&self, mut output: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn collect_variables(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingPlugin` is never constructed [INFO] [stdout] --> src/plugin.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct LoggingPlugin { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugin.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl LoggingPlugin { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 152 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentVariablePlugin` is never constructed [INFO] [stdout] --> src/plugin.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct EnvironmentVariablePlugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugin.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl EnvironmentVariablePlugin { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 204 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputFormatterPlugin` is never constructed [INFO] [stdout] --> src/plugin.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct OutputFormatterPlugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutputFormat` is never used [INFO] [stdout] --> src/plugin.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | pub enum OutputFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugin.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 249 | impl OutputFormatterPlugin { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 250 | pub fn new(format: OutputFormat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auto_commit` is never read [INFO] [stdout] --> src/git_integration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GitIntegration { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | repo_path: PathBuf, [INFO] [stdout] 14 | auto_commit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_auto_commit`, `get_diff`, and `auto_save` are never used [INFO] [stdout] --> src/git_integration.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl GitIntegration { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_auto_commit(mut self, auto_commit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_diff(&self, loop_path: &Path, old_hash: &str, new_hash: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn auto_save(&self, loop_path: &Path, loop_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Renamed` is never constructed [INFO] [stdout] --> src/file_watcher.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum FileChangeEvent { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Renamed(PathBuf, PathBuf), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileChangeEvent` 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: associated function `default_config` is never used [INFO] [stdout] --> src/file_watcher.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl FileWatcher { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn default_config() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `remote_url` is never read [INFO] [stdout] --> src/template_share.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct TemplateRegistry { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | remote_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateRegistry` 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 `with_remote` and `delete_template` are never used [INFO] [stdout] --> src/template_share.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl TemplateRegistry { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn with_remote(mut self, url: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn delete_template(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version`, `homepage`, `repository`, `license`, and `dependency` are never used [INFO] [stdout] --> src/template_share.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 339 | impl TemplateMetadataBuilder { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn homepage(mut self, url: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn repository(mut self, url: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn license(mut self, license: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn dependency(mut self, dep: TemplateDependency) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/repl.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | self.show_help(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = self.show_help(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plugin_dir` [INFO] [stdout] --> src/plugin.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let plugin_dir = directories::ProjectDirs::from("com", "ralph", "ralphloop").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plugin_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `context` is never used [INFO] [stdout] --> src/ralph_loop.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl RalphLoopBuilder { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn context(mut self, key: String, value: serde_json::Value) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StreamChunk` is never used [INFO] [stdout] --> src/llm.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub type StreamChunk = String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LLMStream` is never used [INFO] [stdout] --> src/llm.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type LLMStream = Pin> + Send>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `complete_stream`, `supports_streaming`, and `supports_tools` are never used [INFO] [stdout] --> src/llm.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait LLMProvider: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 71 | async fn complete_stream(&self, _prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn supports_streaming(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn supports_tools(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_key` and `secret_key` are never read [INFO] [stdout] --> src/llm.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 657 | pub struct AWSBedrockProvider { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 661 | access_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 662 | secret_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LoopError`, `ModelNotFound`, `TemplateError`, `InvalidTemplate`, and `TemplateSyntaxError` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum RalphError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | LoopError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | ModelNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | TemplateError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | InvalidTemplate(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | TemplateSyntaxError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RalphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `category` is never used [INFO] [stdout] --> src/error.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl RalphError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn category(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/analytics.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl AnalyticsCollector { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn record_step(&mut self, step_name: String, tokens_used: u32, provider: &str, model: &str, duration: Duration, success: bo... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_total_cost(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn get_total_tokens(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_average_duration(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn export_report(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn load_report(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn print_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/audit.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl AuditTrail { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_entries(&self) -> &[AuditEntry] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn filter_by_event_type(&self, event_type: &AuditEventType) -> Vec<&AuditEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_recent(&self, count: usize) -> Vec<&AuditEntry> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn save(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn load(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn audit_file_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn load_or_create() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn save_default(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn print_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationSchema` is never constructed [INFO] [stdout] --> src/validation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ValidationSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationRule` is never constructed [INFO] [stdout] --> src/validation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ValidationRule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuleType` is never used [INFO] [stdout] --> src/validation.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum RuleType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Severity` is never used [INFO] [stdout] --> src/validation.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Severity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `warnings` is never read [INFO] [stdout] --> src/validation.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ValidationResult { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub warnings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationResult` 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 `field` and `message` are never read [INFO] [stdout] --> src/validation.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ValidationError { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 44 | pub field: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationError` 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 `field` and `message` are never read [INFO] [stdout] --> src/validation.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ValidationWarning { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 50 | pub field: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationWarning` 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 `on_loop_start`, `on_loop_end`, `on_step_start`, `on_step_end`, `transform_step`, and `transform_output` are never used [INFO] [stdout] --> src/plugin.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | async fn on_loop_start(&self, _loop_def: &RalphLoop) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn on_loop_end(&self, _loop_def: &RalphLoop, _success: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | async fn on_step_start(&self, _step: &LoopStep) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | async fn on_step_end(&self, _step: &LoopStep, _output: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | async fn transform_step(&self, step: LoopStep) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | async fn transform_output(&self, output: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/plugin.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl PluginRegistry { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn unregister(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn on_loop_start(&self, loop_def: &RalphLoop) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn on_loop_end(&self, loop_def: &RalphLoop, success: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn on_step_start(&self, step: &LoopStep) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn on_step_end(&self, step: &LoopStep, output: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn transform_step(&self, mut step: LoopStep) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn transform_output(&self, mut output: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn collect_variables(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputFormatterPlugin` is never constructed [INFO] [stdout] --> src/plugin.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct OutputFormatterPlugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutputFormat` is never used [INFO] [stdout] --> src/plugin.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | pub enum OutputFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugin.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 249 | impl OutputFormatterPlugin { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 250 | pub fn new(format: OutputFormat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auto_commit` is never read [INFO] [stdout] --> src/git_integration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GitIntegration { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | repo_path: PathBuf, [INFO] [stdout] 14 | auto_commit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_auto_commit`, `get_diff`, and `auto_save` are never used [INFO] [stdout] --> src/git_integration.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl GitIntegration { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_auto_commit(mut self, auto_commit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_diff(&self, loop_path: &Path, old_hash: &str, new_hash: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn auto_save(&self, loop_path: &Path, loop_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Renamed` is never constructed [INFO] [stdout] --> src/file_watcher.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum FileChangeEvent { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Renamed(PathBuf, PathBuf), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileChangeEvent` 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: associated function `default_config` is never used [INFO] [stdout] --> src/file_watcher.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl FileWatcher { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn default_config() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `remote_url` is never read [INFO] [stdout] --> src/template_share.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct TemplateRegistry { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | remote_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateRegistry` 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 `with_remote` and `delete_template` are never used [INFO] [stdout] --> src/template_share.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl TemplateRegistry { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn with_remote(mut self, url: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn delete_template(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `homepage`, `repository`, and `dependency` are never used [INFO] [stdout] --> src/template_share.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 339 | impl TemplateMetadataBuilder { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn homepage(mut self, url: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn repository(mut self, url: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn dependency(mut self, dep: TemplateDependency) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/repl.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | self.show_help(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = self.show_help(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.62s [INFO] running `Command { std: "docker" "inspect" "301ff5e8622563d202d8b9521ba340dca01716717ff92f38bc549a2db9e6aed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301ff5e8622563d202d8b9521ba340dca01716717ff92f38bc549a2db9e6aed6", kill_on_drop: false }` [INFO] [stdout] 301ff5e8622563d202d8b9521ba340dca01716717ff92f38bc549a2db9e6aed6