[INFO] cloning repository https://github.com/EfeDurmaz16/rustshell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EfeDurmaz16/rustshell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEfeDurmaz16%2Frustshell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEfeDurmaz16%2Frustshell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c5b094417223615da4412acee62dd7eb2425716 [INFO] building EfeDurmaz16/rustshell against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEfeDurmaz16%2Frustshell" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EfeDurmaz16/rustshell [INFO] finished tweaking git repo https://github.com/EfeDurmaz16/rustshell [INFO] tweaked toml for git repo https://github.com/EfeDurmaz16/rustshell written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EfeDurmaz16/rustshell 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/EfeDurmaz16/rustshell 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded toml_write v0.1.2 [INFO] [stderr] Downloaded allocator-api2 v0.2.21 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded clap_lex v0.7.4 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.6 [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded ucd-trie v0.1.7 [INFO] [stderr] Downloaded sha2 v0.10.9 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded rustix v0.38.44 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded rustyline-derive v0.8.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.25 [INFO] [stderr] Downloaded base64 v0.13.1 [INFO] [stderr] Downloaded lru v0.12.5 [INFO] [stderr] Downloaded str-buf v1.0.6 [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded anstyle-query v1.1.2 [INFO] [stderr] Downloaded linux-raw-sys v0.4.15 [INFO] [stderr] Downloaded anstyle-wincon v3.0.7 [INFO] [stderr] Downloaded colorchoice v1.0.3 [INFO] [stderr] Downloaded clap_builder v4.5.37 [INFO] [stderr] Downloaded hashbrown v0.12.3 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded nix v0.26.4 [INFO] [stderr] Downloaded rustyline v11.0.0 [INFO] [stderr] Downloaded anstream v0.6.18 [INFO] [stderr] Downloaded anstyle v1.0.10 [INFO] [stderr] Downloaded clap v4.5.37 [INFO] [stderr] Downloaded thiserror-impl v2.0.12 [INFO] [stderr] Downloaded thiserror v2.0.12 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded slab v0.4.10 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] [stderr] Downloaded clipboard-win v4.5.0 [INFO] [stderr] Downloaded libredox v0.1.3 [INFO] [stderr] Downloaded errno v0.3.11 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded toml_edit v0.22.27 [INFO] [stderr] Downloaded error-code v2.3.1 [INFO] [stderr] Downloaded dirs-sys-next v0.1.2 [INFO] [stderr] Downloaded hashbrown v0.15.4 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ed91410e3f507546b027c2b9365b21c73249dc7b4a917e85f296888e8958550f [INFO] running `Command { std: "docker" "start" "-a" "ed91410e3f507546b027c2b9365b21c73249dc7b4a917e85f296888e8958550f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed91410e3f507546b027c2b9365b21c73249dc7b4a917e85f296888e8958550f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed91410e3f507546b027c2b9365b21c73249dc7b4a917e85f296888e8958550f", kill_on_drop: false }` [INFO] [stdout] ed91410e3f507546b027c2b9365b21c73249dc7b4a917e85f296888e8958550f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 795dd8085772d3c2d62b298009701f9ca563fe83ebaa0f459d57b2478e31a56d [INFO] running `Command { std: "docker" "start" "-a" "795dd8085772d3c2d62b298009701f9ca563fe83ebaa0f459d57b2478e31a56d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustyline-derive v0.8.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustyline v11.0.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling config v0.13.4 [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 rustshell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `highlighter`, `hinter`, `validator`, `colored_hint`, and `config` are never read [INFO] [stdout] --> src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct RustShellHelper { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 169 | completer: FilenameCompleter, [INFO] [stdout] 170 | highlighter: MatchingBracketHighlighter, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 171 | hinter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 172 | validator: MatchingBracketValidator, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | colored_hint: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 176 | config: RustShellConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_command_match` is never used [INFO] [stdout] --> src/main.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 179 | impl RustShellHelper { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | fn find_command_match(&self, line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoint`, `timeout`, `max_tokens`, and `temperature` are never read [INFO] [stdout] --> src/llm/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LLMConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub endpoint: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub max_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub temperature: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LLMConfig` 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 `name` and `is_available` are never used [INFO] [stdout] --> src/llm/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait LLMProviderTrait: Send + Sync { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 79 | async fn generate(&self, request: &LLMRequest) -> Result; [INFO] [stdout] 80 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | fn is_available(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `is_available` are never used [INFO] [stdout] --> src/llm/client.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LLMProviderEnum { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_available`, `provider_name`, `config`, `clear_cache`, and `cache_size` are never used [INFO] [stdout] --> src/llm/client.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl LLMClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn provider_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn config(&self) -> &LLMConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub async fn clear_cache(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn cache_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandTranslation` is never constructed [INFO] [stdout] --> src/llm/prompts.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CommandTranslation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_endpoint` is never used [INFO] [stdout] --> src/llm/providers/openai.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl OpenAIProvider { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn with_endpoint(api_key: String, model: String, endpoint: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_endpoint` is never used [INFO] [stdout] --> src/llm/providers/anthropic.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl AnthropicProvider { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_endpoint(api_key: String, model: String, endpoint: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "795dd8085772d3c2d62b298009701f9ca563fe83ebaa0f459d57b2478e31a56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795dd8085772d3c2d62b298009701f9ca563fe83ebaa0f459d57b2478e31a56d", kill_on_drop: false }` [INFO] [stdout] 795dd8085772d3c2d62b298009701f9ca563fe83ebaa0f459d57b2478e31a56d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c3868a4c7a98cf77de78763df3ad0fa068aa945fbd05bd4a3ce6dda974dcd250 [INFO] running `Command { std: "docker" "start" "-a" "c3868a4c7a98cf77de78763df3ad0fa068aa945fbd05bd4a3ce6dda974dcd250", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [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 rustshell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `highlighter`, `hinter`, `validator`, `colored_hint`, and `config` are never read [INFO] [stdout] --> src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct RustShellHelper { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 169 | completer: FilenameCompleter, [INFO] [stdout] 170 | highlighter: MatchingBracketHighlighter, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 171 | hinter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 172 | validator: MatchingBracketValidator, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | colored_hint: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 176 | config: RustShellConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_command_match` is never used [INFO] [stdout] --> src/main.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 179 | impl RustShellHelper { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | fn find_command_match(&self, line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoint`, `timeout`, `max_tokens`, and `temperature` are never read [INFO] [stdout] --> src/llm/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LLMConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub endpoint: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub max_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub temperature: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LLMConfig` 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 `name` and `is_available` are never used [INFO] [stdout] --> src/llm/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait LLMProviderTrait: Send + Sync { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 79 | async fn generate(&self, request: &LLMRequest) -> Result; [INFO] [stdout] 80 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | fn is_available(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `is_available` are never used [INFO] [stdout] --> src/llm/client.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LLMProviderEnum { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_available`, `provider_name`, `config`, `clear_cache`, and `cache_size` are never used [INFO] [stdout] --> src/llm/client.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl LLMClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn provider_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn config(&self) -> &LLMConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub async fn clear_cache(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn cache_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandTranslation` is never constructed [INFO] [stdout] --> src/llm/prompts.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CommandTranslation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_endpoint` is never used [INFO] [stdout] --> src/llm/providers/openai.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl OpenAIProvider { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn with_endpoint(api_key: String, model: String, endpoint: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_endpoint` is never used [INFO] [stdout] --> src/llm/providers/anthropic.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl AnthropicProvider { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_endpoint(api_key: String, model: String, endpoint: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.61s [INFO] running `Command { std: "docker" "inspect" "c3868a4c7a98cf77de78763df3ad0fa068aa945fbd05bd4a3ce6dda974dcd250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3868a4c7a98cf77de78763df3ad0fa068aa945fbd05bd4a3ce6dda974dcd250", kill_on_drop: false }` [INFO] [stdout] c3868a4c7a98cf77de78763df3ad0fa068aa945fbd05bd4a3ce6dda974dcd250