[INFO] fetching crate promptbox 0.3.1... [INFO] checking promptbox-0.3.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate promptbox 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate promptbox 0.3.1 [INFO] finished tweaking crates.io crate promptbox 0.3.1 [INFO] tweaked toml for crates.io crate promptbox 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate promptbox 0.3.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate promptbox 0.3.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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a11cd2e4db475ab30c245d12840bc6283b9a44c8e987166c7c4f42318d03f6 [INFO] running `Command { std: "docker" "start" "-a" "87a11cd2e4db475ab30c245d12840bc6283b9a44c8e987166c7c4f42318d03f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a11cd2e4db475ab30c245d12840bc6283b9a44c8e987166c7c4f42318d03f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a11cd2e4db475ab30c245d12840bc6283b9a44c8e987166c7c4f42318d03f6", kill_on_drop: false }` [INFO] [stdout] 87a11cd2e4db475ab30c245d12840bc6283b9a44c8e987166c7c4f42318d03f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e75cbc990f3969089a52a967ae651284308116e181abd46d4e8646e5ba08740 [INFO] running `Command { std: "docker" "start" "-a" "2e75cbc990f3969089a52a967ae651284308116e181abd46d4e8646e5ba08740", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling error-stack v0.4.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking deunicode v1.4.2 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking winnow v0.5.17 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling monostate-impl v0.1.10 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking pest v2.7.5 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking monostate v0.1.10 [INFO] [stderr] Checking minijinja v1.0.10 [INFO] [stderr] Checking imageinfo v0.7.10 [INFO] [stderr] Checking toml_edit v0.20.7 [INFO] [stderr] Checking ureq v2.8.0 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stderr] Checking tokenizers v0.15.0 [INFO] [stderr] Checking toml v0.8.6 [INFO] [stderr] Checking promptbox v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `test-together` [INFO] [stdout] --> src/hosts/together.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(all(test, feature = "test-together"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `test-ollama` [INFO] [stdout] = help: consider adding `test-together` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-together` [INFO] [stdout] --> src/hosts/together.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(all(test, feature = "test-together"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `test-ollama` [INFO] [stdout] = help: consider adding `test-together` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `send_app_id` in initializer of `hosts::HostDefinitionInput` [INFO] [stdout] --> src/config.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | HostDefinitionInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `send_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `send_app_id` in initializer of `hosts::HostDefinitionInput` [INFO] [stdout] --> src/config.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | HostDefinitionInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `send_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `send_app_id` in initializer of `hosts::HostDefinitionInput` [INFO] [stdout] --> src/config.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | HostDefinitionInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `send_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/hosts/openai.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | fn send_completion_request(options: &ModelOptions, prompt: &str) -> Result<(), ureq::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/hosts/openai.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | fn send_completion_request(options: &ModelOptions, prompt: &str) -> Result<(), ureq::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/hosts/openai.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | fn send_completion_request(options: &ModelOptions, prompt: &str) -> Result<(), ureq::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/hosts/openai.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | fn send_completion_request(options: &ModelOptions, prompt: &str) -> Result<(), ureq::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stop` is never read [INFO] [stdout] --> src/chat_template.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ChatTemplate<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | pub template: &'a str, [INFO] [stdout] 10 | pub stop: Option<&'static [&'static str]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `done` is never read [INFO] [stdout] --> src/hosts/ollama.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct OllamaResponse { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 145 | response: String, [INFO] [stdout] 146 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modelfile` and `template` are never read [INFO] [stdout] --> src/hosts/ollama.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | struct ModelInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 152 | modelfile: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 153 | parameters: String, [INFO] [stdout] 154 | template: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/hosts/openai.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct ChatCompletionMessage { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 168 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `finish_reason` and `index` are never read [INFO] [stdout] --> src/hosts/openai.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 173 | struct ChatCompletionChoice { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 174 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 175 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `created` are never read [INFO] [stdout] --> src/hosts/openai.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | struct ChatCompletion { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 181 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 182 | choices: Vec, [INFO] [stdout] 183 | created: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_completion_request` is never used [INFO] [stdout] --> src/hosts/openai.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn send_completion_request(options: &ModelOptions, prompt: &str) -> Result<(), ureq::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/template.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct PromptTemplate { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 45 | #[serde(default)] [INFO] [stdout] 46 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PromptTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/template.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ParsedTemplate { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 62 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/chat_template.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn builtin_chat_template(name: &str) -> Option { [INFO] [stdout] | ^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn builtin_chat_template(name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/context.rs:745:24 [INFO] [stdout] | [INFO] [stdout] 745 | fn value_string(value: &serde_json::Value) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 745 | fn value_string(value: &serde_json::Value) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `promptbox` (bin "promptbox" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e75cbc990f3969089a52a967ae651284308116e181abd46d4e8646e5ba08740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e75cbc990f3969089a52a967ae651284308116e181abd46d4e8646e5ba08740", kill_on_drop: false }` [INFO] [stdout] 2e75cbc990f3969089a52a967ae651284308116e181abd46d4e8646e5ba08740