[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fychenfen%2Fdevflow" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ychenfen/devflow 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 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.41 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded git2 v0.18.3 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded clap_builder v4.5.41 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fa77a3ad4aa586660e2265bdcef7fa9006a98aa4a9fb7e08f3941c516de84e2a [INFO] running `Command { std: "docker" "start" "-a" "fa77a3ad4aa586660e2265bdcef7fa9006a98aa4a9fb7e08f3941c516de84e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa77a3ad4aa586660e2265bdcef7fa9006a98aa4a9fb7e08f3941c516de84e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa77a3ad4aa586660e2265bdcef7fa9006a98aa4a9fb7e08f3941c516de84e2a", kill_on_drop: false }` [INFO] [stdout] fa77a3ad4aa586660e2265bdcef7fa9006a98aa4a9fb7e08f3941c516de84e2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 043c84c67536521c39cf7de48897e78dd0ae01040cf5643d99c6d6f9b03163b6 [INFO] running `Command { std: "docker" "start" "-a" "043c84c67536521c39cf7de48897e78dd0ae01040cf5643d99c6d6f9b03163b6", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.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 libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [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 1m 32s [INFO] running `Command { std: "docker" "inspect" "043c84c67536521c39cf7de48897e78dd0ae01040cf5643d99c6d6f9b03163b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043c84c67536521c39cf7de48897e78dd0ae01040cf5643d99c6d6f9b03163b6", kill_on_drop: false }` [INFO] [stdout] 043c84c67536521c39cf7de48897e78dd0ae01040cf5643d99c6d6f9b03163b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7e2fa8cf924dc5e5c76c2dabb5f35c79d89f50e8ccb189a1fe785bf1ba4672ab [INFO] running `Command { std: "docker" "start" "-a" "7e2fa8cf924dc5e5c76c2dabb5f35c79d89f50e8ccb189a1fe785bf1ba4672ab", 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 termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [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 10.33s [INFO] running `Command { std: "docker" "inspect" "7e2fa8cf924dc5e5c76c2dabb5f35c79d89f50e8ccb189a1fe785bf1ba4672ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e2fa8cf924dc5e5c76c2dabb5f35c79d89f50e8ccb189a1fe785bf1ba4672ab", kill_on_drop: false }` [INFO] [stdout] 7e2fa8cf924dc5e5c76c2dabb5f35c79d89f50e8ccb189a1fe785bf1ba4672ab