[INFO] cloning repository https://github.com/Nahianether/readme_file_generate_for_github [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nahianether/readme_file_generate_for_github" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNahianether%2Freadme_file_generate_for_github", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNahianether%2Freadme_file_generate_for_github'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cc985eeec39d5a63a7dc83c31e5d4e18ac264dc [INFO] checking Nahianether/readme_file_generate_for_github against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNahianether%2Freadme_file_generate_for_github" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nahianether/readme_file_generate_for_github [INFO] finished tweaking git repo https://github.com/Nahianether/readme_file_generate_for_github [INFO] tweaked toml for git repo https://github.com/Nahianether/readme_file_generate_for_github written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nahianether/readme_file_generate_for_github on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Nahianether/readme_file_generate_for_github 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf466da22ae2687a54d9dcd62d78c93ddac47060a1475f0f0596915202912936 [INFO] running `Command { std: "docker" "start" "-a" "cf466da22ae2687a54d9dcd62d78c93ddac47060a1475f0f0596915202912936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf466da22ae2687a54d9dcd62d78c93ddac47060a1475f0f0596915202912936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf466da22ae2687a54d9dcd62d78c93ddac47060a1475f0f0596915202912936", kill_on_drop: false }` [INFO] [stdout] cf466da22ae2687a54d9dcd62d78c93ddac47060a1475f0f0596915202912936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1b91044b9fac9ccda72c8e7eff77add3c079d8a67e363a65396b23c14d08dbd [INFO] running `Command { std: "docker" "start" "-a" "c1b91044b9fac9ccda72c8e7eff77add3c079d8a67e363a65396b23c14d08dbd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking clap_builder v4.5.43 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Checking clap v4.5.43 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking readme_file_generate_for_github v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{error, info, warn}; [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: `anyhow` [INFO] [stdout] --> src/generator.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/generator.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/generator.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{error, info, warn}; [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: `anyhow` [INFO] [stdout] --> src/generator.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/generator.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/generator.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_options` [INFO] [stdout] --> src/config.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let template_options = vec!["comprehensive", "minimal", "technical", "creative"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_options` [INFO] [stdout] --> src/config.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let template_options = vec!["comprehensive", "minimal", "technical", "creative"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GitHubApi { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | client: Client, [INFO] [stdout] 12 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> src/api.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct AnthropicApi { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 213 | client: Client, [INFO] [stdout] 214 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileContent` is never constructed [INFO] [stdout] --> src/models.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FileContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Configuration` is never constructed [INFO] [stdout] --> src/models.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum ProjectType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 147 | Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `role`, `stop_reason`, `stop_sequence`, and `usage` are never read [INFO] [stdout] --> src/models.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 163 | pub content: Vec, [INFO] [stdout] 164 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 165 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 166 | pub stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 167 | pub stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 168 | pub usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` 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: field `content_type` is never read [INFO] [stdout] --> src/models.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct AnthropicContent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 173 | #[serde(rename = "type")] [INFO] [stdout] 174 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/models.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct AnthropicUsage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 180 | pub input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 181 | pub output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repository_name`, `readme_content`, `output_path`, `error`, and `tokens_used` are never read [INFO] [stdout] --> src/models.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct GenerationResult { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 201 | pub repository_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 202 | pub success: bool, [INFO] [stdout] 203 | pub readme_content: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 204 | pub output_path: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 205 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 206 | pub tokens_used: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerationResult` 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: struct `ReadmeTemplates` is never constructed [INFO] [stdout] --> src/templates.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadmeTemplates; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_comprehensive_template`, `get_minimal_template`, `get_technical_template`, `render_template`, and `get_install_command` are never used [INFO] [stdout] --> src/templates.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ReadmeTemplates { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 8 | pub fn get_comprehensive_template() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_minimal_template() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_technical_template() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn render_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | fn get_install_command(dep_type: &crate::models::DependencyType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GitHubApi { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | client: Client, [INFO] [stdout] 12 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> src/api.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct AnthropicApi { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 213 | client: Client, [INFO] [stdout] 214 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileContent` is never constructed [INFO] [stdout] --> src/models.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FileContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Configuration` is never constructed [INFO] [stdout] --> src/models.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum ProjectType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 147 | Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `role`, `stop_reason`, `stop_sequence`, and `usage` are never read [INFO] [stdout] --> src/models.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 163 | pub content: Vec, [INFO] [stdout] 164 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 165 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 166 | pub stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 167 | pub stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 168 | pub usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` 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: field `content_type` is never read [INFO] [stdout] --> src/models.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct AnthropicContent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 173 | #[serde(rename = "type")] [INFO] [stdout] 174 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/models.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct AnthropicUsage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 180 | pub input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 181 | pub output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repository_name`, `readme_content`, `output_path`, `error`, and `tokens_used` are never read [INFO] [stdout] --> src/models.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct GenerationResult { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 201 | pub repository_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 202 | pub success: bool, [INFO] [stdout] 203 | pub readme_content: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 204 | pub output_path: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 205 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 206 | pub tokens_used: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerationResult` 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: struct `ReadmeTemplates` is never constructed [INFO] [stdout] --> src/templates.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadmeTemplates; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_comprehensive_template`, `get_minimal_template`, `get_technical_template`, `render_template`, and `get_install_command` are never used [INFO] [stdout] --> src/templates.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ReadmeTemplates { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 8 | pub fn get_comprehensive_template() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_minimal_template() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_technical_template() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn render_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | fn get_install_command(dep_type: &crate::models::DependencyType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.18s [INFO] running `Command { std: "docker" "inspect" "c1b91044b9fac9ccda72c8e7eff77add3c079d8a67e363a65396b23c14d08dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1b91044b9fac9ccda72c8e7eff77add3c079d8a67e363a65396b23c14d08dbd", kill_on_drop: false }` [INFO] [stdout] c1b91044b9fac9ccda72c8e7eff77add3c079d8a67e363a65396b23c14d08dbd