[INFO] cloning repository https://github.com/ychenfen/devflow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ychenfen/devflow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fychenfen%2Fdevflow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fychenfen%2Fdevflow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d9ff1b5fb2071b2e87f329c8f67f71cb32a060d [INFO] building ychenfen/devflow against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fychenfen%2Fdevflow" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ychenfen/devflow [INFO] finished tweaking git repo https://github.com/ychenfen/devflow [INFO] tweaked toml for git repo https://github.com/ychenfen/devflow written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ychenfen/devflow on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ychenfen/devflow 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded deunicode v1.6.2 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7426790a892bc8a21a2de5f8fe4b0b007ad687eacd135822243d9899d94ffc8b [INFO] running `Command { std: "docker" "start" "-a" "7426790a892bc8a21a2de5f8fe4b0b007ad687eacd135822243d9899d94ffc8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7426790a892bc8a21a2de5f8fe4b0b007ad687eacd135822243d9899d94ffc8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7426790a892bc8a21a2de5f8fe4b0b007ad687eacd135822243d9899d94ffc8b", kill_on_drop: false }` [INFO] [stdout] 7426790a892bc8a21a2de5f8fe4b0b007ad687eacd135822243d9899d94ffc8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e544f60f3940e6c9108b65fe0b9c1a387980feeab07343f16d5497745cd86df [INFO] running `Command { std: "docker" "start" "-a" "5e544f60f3940e6c9108b65fe0b9c1a387980feeab07343f16d5497745cd86df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling devflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::file_utils` [INFO] [stdout] --> src/cli/commands/init.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::file_utils; [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: `reqwest::Client` [INFO] [stdout] --> src/ai/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/ai/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/ai/openai.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/openai.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedFile` [INFO] [stdout] --> src/ai/openai.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{AIProvider, AIResponse, GeneratedFile, create_system_prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/ai/claude.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/claude.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedFile` [INFO] [stdout] --> src/ai/claude.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{AIProvider, AIResponse, GeneratedFile, create_system_prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/ai/ollama.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/ollama.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedFile` [INFO] [stdout] --> src/ai/ollama.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{AIProvider, AIResponse, GeneratedFile, create_system_prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/generators/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generators/code.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/generators/code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedCode` [INFO] [stdout] --> src/generators/mod.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub use code::{CodeGenerator, GeneratedCode}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AIResponse` and `AIService` [INFO] [stdout] --> src/generators/mod.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::ai::{AIService, AIResponse, GeneratedFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TemplateManager` and `Template` [INFO] [stdout] --> src/generators/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::templates::{Template, TemplateManager}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::file_utils` [INFO] [stdout] --> src/generators/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::utils::file_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/utils/file_utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/generators/code.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_project` is never used [INFO] [stdout] --> src/ai/mod.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait AIProvider { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | async fn analyze_project(&self, project_path: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config` and `analyze_project` are never used [INFO] [stdout] --> src/ai/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl AIService { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn with_config(config: AIConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn analyze_project(&self, project_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_project` is never used [INFO] [stdout] --> src/ai/ollama.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 114 | impl OllamaProvider { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | async fn analyze_project(&self, project_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Generator` is never used [INFO] [stdout] --> src/generators/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Generator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_variable` and `get_variable` are never used [INFO] [stdout] --> src/generators/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl GenerationContext { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_variable(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_variable(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suggestions` is never read [INFO] [stdout] --> src/generators/code.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GeneratedCode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub suggestions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratedCode` 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 `framework` is never read [INFO] [stdout] --> src/generators/setup.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SetupGenerator { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 9 | project_type: String, [INFO] [stdout] 10 | framework: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_file`, `save_to_file`, `add_custom_requirement`, `get_custom_requirement`, and `validate` are never used [INFO] [stdout] --> src/config/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProjectConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn save_to_file>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add_custom_requirement(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_custom_requirement(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DevFlowConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct DevFlowConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AIConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct AIConfig { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct TemplateConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `save` are never used [INFO] [stdout] --> src/config/mod.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl DevFlowConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 174 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn save(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_directory_exists` is never used [INFO] [stdout] --> src/utils/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ensure_directory_exists>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_project_name` is never used [INFO] [stdout] --> src/utils/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_valid_project_name(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_project_name` is never used [INFO] [stdout] --> src/utils/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sanitize_project_name(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_directory` is never used [INFO] [stdout] --> src/utils/file_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn copy_directory, Q: AsRef>(src: P, dest: Q) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_files_with_extension` is never used [INFO] [stdout] --> src/utils/file_utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_files_with_extension>(dir: P, extension: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_to_string` is never used [INFO] [stdout] --> src/utils/file_utils.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_file_to_string>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_string_to_file` is never used [INFO] [stdout] --> src/utils/file_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write_string_to_file>(path: P, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_size` is never used [INFO] [stdout] --> src/utils/file_utils.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_file_size>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_text_file` is never used [INFO] [stdout] --> src/utils/file_utils.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn is_text_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_relative_path` is never used [INFO] [stdout] --> src/utils/file_utils.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_relative_path, Q: AsRef>(path: P, base: Q) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_path` is never used [INFO] [stdout] --> src/utils/file_utils.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn normalize_path>(path: P) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 50s [INFO] running `Command { std: "docker" "inspect" "5e544f60f3940e6c9108b65fe0b9c1a387980feeab07343f16d5497745cd86df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e544f60f3940e6c9108b65fe0b9c1a387980feeab07343f16d5497745cd86df", kill_on_drop: false }` [INFO] [stdout] 5e544f60f3940e6c9108b65fe0b9c1a387980feeab07343f16d5497745cd86df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4b963043438269130302c6a37f41cc4735059892171ffaeae315bf368edb8d9 [INFO] running `Command { std: "docker" "start" "-a" "f4b963043438269130302c6a37f41cc4735059892171ffaeae315bf368edb8d9", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling devflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::file_utils` [INFO] [stdout] --> src/cli/commands/init.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::file_utils; [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: `reqwest::Client` [INFO] [stdout] --> src/ai/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/ai/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/ai/openai.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/openai.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedFile` [INFO] [stdout] --> src/ai/openai.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{AIProvider, AIResponse, GeneratedFile, create_system_prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/ai/claude.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/claude.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedFile` [INFO] [stdout] --> src/ai/claude.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{AIProvider, AIResponse, GeneratedFile, create_system_prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/ai/ollama.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/ai/ollama.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedFile` [INFO] [stdout] --> src/ai/ollama.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{AIProvider, AIResponse, GeneratedFile, create_system_prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/generators/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generators/code.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/generators/code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratedCode` [INFO] [stdout] --> src/generators/mod.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub use code::{CodeGenerator, GeneratedCode}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AIResponse` and `AIService` [INFO] [stdout] --> src/generators/mod.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::ai::{AIService, AIResponse, GeneratedFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TemplateManager` and `Template` [INFO] [stdout] --> src/generators/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::templates::{Template, TemplateManager}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::file_utils` [INFO] [stdout] --> src/generators/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::utils::file_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/utils/file_utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/generators/code.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_project` is never used [INFO] [stdout] --> src/ai/mod.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait AIProvider { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | async fn analyze_project(&self, project_path: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config` and `analyze_project` are never used [INFO] [stdout] --> src/ai/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl AIService { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn with_config(config: AIConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn analyze_project(&self, project_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_project` is never used [INFO] [stdout] --> src/ai/ollama.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 114 | impl OllamaProvider { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | async fn analyze_project(&self, project_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Generator` is never used [INFO] [stdout] --> src/generators/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Generator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_variable` and `get_variable` are never used [INFO] [stdout] --> src/generators/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl GenerationContext { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_variable(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_variable(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suggestions` is never read [INFO] [stdout] --> src/generators/code.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GeneratedCode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub suggestions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratedCode` 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 `framework` is never read [INFO] [stdout] --> src/generators/setup.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SetupGenerator { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 9 | project_type: String, [INFO] [stdout] 10 | framework: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_file`, `save_to_file`, `add_custom_requirement`, `get_custom_requirement`, and `validate` are never used [INFO] [stdout] --> src/config/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProjectConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn save_to_file>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add_custom_requirement(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_custom_requirement(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DevFlowConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct DevFlowConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AIConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct AIConfig { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct TemplateConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `save` are never used [INFO] [stdout] --> src/config/mod.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl DevFlowConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 174 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn save(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_directory_exists` is never used [INFO] [stdout] --> src/utils/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ensure_directory_exists>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_files_with_extension` is never used [INFO] [stdout] --> src/utils/file_utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_files_with_extension>(dir: P, extension: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_to_string` is never used [INFO] [stdout] --> src/utils/file_utils.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_file_to_string>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_string_to_file` is never used [INFO] [stdout] --> src/utils/file_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write_string_to_file>(path: P, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_size` is never used [INFO] [stdout] --> src/utils/file_utils.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_file_size>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_relative_path` is never used [INFO] [stdout] --> src/utils/file_utils.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_relative_path, Q: AsRef>(path: P, base: Q) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.45s [INFO] running `Command { std: "docker" "inspect" "f4b963043438269130302c6a37f41cc4735059892171ffaeae315bf368edb8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b963043438269130302c6a37f41cc4735059892171ffaeae315bf368edb8d9", kill_on_drop: false }` [INFO] [stdout] f4b963043438269130302c6a37f41cc4735059892171ffaeae315bf368edb8d9