[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [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 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/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded anstyle-wincon v3.0.10 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.1 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded unicode-width v0.2.1 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81e6cc0dadb8974a3a35782912bbbe3d8b18c714f0564df4caf64a11a2625909 [INFO] running `Command { std: "docker" "start" "-a" "81e6cc0dadb8974a3a35782912bbbe3d8b18c714f0564df4caf64a11a2625909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81e6cc0dadb8974a3a35782912bbbe3d8b18c714f0564df4caf64a11a2625909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e6cc0dadb8974a3a35782912bbbe3d8b18c714f0564df4caf64a11a2625909", kill_on_drop: false }` [INFO] [stdout] 81e6cc0dadb8974a3a35782912bbbe3d8b18c714f0564df4caf64a11a2625909 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feee19c9f72a9fa0144fb05a29da40098d434519c0d74a7dc006c390301d6cbe [INFO] running `Command { std: "docker" "start" "-a" "feee19c9f72a9fa0144fb05a29da40098d434519c0d74a7dc006c390301d6cbe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling handlebars v4.5.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling colored v2.2.0 [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 55s [INFO] running `Command { std: "docker" "inspect" "feee19c9f72a9fa0144fb05a29da40098d434519c0d74a7dc006c390301d6cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feee19c9f72a9fa0144fb05a29da40098d434519c0d74a7dc006c390301d6cbe", kill_on_drop: false }` [INFO] [stdout] feee19c9f72a9fa0144fb05a29da40098d434519c0d74a7dc006c390301d6cbe [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35c6b44b729877daa80c290da3ea9420e7b77aeb7a724c3bd9f457108c87f0b2 [INFO] running `Command { std: "docker" "start" "-a" "35c6b44b729877daa80c290da3ea9420e7b77aeb7a724c3bd9f457108c87f0b2", 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 h2 v0.3.27 [INFO] [stderr] Compiling tokio-test v0.4.4 [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 27.40s [INFO] running `Command { std: "docker" "inspect" "35c6b44b729877daa80c290da3ea9420e7b77aeb7a724c3bd9f457108c87f0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c6b44b729877daa80c290da3ea9420e7b77aeb7a724c3bd9f457108c87f0b2", kill_on_drop: false }` [INFO] [stdout] 35c6b44b729877daa80c290da3ea9420e7b77aeb7a724c3bd9f457108c87f0b2