[INFO] cloning repository https://github.com/ayourtch/llm-templated-coding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayourtch/llm-templated-coding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fllm-templated-coding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fllm-templated-coding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a4a9ad23f2b12fdd32c682e36c53bcea329039e [INFO] building ayourtch/llm-templated-coding against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fllm-templated-coding" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ayourtch/llm-templated-coding [INFO] finished tweaking git repo https://github.com/ayourtch/llm-templated-coding [INFO] tweaked toml for git repo https://github.com/ayourtch/llm-templated-coding written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ayourtch/llm-templated-coding 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/ayourtch/llm-templated-coding 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 libredox v0.1.6 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded rustls v0.23.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 85f5610447ccdc2f31a25a4ca5f9a48314c62c7103edc46a56df0997b753232d [INFO] running `Command { std: "docker" "start" "-a" "85f5610447ccdc2f31a25a4ca5f9a48314c62c7103edc46a56df0997b753232d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85f5610447ccdc2f31a25a4ca5f9a48314c62c7103edc46a56df0997b753232d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85f5610447ccdc2f31a25a4ca5f9a48314c62c7103edc46a56df0997b753232d", kill_on_drop: false }` [INFO] [stdout] 85f5610447ccdc2f31a25a4ca5f9a48314c62c7103edc46a56df0997b753232d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8c7494881680bcdbf15297b81fdb21cdd7ad80e94bec288d194ee87d32643331 [INFO] running `Command { std: "docker" "start" "-a" "8c7494881680bcdbf15297b81fdb21cdd7ad80e94bec288d194ee87d32643331", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling gemini2-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `File`, `OpenOptions`, `Read`, `Write`, and `self` [INFO] [stdout] --> src/bin/llm-ollama-qwen.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | fs::{self, File, OpenOptions}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/check.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-3.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [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: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [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: `ffi::OsString` [INFO] [stdout] --> src/bin/frename.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ffi::OsString, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess` is never used [INFO] [stdout] --> src/bin/lib/preprocess.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn preprocess(file_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_with_depth` is never used [INFO] [stdout] --> src/bin/lib/preprocess.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn preprocess_with_depth(file_name: &str, depth: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `client` are never read [INFO] [stdout] --> src/bin/lib/ollama.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 29 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaClient` 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: methods `generate` and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Groq` is never constructed [INFO] [stdout] --> src/bin/lib/groq.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Groq { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `evaluate` are never used [INFO] [stdout] --> src/bin/lib/groq.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Groq { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn evaluate(&self, prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess` is never used [INFO] [stdout] --> src/bin/lib/preprocess.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn preprocess(file_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_with_depth` is never used [INFO] [stdout] --> src/bin/lib/preprocess.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn preprocess_with_depth(file_name: &str, depth: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess` is never used [INFO] [stdout] --> src/bin/lib/preprocess.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn preprocess(file_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_with_depth` is never used [INFO] [stdout] --> src/bin/lib/preprocess.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn preprocess_with_depth(file_name: &str, depth: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-4.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/llm-groq-4.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [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: `Stdio` [INFO] [stdout] --> src/bin/llm-groq-4.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/bin/next-llm.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | process::{Command, Stdio}, [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 imports: `File`, `Read`, `Write`, and `self` [INFO] [stdout] --> src/bin/rev-llm-groq.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | io::{self, Read, Write}, [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: `self` [INFO] [stdout] --> src/bin/llm-claude.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [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: `Write` [INFO] [stdout] --> src/bin/llm-claude.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since_epoch` [INFO] [stdout] --> src/bin/llm-claude.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let since_epoch = now.duration_since(SystemTime::UNIX_EPOCH)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_since_epoch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-5.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "8c7494881680bcdbf15297b81fdb21cdd7ad80e94bec288d194ee87d32643331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7494881680bcdbf15297b81fdb21cdd7ad80e94bec288d194ee87d32643331", kill_on_drop: false }` [INFO] [stdout] 8c7494881680bcdbf15297b81fdb21cdd7ad80e94bec288d194ee87d32643331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7d7d128fc8724c4f4263a4b0e99575c47b994be670d2ddfc89585904816fdf30 [INFO] running `Command { std: "docker" "start" "-a" "7d7d128fc8724c4f4263a4b0e99575c47b994be670d2ddfc89585904816fdf30", kill_on_drop: false }` [INFO] [stderr] Compiling gemini2-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/bin/next-llm.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | process::{Command, Stdio}, [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: `ffi::OsString` [INFO] [stdout] --> src/bin/frename.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ffi::OsString, [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 imports: `File`, `Read`, `Write`, and `self` [INFO] [stdout] --> src/bin/rev-llm-groq.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-4.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/llm-groq-4.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [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: `Stdio` [INFO] [stdout] --> src/bin/llm-groq-4.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/bin/lib/preprocess.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/check.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [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 imports: `File`, `OpenOptions`, `Read`, `Write`, and `self` [INFO] [stdout] --> src/bin/llm-ollama-qwen.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | fs::{self, File, OpenOptions}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | io::{self, Read, Write}, [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: `File` [INFO] [stdout] --> src/bin/lib/preprocess.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [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: `File` [INFO] [stdout] --> src/bin/lib/preprocess.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-5.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [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: `File` [INFO] [stdout] --> src/bin/lib/preprocess.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `client` are never read [INFO] [stdout] --> src/bin/lib/ollama.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 29 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaClient` 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: methods `generate` and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Groq` is never constructed [INFO] [stdout] --> src/bin/lib/groq.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Groq { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `evaluate` are never used [INFO] [stdout] --> src/bin/lib/groq.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Groq { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn evaluate(&self, prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/llm-claude.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [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: `Write` [INFO] [stdout] --> src/bin/llm-claude.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since_epoch` [INFO] [stdout] --> src/bin/llm-claude.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let since_epoch = now.duration_since(SystemTime::UNIX_EPOCH)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_since_epoch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin/llm-groq-3.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/lib/preprocess.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [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: `File` [INFO] [stdout] --> src/bin/lib/preprocess.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelsResponse` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ModelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/bin/lib/ollama.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `list_models` are never used [INFO] [stdout] --> src/bin/lib/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(base_url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate(&self, model: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_models(&self) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "7d7d128fc8724c4f4263a4b0e99575c47b994be670d2ddfc89585904816fdf30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7d128fc8724c4f4263a4b0e99575c47b994be670d2ddfc89585904816fdf30", kill_on_drop: false }` [INFO] [stdout] 7d7d128fc8724c4f4263a4b0e99575c47b994be670d2ddfc89585904816fdf30