[INFO] fetching crate prigen-cli 1.0.1...
[INFO] checking prigen-cli-1.0.1 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate prigen-cli 1.0.1 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate prigen-cli 1.0.1 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate prigen-cli 1.0.1
[INFO] finished tweaking crates.io crate prigen-cli 1.0.1
[INFO] tweaked toml for crates.io crate prigen-cli 1.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate crates.io crate prigen-cli 1.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" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eae9944ba4ad3ef6eee23c27cfebe520626bc132c15a08f295c1e3227fbbe4c6
[INFO] running `Command { std: "docker" "start" "-a" "eae9944ba4ad3ef6eee23c27cfebe520626bc132c15a08f295c1e3227fbbe4c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eae9944ba4ad3ef6eee23c27cfebe520626bc132c15a08f295c1e3227fbbe4c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eae9944ba4ad3ef6eee23c27cfebe520626bc132c15a08f295c1e3227fbbe4c6", kill_on_drop: false }`
[INFO] [stdout] eae9944ba4ad3ef6eee23c27cfebe520626bc132c15a08f295c1e3227fbbe4c6
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17a95383f4c09b078b5d31e99ed0a9cacad9cd709e6a89e3986faf62e4a26e49
[INFO] running `Command { std: "docker" "start" "-a" "17a95383f4c09b078b5d31e99ed0a9cacad9cd709e6a89e3986faf62e4a26e49", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling cc v1.0.104
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking tinyvec v1.7.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking rustls-pki-types v1.8.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking anstyle-query v1.1.0
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking unicode-width v0.1.13
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking clap_lex v0.7.1
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking newline-converter v0.3.0
[INFO] [stderr]     Checking rustls-pemfile v2.1.3
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking fuzzy-matcher v0.3.7
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking clap_builder v4.5.8
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking signal-hook v0.3.17
[INFO] [stderr]     Checking console v0.15.8
[INFO] [stderr]     Checking terminal-supports-emoji v0.1.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking terminal-emoji v0.4.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking indicatif v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking inquire v0.7.5
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking clap v4.5.8
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking pin-project v1.1.5
[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]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]     Checking derive_builder v0.12.0
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper v1.4.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper-util v0.1.6
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.7
[INFO] [stderr]     Checking reqwest-eventsource v0.6.0
[INFO] [stderr]     Checking prigen-cli v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::tests`
[INFO] [stdout]    --> src/openai/completions.rs:170:16
[INFO] [stdout]     |
[INFO] [stdout] 170 |     use crate::tests::DEFAULT_LEGACY_MODEL;
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                unresolved import
[INFO] [stdout]     |                help: a similar path exists: `openai::tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::tests`
[INFO] [stdout]   --> src/openai/models.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use crate::tests::DEFAULT_LEGACY_MODEL;
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `openai::tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/validator/mod.rs:49:55
[INFO] [stdout]    |
[INFO] [stdout] 49 | async fn validate_cli_version_from_server() -> Result<(ApiResponse), Box<dyn Error>> {
[INFO] [stdout]    |                                                       ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 - async fn validate_cli_version_from_server() -> Result<(ApiResponse), Box<dyn Error>> {
[INFO] [stdout] 49 + async fn validate_cli_version_from_server() -> Result<ApiResponse, Box<dyn Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/generators/java_spring_boot/mod.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if (has_graphql) {
[INFO] [stdout]     |            ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -         if (has_graphql) {
[INFO] [stdout] 113 +         if has_graphql {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::openai::set_key`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::openai::set_key;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/validator/mod.rs:49:55
[INFO] [stdout]    |
[INFO] [stdout] 49 | async fn validate_cli_version_from_server() -> Result<(ApiResponse), Box<dyn Error>> {
[INFO] [stdout]    |                                                       ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 - async fn validate_cli_version_from_server() -> Result<(ApiResponse), Box<dyn Error>> {
[INFO] [stdout] 49 + async fn validate_cli_version_from_server() -> Result<ApiResponse, Box<dyn Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/generators/java_spring_boot/mod.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if (has_graphql) {
[INFO] [stdout]     |            ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -         if (has_graphql) {
[INFO] [stdout] 113 +         if has_graphql {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `response_body` is never read
[INFO] [stdout]   --> src/validator/mod.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let mut response_body: ApiResponse = ApiResponse { valid: false, open_aitoken_is_required: Some(true) };
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `response_body` is never read
[INFO] [stdout]   --> src/validator/mod.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let mut response_body: ApiResponse = ApiResponse { valid: false, open_aitoken_is_required: Some(true) };
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read
[INFO] [stdout]   --> src/openai/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Usage {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 56 |     pub prompt_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub completion_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub total_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Usage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `openai_request_stream` is never used
[INFO] [stdout]    --> src/openai/mod.rs:103:10
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn openai_request_stream<F>(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_base_url` is never used
[INFO] [stdout]    --> src/openai/mod.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub fn set_base_url(value: String) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `finish_reason` are never read
[INFO] [stdout]   --> src/openai/chat.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct ChatCompletionChoice {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 31 |     pub index: u64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 32 |     pub finish_reason: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionChoice` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `text` is never used
[INFO] [stdout]    --> src/openai/chat.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl ChatCompletionResponseFormat {
[INFO] [stdout]     | --------------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn text() -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create` and `merge` are never used
[INFO] [stdout]    --> src/openai/chat.rs:253:18
[INFO] [stdout]     |
[INFO] [stdout] 252 | impl ChatCompletionDelta {
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout] 253 |     pub async fn create(
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn merge(
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `merge` is never used
[INFO] [stdout]    --> src/openai/chat.rs:284:12
[INFO] [stdout]     |
[INFO] [stdout] 283 | impl ChatCompletionChoiceDelta {
[INFO] [stdout]     | ------------------------------ method in this implementation
[INFO] [stdout] 284 |     pub fn merge(
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ChatCompletionDeltaMergeError` is never used
[INFO] [stdout]    --> src/openai/chat.rs:399:10
[INFO] [stdout]     |
[INFO] [stdout] 399 | pub enum ChatCompletionDeltaMergeError {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ChatCompletionDeltaMergeError` 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 `forward_deserialized_chat_response_stream` is never used
[INFO] [stdout]    --> src/openai/chat.rs:405:10
[INFO] [stdout]     |
[INFO] [stdout] 405 | async fn forward_deserialized_chat_response_stream(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create_stream` is never used
[INFO] [stdout]    --> src/openai/chat.rs:427:18
[INFO] [stdout]     |
[INFO] [stdout] 422 | impl ChatCompletionBuilder {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 427 |     pub async fn create_stream(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `created`, `model`, `choices`, and `usage` are never read
[INFO] [stdout]   --> src/openai/completions.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Completion {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 11 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 12 |     pub created: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 13 |     pub model: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 14 |     pub choices: Vec<CompletionChoice>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |     pub usage: Usage,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Completion` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `text`, `index`, `logprobs`, and `finish_reason` are never read
[INFO] [stdout]   --> src/openai/completions.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct CompletionChoice {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 20 |     pub text: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 21 |     pub index: u16,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 22 |     pub logprobs: Option<u16>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 23 |     pub finish_reason: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompletionChoice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `create` and `builder` are never used
[INFO] [stdout]    --> src/openai/completions.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl Completion {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] 150 |     /// Creates a completion for the provided prompt and parameters
[INFO] [stdout] 151 |     async fn create(request: &CompletionRequest) -> ApiResponseOrError<Self> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn builder(model: &str) -> CompletionBuilder {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create` is never used
[INFO] [stdout]    --> src/openai/completions.rs:161:18
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl CompletionBuilder {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] 161 |     pub async fn create(self) -> ApiResponseOrError<Completion> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `created`, `choices`, `usage`, and `choices_bad` are never read
[INFO] [stdout]   --> src/openai/edits.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Edit {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 9  |     pub created: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     #[serde(skip_deserializing)]
[INFO] [stdout] 11 |     pub choices: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 12 |     pub usage: Usage,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 13 |     #[serde(rename = "choices")]
[INFO] [stdout] 14 |     choices_bad: Vec<EditChoice>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Edit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `text` is never read
[INFO] [stdout]   --> src/openai/edits.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct EditChoice {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 19 |     text: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EditChoice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `create` and `builder` are never used
[INFO] [stdout]   --> src/openai/edits.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Edit {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 59 |     async fn create(request: &EditRequest) -> ApiResponseOrError<Self> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn builder(model: &str, instruction: impl Into<String>) -> EditBuilder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create` is never used
[INFO] [stdout]   --> src/openai/edits.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl EditBuilder {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 82 |     pub async fn create(self) -> ApiResponseOrError<Edit> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateEmbeddingsRequestBody` is never constructed
[INFO] [stdout]  --> src/openai/embeddings.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct CreateEmbeddingsRequestBody<'a> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `model`, and `usage` are never read
[INFO] [stdout]   --> src/openai/embeddings.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Embeddings {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 18 |     pub data: Vec<Embedding>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |     pub model: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 20 |     pub usage: EmbeddingsUsage,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Embeddings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompt_tokens` and `total_tokens` are never read
[INFO] [stdout]   --> src/openai/embeddings.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct EmbeddingsUsage {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 25 |     pub prompt_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 26 |     pub total_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EmbeddingsUsage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vec` is never read
[INFO] [stdout]   --> src/openai/embeddings.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Embedding {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 31 |     #[serde(rename = "embedding")]
[INFO] [stdout] 32 |     pub vec: Vec<f64>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Embedding` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create` and `distances` are never used
[INFO] [stdout]   --> src/openai/embeddings.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Embeddings {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub async fn create(model: &str, input: Vec<&str>, user: &str) -> ApiResponseOrError<Self> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn distances(&self) -> Vec<f64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create`, `magnitude`, and `distance` are never used
[INFO] [stdout]   --> src/openai/embeddings.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Embedding {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 74 |     pub async fn create(model: &str, input: &str, user: &str) -> ApiResponseOrError<Self> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn magnitude(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn distance(&self, other: &Self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `object`, `created`, and `owned_by` are never read
[INFO] [stdout]   --> src/openai/models.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Model {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 10 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 11 |     pub object: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 12 |     pub created: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 13 |     pub owned_by: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Model` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/openai/models.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ModelPermission {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 18 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 19 |     pub created: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 20 |     pub allow_create_engine: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub allow_sampling: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub allow_logprobs: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     pub allow_search_indices: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub allow_view: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 25 |     pub allow_fine_tuning: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     pub organization: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub group: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 28 |     pub is_blocking: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelPermission` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]   --> src/openai/models.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Model {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub async fn from(id: &str) -> ApiResponseOrError<Self> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `model`, and `results` are never read
[INFO] [stdout]   --> src/openai/moderations.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Moderation {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 9  |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 10 |     pub model: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 11 |     pub results: Vec<ModerationResult>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Moderation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `flagged`, `categories`, and `category_scores` are never read
[INFO] [stdout]   --> src/openai/moderations.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ModerationResult {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 16 |     pub flagged: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 17 |     pub categories: Categories,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 18 |     pub category_scores: CategoryScores,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModerationResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/openai/moderations.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Categories {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 23 |     pub hate: bool,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 24 |     #[serde(rename = "hate/threatening")]
[INFO] [stdout] 25 |     pub hate_threatening: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     #[serde(rename = "self-harm")]
[INFO] [stdout] 27 |     pub self_harm: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 28 |     pub sexual: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 29 |     #[serde(rename = "sexual/minors")]
[INFO] [stdout] 30 |     pub sexual_minors: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 31 |     pub violence: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |     #[serde(rename = "violence/graphic")]
[INFO] [stdout] 33 |     pub violence_graphic: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Categories` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/openai/moderations.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CategoryScores {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 38 |     pub hate: f64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 39 |     #[serde(rename = "hate/threatening")]
[INFO] [stdout] 40 |     pub hate_threatening: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     #[serde(rename = "self-harm")]
[INFO] [stdout] 42 |     pub self_harm: f64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 43 |     pub sexual: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 44 |     #[serde(rename = "sexual/minors")]
[INFO] [stdout] 45 |     pub sexual_minors: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 46 |     pub violence: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 47 |     #[serde(rename = "violence/graphic")]
[INFO] [stdout] 48 |     pub violence_graphic: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CategoryScores` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `create` and `builder` are never used
[INFO] [stdout]   --> src/openai/moderations.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Moderation {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 66 |     async fn create(request: &ModerationRequest) -> ApiResponseOrError<Self> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn builder(input: impl Into<String>) -> ModerationBuilder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create` is never used
[INFO] [stdout]   --> src/openai/moderations.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl ModerationBuilder {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 76 |     pub async fn create(self) -> ApiResponseOrError<Moderation> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `prigen-cli` (bin "prigen-cli" test) due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "17a95383f4c09b078b5d31e99ed0a9cacad9cd709e6a89e3986faf62e4a26e49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17a95383f4c09b078b5d31e99ed0a9cacad9cd709e6a89e3986faf62e4a26e49", kill_on_drop: false }`
[INFO] [stdout] 17a95383f4c09b078b5d31e99ed0a9cacad9cd709e6a89e3986faf62e4a26e49
