[INFO] fetching crate chatatui 0.0.1... [INFO] checking chatatui-0.0.1 against try#1463461488056994d1b84e8b752e7c11c7fae7aa for pr-154205 [INFO] extracting crate chatatui 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate chatatui 0.0.1 [INFO] finished tweaking crates.io crate chatatui 0.0.1 [INFO] tweaked toml for crates.io crate chatatui 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate chatatui 0.0.1 on toolchain 1463461488056994d1b84e8b752e7c11c7fae7aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate chatatui 0.0.1 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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 996044d9bfe2f7dba2233d90c50243ebbc2bbf69876781df36d40c2f6f91845a [INFO] running `Command { std: "docker" "start" "-a" "996044d9bfe2f7dba2233d90c50243ebbc2bbf69876781df36d40c2f6f91845a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996044d9bfe2f7dba2233d90c50243ebbc2bbf69876781df36d40c2f6f91845a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996044d9bfe2f7dba2233d90c50243ebbc2bbf69876781df36d40c2f6f91845a", kill_on_drop: false }` [INFO] [stdout] 996044d9bfe2f7dba2233d90c50243ebbc2bbf69876781df36d40c2f6f91845a [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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a835ad2bc8817b3e3ae6756d0ea3fed921fe3a2bfa676e8062d5f7745704cb85 [INFO] running `Command { std: "docker" "start" "-a" "a835ad2bc8817b3e3ae6756d0ea3fed921fe3a2bfa676e8062d5f7745704cb85", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking inventory v0.3.20 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tools_macros v0.1.1 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tools_core v0.1.1 [INFO] [stderr] Checking tools-rs v0.1.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking chatatui v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":0,"named":0,"cap":2,"ucap":2,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"chatatui","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: variants `Flash1_5` and `Flash2` are never constructed [INFO] [stdout] --> src/models/gemini.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum GeminiModel { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 37 | Flash1_5, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | Flash2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeminiModel` has a derived impl for the trait `Clone`, but this is 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: methods `history` and `api_key` are never used [INFO] [stdout] --> src/models/gemini.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> GeminiBuilder<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn history( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn api_key(&mut self, api_key: String) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 54 | history: &'a History, [INFO] [stdout] 55 | ) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | ) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn api_key(&mut self, api_key: String) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn api_key(&mut self, api_key: String) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn tools(&mut self, tools: &'a ToolCollection) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn tools(&mut self, tools: &'a ToolCollection) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn model(&mut self, model: GeminiModel) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn model(&mut self, model: GeminiModel) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn build(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Flash1_5` and `Flash2` are never constructed [INFO] [stdout] --> src/models/gemini.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum GeminiModel { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 37 | Flash1_5, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | Flash2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeminiModel` has a derived impl for the trait `Clone`, but this is 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: methods `history` and `api_key` are never used [INFO] [stdout] --> src/models/gemini.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> GeminiBuilder<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn history( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn api_key(&mut self, api_key: String) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 54 | history: &'a History, [INFO] [stdout] 55 | ) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | ) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn api_key(&mut self, api_key: String) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn api_key(&mut self, api_key: String) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn tools(&mut self, tools: &'a ToolCollection) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn tools(&mut self, tools: &'a ToolCollection) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn model(&mut self, model: GeminiModel) -> &'a mut GeminiBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn model(&mut self, model: GeminiModel) -> &'a mut GeminiBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/gemini.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn build(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.75s [INFO] running `Command { std: "docker" "inspect" "a835ad2bc8817b3e3ae6756d0ea3fed921fe3a2bfa676e8062d5f7745704cb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a835ad2bc8817b3e3ae6756d0ea3fed921fe3a2bfa676e8062d5f7745704cb85", kill_on_drop: false }` [INFO] [stdout] a835ad2bc8817b3e3ae6756d0ea3fed921fe3a2bfa676e8062d5f7745704cb85