[INFO] cloning repository https://github.com/dimfeld/movableprompt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dimfeld/movableprompt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimfeld%2Fmovableprompt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimfeld%2Fmovableprompt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d791d5d19f49b10f8d160e35abaa1aa6c39de86e [INFO] checking dimfeld/movableprompt against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimfeld%2Fmovableprompt" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dimfeld/movableprompt on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dimfeld/movableprompt [INFO] finished tweaking git repo https://github.com/dimfeld/movableprompt [INFO] tweaked toml for git repo https://github.com/dimfeld/movableprompt written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dimfeld/movableprompt 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded monostate v0.1.10 [INFO] [stderr] Downloaded monostate-impl v0.1.10 [INFO] [stderr] Downloaded imageinfo v0.7.10 [INFO] [stderr] Downloaded error-stack v0.4.1 [INFO] [stderr] Downloaded minijinja v1.0.10 [INFO] [stderr] Downloaded tokenizers v0.15.0 [INFO] [stderr] Downloaded chrono-tz v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d92487d9395689693b139806824fb83a122965b703574fa3bb13371f2bb3c587 [INFO] running `Command { std: "docker" "start" "-a" "d92487d9395689693b139806824fb83a122965b703574fa3bb13371f2bb3c587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d92487d9395689693b139806824fb83a122965b703574fa3bb13371f2bb3c587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d92487d9395689693b139806824fb83a122965b703574fa3bb13371f2bb3c587", kill_on_drop: false }` [INFO] [stdout] d92487d9395689693b139806824fb83a122965b703574fa3bb13371f2bb3c587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4999f5aad76a14bb17859115f92f85310924ab1a62e9519022752547c95b43ad [INFO] running `Command { std: "docker" "start" "-a" "4999f5aad76a14bb17859115f92f85310924ab1a62e9519022752547c95b43ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking untrusted v0.9.0 [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 ident_case v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling error-stack v0.4.1 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking nom v7.1.3 [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 indexmap v2.0.2 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking deunicode v1.4.2 [INFO] [stderr] Checking winnow v0.5.17 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [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 globset v0.4.14 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [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] Checking futures-sink v0.3.29 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking etcetera v0.8.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling chrono-tz v0.8.4 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking globwalk v0.8.1 [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 clap_derive v4.4.7 [INFO] [stderr] Compiling monostate-impl v0.1.10 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking onig v6.4.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 monostate v0.1.10 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking imageinfo v0.7.10 [INFO] [stderr] Checking minijinja v1.0.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] 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" "4999f5aad76a14bb17859115f92f85310924ab1a62e9519022752547c95b43ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4999f5aad76a14bb17859115f92f85310924ab1a62e9519022752547c95b43ad", kill_on_drop: false }` [INFO] [stdout] 4999f5aad76a14bb17859115f92f85310924ab1a62e9519022752547c95b43ad