[INFO] cloning repository https://github.com/coldmon91/prompt_reviewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coldmon91/prompt_reviewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoldmon91%2Fprompt_reviewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoldmon91%2Fprompt_reviewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d40d4b7472b94539e79aa910775a9ce7d959b7d [INFO] testing coldmon91/prompt_reviewer against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoldmon91%2Fprompt_reviewer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coldmon91/prompt_reviewer [INFO] finished tweaking git repo https://github.com/coldmon91/prompt_reviewer [INFO] tweaked toml for git repo https://github.com/coldmon91/prompt_reviewer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coldmon91/prompt_reviewer on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coldmon91/prompt_reviewer 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56947a879b43862450804360fd635fa721a0ff3528d463ba6fdf1c7f4aac033d [INFO] running `Command { std: "docker" "start" "-a" "56947a879b43862450804360fd635fa721a0ff3528d463ba6fdf1c7f4aac033d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56947a879b43862450804360fd635fa721a0ff3528d463ba6fdf1c7f4aac033d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56947a879b43862450804360fd635fa721a0ff3528d463ba6fdf1c7f4aac033d", kill_on_drop: false }` [INFO] [stdout] 56947a879b43862450804360fd635fa721a0ff3528d463ba6fdf1c7f4aac033d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb39f88cf2b0878dea17a8203b3b6d241df7544e385a961df7c34a6284450d8f [INFO] running `Command { std: "docker" "start" "-a" "fb39f88cf2b0878dea17a8203b3b6d241df7544e385a961df7c34a6284450d8f", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling compression-codecs v0.4.36 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling console v0.16.2 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dialoguer v0.12.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling mediatype v0.19.20 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling scraper v0.22.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling feed-rs v2.3.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.37 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling prompt_reviewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `source_id`, `content_hash`, and `scraped_at` are never read [INFO] [stdout] --> src/db/content.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ScrapedContent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | pub id: String, [INFO] [stdout] 9 | pub source_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub content_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub scraped_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScrapedContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count` is never used [INFO] [stdout] --> src/db/content.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn count(pool: &SqlitePool) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Category` is never constructed [INFO] [stdout] --> src/db/knowledge.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Category { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `details`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/db/knowledge.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BestPractice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub details: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BestPractice` 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: function `list_categories` is never used [INFO] [stdout] --> src/db/knowledge.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn list_categories(pool: &SqlitePool) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_all` is never used [INFO] [stdout] --> src/db/knowledge.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn list_all(pool: &SqlitePool) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedSource` is never constructed [INFO] [stdout] --> src/error.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum ScrapeError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | UnsupportedSource(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScrapeError` 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 `usage` is never read [INFO] [stdout] --> src/llm/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LlmResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | pub content: String, [INFO] [stdout] 22 | pub usage: TokenUsage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LlmResponse` 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/llm/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TokenUsage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | pub input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenUsage` 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: constant `CONSOLIDATE_THEMES_SYSTEM` is never used [INFO] [stdout] --> src/llm/prompt_templates.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const CONSOLIDATE_THEMES_SYSTEM: &str = r#"You are analyzing a collection of best practices for AI-assisted coding that were ext... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "fb39f88cf2b0878dea17a8203b3b6d241df7544e385a961df7c34a6284450d8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb39f88cf2b0878dea17a8203b3b6d241df7544e385a961df7c34a6284450d8f", kill_on_drop: false }` [INFO] [stdout] fb39f88cf2b0878dea17a8203b3b6d241df7544e385a961df7c34a6284450d8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9307ff72c4e10fe7964c391fe32348f3b18996bb886eadc41d52b1fb7c224cf [INFO] running `Command { std: "docker" "start" "-a" "a9307ff72c4e10fe7964c391fe32348f3b18996bb886eadc41d52b1fb7c224cf", kill_on_drop: false }` [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 normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling prompt_reviewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `source_id`, `content_hash`, and `scraped_at` are never read [INFO] [stdout] --> src/db/content.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ScrapedContent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | pub id: String, [INFO] [stdout] 9 | pub source_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub content_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub scraped_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScrapedContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count` is never used [INFO] [stdout] --> src/db/content.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn count(pool: &SqlitePool) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Category` is never constructed [INFO] [stdout] --> src/db/knowledge.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Category { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `details`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/db/knowledge.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BestPractice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub details: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BestPractice` 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: function `list_categories` is never used [INFO] [stdout] --> src/db/knowledge.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn list_categories(pool: &SqlitePool) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_all` is never used [INFO] [stdout] --> src/db/knowledge.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn list_all(pool: &SqlitePool) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedSource` is never constructed [INFO] [stdout] --> src/error.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum ScrapeError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | UnsupportedSource(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScrapeError` 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 `usage` is never read [INFO] [stdout] --> src/llm/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LlmResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | pub content: String, [INFO] [stdout] 22 | pub usage: TokenUsage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LlmResponse` 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/llm/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TokenUsage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | pub input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenUsage` 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: constant `CONSOLIDATE_THEMES_SYSTEM` is never used [INFO] [stdout] --> src/llm/prompt_templates.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const CONSOLIDATE_THEMES_SYSTEM: &str = r#"You are analyzing a collection of best practices for AI-assisted coding that were ext... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.46s [INFO] running `Command { std: "docker" "inspect" "a9307ff72c4e10fe7964c391fe32348f3b18996bb886eadc41d52b1fb7c224cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9307ff72c4e10fe7964c391fe32348f3b18996bb886eadc41d52b1fb7c224cf", kill_on_drop: false }` [INFO] [stdout] a9307ff72c4e10fe7964c391fe32348f3b18996bb886eadc41d52b1fb7c224cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5356ba22165ed4ffbe2f62a2e9b88bd4498f61b2ed10894bb78870b7ed2dc9b4 [INFO] running `Command { std: "docker" "start" "-a" "5356ba22165ed4ffbe2f62a2e9b88bd4498f61b2ed10894bb78870b7ed2dc9b4", kill_on_drop: false }` [INFO] [stderr] warning: fields `source_id`, `content_hash`, and `scraped_at` are never read [INFO] [stderr] --> src/db/content.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ScrapedContent { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 8 | pub id: String, [INFO] [stderr] 9 | pub source_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | pub content_hash: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | pub scraped_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScrapedContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `count` is never used [INFO] [stderr] --> src/db/content.rs:100:14 [INFO] [stderr] | [INFO] [stderr] 100 | pub async fn count(pool: &SqlitePool) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Category` is never constructed [INFO] [stderr] --> src/db/knowledge.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Category { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `details`, `created_at`, and `updated_at` are never read [INFO] [stderr] --> src/db/knowledge.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct BestPractice { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | pub details: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub created_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 23 | pub updated_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BestPractice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `list_categories` is never used [INFO] [stderr] --> src/db/knowledge.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn list_categories(pool: &SqlitePool) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_all` is never used [INFO] [stderr] --> src/db/knowledge.rs:139:14 [INFO] [stderr] | [INFO] [stderr] 139 | pub async fn list_all(pool: &SqlitePool) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `UnsupportedSource` is never constructed [INFO] [stderr] --> src/error.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 61 | pub enum ScrapeError { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 69 | UnsupportedSource(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScrapeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `usage` is never read [INFO] [stderr] --> src/llm/mod.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct LlmResponse { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 21 | pub content: String, [INFO] [stderr] 22 | pub usage: TokenUsage, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LlmResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stderr] --> src/llm/mod.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct TokenUsage { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 27 | pub input_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 28 | pub output_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `CONSOLIDATE_THEMES_SYSTEM` is never used [INFO] [stderr] --> src/llm/prompt_templates.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | pub const CONSOLIDATE_THEMES_SYSTEM: &str = r#"You are analyzing a collection of best practices for AI-assisted coding that were ext... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `prompt_reviewer` (bin "prompt_reviewer" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/prompt_reviewer-a294cb73706b5a05) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5356ba22165ed4ffbe2f62a2e9b88bd4498f61b2ed10894bb78870b7ed2dc9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5356ba22165ed4ffbe2f62a2e9b88bd4498f61b2ed10894bb78870b7ed2dc9b4", kill_on_drop: false }` [INFO] [stdout] 5356ba22165ed4ffbe2f62a2e9b88bd4498f61b2ed10894bb78870b7ed2dc9b4