[INFO] fetching crate diffscope 0.5.3... [INFO] building diffscope-0.5.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate diffscope 0.5.3 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate diffscope 0.5.3 [INFO] finished tweaking crates.io crate diffscope 0.5.3 [INFO] tweaked toml for crates.io crate diffscope 0.5.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diffscope 0.5.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diffscope 0.5.3 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockito v1.7.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.8 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded hyper-util v0.1.13 [INFO] [stderr] Downloaded cc v1.2.25 [INFO] [stderr] Downloaded git2 v0.18.3 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded libgit2-sys v0.16.2+1.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc7bd7398c4ab2fd12bc404705bfa231c9617db521f593bd13eb9ffb3c47fcc [INFO] running `Command { std: "docker" "start" "-a" "6fc7bd7398c4ab2fd12bc404705bfa231c9617db521f593bd13eb9ffb3c47fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc7bd7398c4ab2fd12bc404705bfa231c9617db521f593bd13eb9ffb3c47fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc7bd7398c4ab2fd12bc404705bfa231c9617db521f593bd13eb9ffb3c47fcc", kill_on_drop: false }` [INFO] [stdout] 6fc7bd7398c4ab2fd12bc404705bfa231c9617db521f593bd13eb9ffb3c47fcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d27fd048fb49e0530e347be8ee7c87fce63860b2fa6e9f17cba863cd22c6710 [INFO] running `Command { std: "docker" "start" "-a" "1d27fd048fb49e0530e347be8ee7c87fce63860b2fa6e9f17cba863cd22c6710", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling diffscope v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/pr_summary.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [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: `PRSummary` [INFO] [stdout] --> src/core/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub use pr_summary::{PRSummaryGenerator, PRSummary}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InteractiveCommand` and `InteractiveProcessor` [INFO] [stdout] --> src/core/mod.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | pub use interactive::{InteractiveCommand, InteractiveProcessor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/core/changelog.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let date = Local::now().format("%Y-%m-%d"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visual_diff` is never read [INFO] [stdout] --> src/core/pr_summary.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct PRSummary { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 207 | pub visual_diff: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PRSummary` 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: struct `InteractiveCommand` is never constructed [INFO] [stdout] --> src/core/interactive.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct InteractiveCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandType` is never used [INFO] [stdout] --> src/core/interactive.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/interactive.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl InteractiveCommand { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn parse(comment: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn execute_review( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn execute_ignore(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | async fn execute_explain( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | async fn execute_generate(&self, adapter: &Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn get_help_text() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn get_config_info() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InteractiveProcessor` is never constructed [INFO] [stdout] --> src/core/interactive.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct InteractiveProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_ignore_pattern`, and `should_ignore` are never used [INFO] [stdout] --> src/core/interactive.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl InteractiveProcessor { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 230 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn add_ignore_pattern(&mut self, pattern: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn should_ignore(&self, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> src/core/changelog.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ChangelogEntry { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangelogEntry` 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 `model_name` is never used [INFO] [stdout] --> src/adapters/llm.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait LLMAdapter: Send + Sync { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 50 | async fn complete(&self, request: LLMRequest) -> Result; [INFO] [stdout] 51 | fn model_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `total_duration` are never read [INFO] [stdout] --> src/adapters/ollama.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct OllamaResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | context: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | total_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, `version`, `as_pre_analyzer`, and `as_post_processor` are never used [INFO] [stdout] --> src/plugins/plugin.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 10 | fn id(&self) -> &str; [INFO] [stdout] | ^^ [INFO] [stdout] 11 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | fn version(&self) -> &str; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | async fn as_pre_analyzer(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | async fn as_post_processor(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plugins` is never read [INFO] [stdout] --> src/plugins/plugin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PluginManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | plugins: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "1d27fd048fb49e0530e347be8ee7c87fce63860b2fa6e9f17cba863cd22c6710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d27fd048fb49e0530e347be8ee7c87fce63860b2fa6e9f17cba863cd22c6710", kill_on_drop: false }` [INFO] [stdout] 1d27fd048fb49e0530e347be8ee7c87fce63860b2fa6e9f17cba863cd22c6710 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a3ada77a9e65a1bdae18c76cf85dcd88cf5120fff271e2accb6b68ee1e943c5 [INFO] running `Command { std: "docker" "start" "-a" "5a3ada77a9e65a1bdae18c76cf85dcd88cf5120fff271e2accb6b68ee1e943c5", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling diffscope v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/pr_summary.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [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: `PRSummary` [INFO] [stdout] --> src/core/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub use pr_summary::{PRSummaryGenerator, PRSummary}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InteractiveCommand` and `InteractiveProcessor` [INFO] [stdout] --> src/core/mod.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | pub use interactive::{InteractiveCommand, InteractiveProcessor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/core/changelog.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let date = Local::now().format("%Y-%m-%d"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visual_diff` is never read [INFO] [stdout] --> src/core/pr_summary.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct PRSummary { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 207 | pub visual_diff: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PRSummary` 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: struct `InteractiveCommand` is never constructed [INFO] [stdout] --> src/core/interactive.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct InteractiveCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandType` is never used [INFO] [stdout] --> src/core/interactive.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/interactive.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl InteractiveCommand { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn parse(comment: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn execute_review( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn execute_ignore(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | async fn execute_explain( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | async fn execute_generate(&self, adapter: &Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn get_help_text() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn get_config_info() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InteractiveProcessor` is never constructed [INFO] [stdout] --> src/core/interactive.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct InteractiveProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_ignore_pattern`, and `should_ignore` are never used [INFO] [stdout] --> src/core/interactive.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl InteractiveProcessor { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 230 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn add_ignore_pattern(&mut self, pattern: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn should_ignore(&self, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> src/core/changelog.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ChangelogEntry { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangelogEntry` 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 `model_name` is never used [INFO] [stdout] --> src/adapters/llm.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait LLMAdapter: Send + Sync { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 50 | async fn complete(&self, request: LLMRequest) -> Result; [INFO] [stdout] 51 | fn model_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `total_duration` are never read [INFO] [stdout] --> src/adapters/ollama.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct OllamaResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | context: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | total_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, `version`, `as_pre_analyzer`, and `as_post_processor` are never used [INFO] [stdout] --> src/plugins/plugin.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 10 | fn id(&self) -> &str; [INFO] [stdout] | ^^ [INFO] [stdout] 11 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | fn version(&self) -> &str; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | async fn as_pre_analyzer(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | async fn as_post_processor(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plugins` is never read [INFO] [stdout] --> src/plugins/plugin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PluginManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | plugins: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.74s [INFO] running `Command { std: "docker" "inspect" "5a3ada77a9e65a1bdae18c76cf85dcd88cf5120fff271e2accb6b68ee1e943c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3ada77a9e65a1bdae18c76cf85dcd88cf5120fff271e2accb6b68ee1e943c5", kill_on_drop: false }` [INFO] [stdout] 5a3ada77a9e65a1bdae18c76cf85dcd88cf5120fff271e2accb6b68ee1e943c5