[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] building Nahianether/readme_file_generate_for_github against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-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-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nahianether/readme_file_generate_for_github 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded dialoguer v0.10.4 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3b938c4e1f1bd8f6dafb53e6f843645524e7bce6aaa1c830645583b987902683 [INFO] running `Command { std: "docker" "start" "-a" "3b938c4e1f1bd8f6dafb53e6f843645524e7bce6aaa1c830645583b987902683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b938c4e1f1bd8f6dafb53e6f843645524e7bce6aaa1c830645583b987902683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b938c4e1f1bd8f6dafb53e6f843645524e7bce6aaa1c830645583b987902683", kill_on_drop: false }` [INFO] [stdout] 3b938c4e1f1bd8f6dafb53e6f843645524e7bce6aaa1c830645583b987902683 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5ac2be5e0dd323a6df67d049a81d719d775f5f221ad10ab56179ab5b1c28e5a5 [INFO] running `Command { std: "docker" "start" "-a" "5ac2be5e0dd323a6df67d049a81d719d775f5f221ad10ab56179ab5b1c28e5a5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling 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 futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 handlebars v4.5.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "5ac2be5e0dd323a6df67d049a81d719d775f5f221ad10ab56179ab5b1c28e5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac2be5e0dd323a6df67d049a81d719d775f5f221ad10ab56179ab5b1c28e5a5", kill_on_drop: false }` [INFO] [stdout] 5ac2be5e0dd323a6df67d049a81d719d775f5f221ad10ab56179ab5b1c28e5a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7a00fa00f6aa482090fbc93aab7f81460c46b61564c5eaeb0220df02e2061257 [INFO] running `Command { std: "docker" "start" "-a" "7a00fa00f6aa482090fbc93aab7f81460c46b61564c5eaeb0220df02e2061257", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling 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 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.17s [INFO] running `Command { std: "docker" "inspect" "7a00fa00f6aa482090fbc93aab7f81460c46b61564c5eaeb0220df02e2061257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a00fa00f6aa482090fbc93aab7f81460c46b61564c5eaeb0220df02e2061257", kill_on_drop: false }` [INFO] [stdout] 7a00fa00f6aa482090fbc93aab7f81460c46b61564c5eaeb0220df02e2061257