[INFO] fetching crate promptx 0.5.0... [INFO] testing promptx-0.5.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate promptx 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate promptx 0.5.0 [INFO] finished tweaking crates.io crate promptx 0.5.0 [INFO] tweaked toml for crates.io crate promptx 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate promptx 0.5.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate promptx 0.5.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a0f960db7faf9ccbd5487f12b9aef45486858ac7efed614effc83c09e0427f9 [INFO] running `Command { std: "docker" "start" "-a" "1a0f960db7faf9ccbd5487f12b9aef45486858ac7efed614effc83c09e0427f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a0f960db7faf9ccbd5487f12b9aef45486858ac7efed614effc83c09e0427f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a0f960db7faf9ccbd5487f12b9aef45486858ac7efed614effc83c09e0427f9", kill_on_drop: false }` [INFO] [stdout] 1a0f960db7faf9ccbd5487f12b9aef45486858ac7efed614effc83c09e0427f9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5852e2c0826395f84e8251cad91c6c393382b320cd4ff2b41b568d5d89a0c127 [INFO] running `Command { std: "docker" "start" "-a" "5852e2c0826395f84e8251cad91c6c393382b320cd4ff2b41b568d5d89a0c127", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling promptx v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LLMModel` is never constructed [INFO] [stdout] --> src/llm/base.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LLMModel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserLimits` is never constructed [INFO] [stdout] --> src/llm/base.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UserLimits { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLMQueueSchedulerLimits` is never constructed [INFO] [stdout] --> src/llm/base.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LLMQueueSchedulerLimits { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AzureAOIModels` is never constructed [INFO] [stdout] --> src/llm/base.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct AzureAOIModels { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AzureAOILM` is never constructed [INFO] [stdout] --> src/llm/base.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AzureAOILM { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomLLM` is never constructed [INFO] [stdout] --> src/llm/base.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct CustomLLM { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLMConfig` is never constructed [INFO] [stdout] --> src/llm/base.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct LLMConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssistantLLM` is never constructed [INFO] [stdout] --> src/llm/base.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct AssistantLLM { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dir` is never constructed [INFO] [stdout] --> src/llm/base.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Dir { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationMode` is never used [INFO] [stdout] --> src/llm/base.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | pub enum OperationMode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetupConfig` is never constructed [INFO] [stdout] --> src/llm/base.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct SetupConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskConfig` is never constructed [INFO] [stdout] --> src/llm/base.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct TaskConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/llm/base.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mode` is never constructed [INFO] [stdout] --> src/llm/base.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PromptLibraryConfig` is never constructed [INFO] [stdout] --> src/llm/base.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct PromptLibraryConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DirNames` is never constructed [INFO] [stdout] --> src/llm/constants.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DirNames {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `MODEL_DIR` and `PACKAGE_BASE_DIR` are never used [INFO] [stdout] --> src/llm/constants.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 4 | impl DirNames { [INFO] [stdout] | ------------- associated constants in this implementation [INFO] [stdout] 5 | pub const MODEL_DIR: &'static str = "/tmp/model"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub const PACKAGE_BASE_DIR: &'static str = "/tmp/packages"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileConstants` is never constructed [INFO] [stdout] --> src/llm/constants.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileConstants {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `LOGFILE_NAME` and `LOGFILE_PREFIX` are never used [INFO] [stdout] --> src/llm/constants.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileConstants { [INFO] [stdout] | ------------------ associated constants in this implementation [INFO] [stdout] 13 | pub const LOGFILE_NAME: &'static str = "glue_logs.log"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub const LOGFILE_PREFIX: &'static str = "glue_logs_"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLMOutputTypes` is never constructed [INFO] [stdout] --> src/llm/constants.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LLMOutputTypes {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `COMPLETION`, `CHAT`, `EMBEDDINGS`, and `MULTI_MODAL` are never used [INFO] [stdout] --> src/llm/constants.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 20 | impl LLMOutputTypes { [INFO] [stdout] | ------------------- associated constants in this implementation [INFO] [stdout] 21 | pub const COMPLETION: &'static str = "completion"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub const CHAT: &'static str = "chat"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub const EMBEDDINGS: &'static str = "embeddings"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub const MULTI_MODAL: &'static str = "multimodal"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlueError` is never constructed [INFO] [stdout] --> src/llm/exceptions.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GlueError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/llm/exceptions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GlueError { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(msg: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlueLLMError` is never constructed [INFO] [stdout] --> src/llm/exceptions.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct GlueLLMError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/llm/exceptions.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl GlueLLMError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub fn new(msg: &str, exception: impl fmt::Display) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlueValidationError` is never constructed [INFO] [stdout] --> src/llm/exceptions.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct GlueValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/llm/exceptions.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl GlueValidationError { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 72 | pub fn new(msg: &str, exception: impl fmt::Display) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `client` are never read [INFO] [stdout] --> src/llm/llm.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LLM { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 8 | pub config: ConfigData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LLM` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/llm/llm.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `chat_completion`, `call_openai_api`, and `list_model_type` are never used [INFO] [stdout] --> src/llm/llm.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl LLM { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn chat_completion( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn call_openai_api( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn list_model_type(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelError` is never used [INFO] [stdout] --> src/llm/llm.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum ModelError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Download` is never constructed [INFO] [stdout] --> src/llm/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Download {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `download_model` is never used [INFO] [stdout] --> src/llm/utils.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl Download { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 30 | pub async fn download_model(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileUtils` is never constructed [INFO] [stdout] --> src/llm/utils.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct FileUtils {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/llm/utils.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl FileUtils { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 83 | pub fn yaml_to_dict>(file_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn yaml_to_class( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read_jsonl>(file_path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn read_jsonl_row>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn append_as_jsonl(file_path: P, args_to_log: &T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn save_jsonlist(file_path: P, json_list: &[T], append: bool) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn str_list_to_dir_path>(str_list: &[S]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logger` is never constructed [INFO] [stdout] --> src/llm/utils.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Logger {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_logger` is never used [INFO] [stdout] --> src/llm/utils.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 219 | pub fn set_logger( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constants` is never constructed [INFO] [stdout] --> src/logger/constants.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Constants {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/logger/constants.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 4 | impl Constants { [INFO] [stdout] | -------------- associated constants in this implementation [INFO] [stdout] 5 | pub const INPUTS: &'static str = "inputs"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub const OUTPUTS: &'static str = "outputs"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub const META: &'static str = "meta"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub const ID: &'static str = "id"; [INFO] [stdout] | ^^ [INFO] [stdout] 9 | pub const TIMESTAMP: &'static str = "timestamp"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub const EXEC_SEC: &'static str = "execution_time_sec"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub const EVAL_RESULT: &'static str = "eval_result"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub const METHOD_NAME: &'static str = "method_name"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub const DIR_NAME: &'static str = "io_logs"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileUtils` is never constructed [INFO] [stdout] --> src/logger/file_utils.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FileUtils {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read_jsonl`, `read_jsonl_row`, `append_as_jsonl`, `save_jsonlist`, and `str_list_to_dir_path` are never used [INFO] [stdout] --> src/logger/file_utils.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl FileUtils { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 10 | pub fn read_jsonl>(file_path: P) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn read_jsonl_row>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn append_as_jsonl>(file_path: P, args_to_log: &Value) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn save_jsonlist>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn str_list_to_dir_path(str_list: &[&str]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_path`, `sample_unq_id`, `chained_log`, and `del_self_arg` are never read [INFO] [stdout] --> src/logger/logger.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Logger { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | pub base_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub sample_unq_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub chained_log: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub del_self_arg: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Logger` 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 methods are never used [INFO] [stdout] --> src/logger/logger.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Logger { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn reset_eval_glue>(&mut self, base_path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn clear_chained_log(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn dump_chained_log_to_file(&mut self, file_name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn append_dict_to_chained_logs(&mut self, args_to_log: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn append_to_chained_log(&mut self, method_name: &str, method: F) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn log_io_params( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn log_io_params_for_method(&mut self, method_name: &str, method: F) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn run_over_logs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Utils` is never constructed [INFO] [stdout] --> src/logger/utils.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Utils {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodArgs` is never constructed [INFO] [stdout] --> src/logger/utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MethodArgs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodResult` is never constructed [INFO] [stdout] --> src/logger/utils.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MethodResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodMeta` is never constructed [INFO] [stdout] --> src/logger/utils.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MethodMeta { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run_method_get_io_dict` is never used [INFO] [stdout] --> src/logger/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Utils { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn run_method_get_io_dict( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToInputs` is never used [INFO] [stdout] --> src/logger/utils.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait ToInputs { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "5852e2c0826395f84e8251cad91c6c393382b320cd4ff2b41b568d5d89a0c127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5852e2c0826395f84e8251cad91c6c393382b320cd4ff2b41b568d5d89a0c127", kill_on_drop: false }` [INFO] [stdout] 5852e2c0826395f84e8251cad91c6c393382b320cd4ff2b41b568d5d89a0c127 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f624569eb181f71808b97b09fb003fb12e64cf70a07f8d1f69f1d77b3aa940fe [INFO] running `Command { std: "docker" "start" "-a" "f624569eb181f71808b97b09fb003fb12e64cf70a07f8d1f69f1d77b3aa940fe", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling wiremock v0.6.2 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling promptx v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LLMQueueSchedulerLimits` is never constructed [INFO] [stdout] --> src/llm/base.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LLMQueueSchedulerLimits { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AzureAOILM` is never constructed [INFO] [stdout] --> src/llm/base.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AzureAOILM { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomLLM` is never constructed [INFO] [stdout] --> src/llm/base.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct CustomLLM { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLMConfig` is never constructed [INFO] [stdout] --> src/llm/base.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct LLMConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssistantLLM` is never constructed [INFO] [stdout] --> src/llm/base.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct AssistantLLM { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dir` is never constructed [INFO] [stdout] --> src/llm/base.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Dir { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetupConfig` is never constructed [INFO] [stdout] --> src/llm/base.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct SetupConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelError` is never used [INFO] [stdout] --> src/llm/llm.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum ModelError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 51.44s [INFO] running `Command { std: "docker" "inspect" "f624569eb181f71808b97b09fb003fb12e64cf70a07f8d1f69f1d77b3aa940fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f624569eb181f71808b97b09fb003fb12e64cf70a07f8d1f69f1d77b3aa940fe", kill_on_drop: false }` [INFO] [stdout] f624569eb181f71808b97b09fb003fb12e64cf70a07f8d1f69f1d77b3aa940fe [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c06efec3489f7faafc022625efee7b036e25e7656b4a5ba9c01f812d1a374521 [INFO] running `Command { std: "docker" "start" "-a" "c06efec3489f7faafc022625efee7b036e25e7656b4a5ba9c01f812d1a374521", kill_on_drop: false }` [INFO] [stderr] warning: struct `LLMQueueSchedulerLimits` is never constructed [INFO] [stdout] [INFO] [stderr] --> src/llm/base.rs:33:12 [INFO] [stdout] running 53 tests [INFO] [stderr] | [INFO] [stdout] test arg::arg_test::test_argument ... ok [INFO] [stderr] 33 | pub struct LLMQueueSchedulerLimits { [INFO] [stdout] test config::config_test::test_version ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test llm::base_test::test_azure_aoi_models ... ok [INFO] [stderr] | [INFO] [stdout] test llm::base_test::test_operation_mode_serialization ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] test llm::base_test::test_user_limits ... ok [INFO] [stderr] [INFO] [stdout] test config::config_test::test_config ... ok [INFO] [stderr] warning: struct `AzureAOILM` is never constructed [INFO] [stdout] test llm::constants_test::test_llmoutputtypes ... ok [INFO] [stderr] --> src/llm/base.rs:59:12 [INFO] [stdout] test llm::constants_test::test_dirnames ... ok [INFO] [stderr] | [INFO] [stdout] test llm::constants_test::test_fileconstants ... ok [INFO] [stderr] 59 | pub struct AzureAOILM { [INFO] [stdout] test llm::exceptions_test::test_error_conversions ... ok [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stdout] test llm::base_test::test_prompt_library_config ... ok [INFO] [stderr] [INFO] [stdout] test llm::exceptions_test::test_glue_llm_error ... ok [INFO] [stderr] warning: struct `CustomLLM` is never constructed [INFO] [stdout] test llm::exceptions_test::test_error_debug_format ... ok [INFO] [stderr] --> src/llm/base.rs:74:12 [INFO] [stdout] test llm::exceptions_test::test_glue_error ... ok [INFO] [stderr] | [INFO] [stdout] test llm::exceptions_test::test_glue_validation_error ... ok [INFO] [stderr] 74 | pub struct CustomLLM { [INFO] [stdout] test llm::utils_test::test_str_list_to_dir_path ... ok [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] test llm::utils_test::test_append_as_jsonl ... ok [INFO] [stderr] [INFO] [stdout] test llm::utils_test::test_read_jsonl ... ok [INFO] [stderr] warning: struct `LLMConfig` is never constructed [INFO] [stdout] test llm::utils_test::test_download_model_invalid_url ... ok [INFO] [stderr] --> src/llm/base.rs:88:12 [INFO] [stdout] test llm::utils_test::test_download_model_file_exists ... ok [INFO] [stderr] | [INFO] [stdout] test logger::file_utils_test::test_error_handling ... ok [INFO] [stderr] 88 | pub struct LLMConfig { [INFO] [stdout] test llm::utils_test::test_yaml_to_class ... ok [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AssistantLLM` is never constructed [INFO] [stderr] --> src/llm/base.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct AssistantLLM { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Dir` is never constructed [INFO] [stderr] --> src/llm/base.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 113 | pub struct Dir { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SetupConfig` is never constructed [INFO] [stderr] --> src/llm/base.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct SetupConfig { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ModelError` is never used [INFO] [stderr] --> src/llm/llm.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | pub enum ModelError { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `promptx` (bin "promptx" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/promptx-3d65eb3ec19a631e) [INFO] [stdout] test llm::utils_test::test_yaml_to_dict ... ok [INFO] [stdout] test logger::constants_test::test_constants ... ok [INFO] [stdout] test logger::file_utils_test::test_append_as_jsonl ... ok [INFO] [stdout] test logger::file_utils_test::test_read_jsonl ... ok [INFO] [stdout] test llm::utils_test::test_read_jsonl_row ... ok [INFO] [stdout] test logger::file_utils_test::test_save_jsonlist ... ok [INFO] [stdout] test logger::file_utils_test::test_str_list_to_dir_path ... ok [INFO] [stdout] test logger::logger_test::test_append_dict_to_chained_logs ... ok [INFO] [stdout] test logger::logger_test::test_clear_chained_log ... ok [INFO] [stdout] test logger::logger_test::test_append_to_chained_log ... ok [INFO] [stdout] test logger::logger_test::test_dump_chained_log_to_file ... ok [INFO] [stdout] test logger::logger_test::test_reset_eval_glue ... ok [INFO] [stdout] test llm::base_test::test_task_config_defaults ... ok [INFO] [stdout] test logger::utils_test::test_method_args_empty ... ok [INFO] [stdout] test logger::utils_test::test_method_args_null_values ... ok [INFO] [stdout] test logger::utils_test::test_method_args_to_inputs ... ok [INFO] [stdout] test logger::logger_test::test_log_io_params ... ok [INFO] [stdout] test llm::utils_test::test_save_jsonlist ... ok [INFO] [stdout] test logger::file_utils_test::test_read_jsonl_row ... ok [INFO] [stdout] test logger::utils_test::test_run_method_get_io_dict ... ok [INFO] [stdout] test llm::utils_test::test_logger ... ok [INFO] [stdout] test logger::logger_test::test_run_over_logs ... ok [INFO] [stdout] test llm::base_test::test_llm_model_serialization ... ok [INFO] [stdout] test llm::utils_test::test_download_model_success ... ok [INFO] [stdout] test llm::utils_test::test_download_model_failure ... ok [INFO] [stdout] test llm::llm_test::test_chat_completion_unsupported_llm ... ok [INFO] [stdout] test llm::llm_test::test_list_model_type ... ok [INFO] [stdout] test logger::logger_test::test_new_logger ... ok [INFO] [stdout] test logger::logger_test::test_log_io_params_for_method ... ok [INFO] [stdout] test llm::llm_test::test_chat_completion_success ... FAILED [INFO] [stdout] test llm::llm_test::test_call_openai_api_success ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- llm::llm_test::test_chat_completion_success stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'llm::llm_test::test_chat_completion_success' (42) panicked at src/llm/llm_test.rs:21:5: [INFO] [stdout] assertion failed: result.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x615ca6057872 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x615ca6057872 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x615ca6057872 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x615ca6057872 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x615ca60698ff - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x615ca60698ff - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x615ca601f221 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x615ca601f221 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x615ca602e4c2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x615ca60340df - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x615ca6033f71 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x615ca57461ae - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x615ca57461ae - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x615ca603484f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x615ca603484f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x615ca60345c6 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x615ca602e609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x615ca60125cd - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x615ca6074660 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x615ca607463c - core::panicking::panic::h9eb31005fec5715e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:148:5 [INFO] [stdout] 20: 0x615ca56e2825 - promptx::llm::llm_test::test_chat_completion_success::{{closure}}::h86c30a0eac6dab91 [INFO] [stdout] at /opt/rustwide/workdir/src/llm/llm_test.rs:21:5 [INFO] [stdout] 21: 0x615ca5703232 - as core::future::future::Future>::poll::heaf5ec48d1d71dc7 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x615ca570318d - as core::future::future::Future>::poll::had9ab97097654d7b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x615ca571b97d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h827d17ba6ceac0cc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 24: 0x615ca571b71b - tokio::runtime::coop::with_budget::hfe28651eed3ce8ef [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x615ca571b71b - tokio::runtime::coop::budget::hd2ceb5e82b8b7590 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x615ca571b71b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h53334064be012eec [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 27: 0x615ca5718a00 - tokio::runtime::scheduler::current_thread::Context::enter::h2bfb7d44216ee6d6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 28: 0x615ca571a340 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h62f66739a7cfe8a2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 29: 0x615ca571a004 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hbb7ede9d13306c74 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 30: 0x615ca56ea9db - tokio::runtime::context::scoped::Scoped::set::heff06f4ff6e75869 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x615ca56ea589 - tokio::runtime::context::set_scheduler::{{closure}}::h3eaa07c3bc6bdc80 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:38 [INFO] [stdout] 32: 0x615ca570f482 - std::thread::local::LocalKey::try_with::hd97af0cfb029fd1e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 33: 0x615ca570e70e - std::thread::local::LocalKey::with::hd35f8e288a93118b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 34: 0x615ca56ea4fd - tokio::runtime::context::set_scheduler::h498fbfb6f085c4f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:17 [INFO] [stdout] 35: 0x615ca5719d90 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hb3f7738c6c928bf1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 36: 0x615ca571a083 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h8268be3c3c5b4278 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 37: 0x615ca57182f3 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hc23d97e12a08e285 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 38: 0x615ca56b68e0 - tokio::runtime::context::runtime::enter_runtime::hfdfe168a388a5e3f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x615ca5717d41 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::he8b8470cd0844346 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 40: 0x615ca56adf44 - tokio::runtime::runtime::Runtime::block_on_inner::he473289748a79b70 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 41: 0x615ca56ae107 - tokio::runtime::runtime::Runtime::block_on::h5467055510a0834a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 42: 0x615ca56e1f35 - promptx::llm::llm_test::test_chat_completion_success::h0c697cce9dfa83a5 [INFO] [stdout] at /opt/rustwide/workdir/src/llm/llm_test.rs:21:28 [INFO] [stdout] 43: 0x615ca56e1fd7 - promptx::llm::llm_test::test_chat_completion_success::{{closure}}::h0f1b3d18d5e0fa40 [INFO] [stdout] at /opt/rustwide/workdir/src/llm/llm_test.rs:5:40 [INFO] [stdout] 44: 0x615ca569c746 - core::ops::function::FnOnce::call_once::h5c21fe15804db63a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x615ca5745f8b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x615ca5745f8b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 47: 0x615ca575bbb5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 48: 0x615ca575bbb5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 49: 0x615ca575bbb5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 50: 0x615ca575bbb5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 51: 0x615ca575bbb5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x615ca575bbb5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 53: 0x615ca575bbb5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 54: 0x615ca57323c4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 55: 0x615ca57323c4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 56: 0x615ca5735d6a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x615ca5735d6a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 58: 0x615ca5735d6a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 59: 0x615ca5735d6a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 60: 0x615ca5735d6a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x615ca5735d6a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x615ca5735d6a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x615ca602973f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 64: 0x615ca602973f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 65: 0x7e303b02faa4 - [INFO] [stdout] 66: 0x7e303b0bca34 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- llm::llm_test::test_call_openai_api_success stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'llm::llm_test::test_call_openai_api_success' (41) panicked at src/llm/llm_test.rs:56:5: [INFO] [stdout] assertion failed: result.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x615ca6057872 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x615ca6057872 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x615ca6057872 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x615ca6057872 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x615ca60698ff - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x615ca60698ff - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x615ca601f221 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x615ca601f221 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x615ca602e4c2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x615ca60340df - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x615ca6033f71 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x615ca57461ae - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x615ca57461ae - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x615ca603484f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x615ca603484f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x615ca60345c6 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x615ca602e609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x615ca60125cd - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x615ca6074660 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x615ca607463c - core::panicking::panic::h9eb31005fec5715e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:148:5 [INFO] [stdout] 20: 0x615ca56e1d59 - promptx::llm::llm_test::test_call_openai_api_success::{{closure}}::h269715cd6bc43524 [INFO] [stdout] at /opt/rustwide/workdir/src/llm/llm_test.rs:56:5 [INFO] [stdout] 21: 0x615ca5703232 - as core::future::future::Future>::poll::heaf5ec48d1d71dc7 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x615ca570318d - as core::future::future::Future>::poll::had9ab97097654d7b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x615ca571b97d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h827d17ba6ceac0cc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 24: 0x615ca571b71b - tokio::runtime::coop::with_budget::hfe28651eed3ce8ef [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x615ca571b71b - tokio::runtime::coop::budget::hd2ceb5e82b8b7590 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x615ca571b71b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h53334064be012eec [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 27: 0x615ca5718a00 - tokio::runtime::scheduler::current_thread::Context::enter::h2bfb7d44216ee6d6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 28: 0x615ca571a340 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h62f66739a7cfe8a2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 29: 0x615ca571a004 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hbb7ede9d13306c74 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 30: 0x615ca56ea9db - tokio::runtime::context::scoped::Scoped::set::heff06f4ff6e75869 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x615ca56ea589 - tokio::runtime::context::set_scheduler::{{closure}}::h3eaa07c3bc6bdc80 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:38 [INFO] [stdout] 32: 0x615ca570f482 - std::thread::local::LocalKey::try_with::hd97af0cfb029fd1e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 33: 0x615ca570e70e - std::thread::local::LocalKey::with::hd35f8e288a93118b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 34: 0x615ca56ea4fd - tokio::runtime::context::set_scheduler::h498fbfb6f085c4f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:17 [INFO] [stdout] 35: 0x615ca5719d90 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hb3f7738c6c928bf1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 36: 0x615ca571a083 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h8268be3c3c5b4278 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 37: 0x615ca57182f3 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hc23d97e12a08e285 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 38: 0x615ca56b68e0 - tokio::runtime::context::runtime::enter_runtime::hfdfe168a388a5e3f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x615ca5717d41 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::he8b8470cd0844346 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 40: 0x615ca56adf44 - tokio::runtime::runtime::Runtime::block_on_inner::he473289748a79b70 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 41: 0x615ca56ae107 - tokio::runtime::runtime::Runtime::block_on::h5467055510a0834a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 42: 0x615ca56e1515 - promptx::llm::llm_test::test_call_openai_api_success::h7bd90d0c974cc7cc [INFO] [stdout] at /opt/rustwide/workdir/src/llm/llm_test.rs:56:28 [INFO] [stdout] 43: 0x615ca56e1dd7 - promptx::llm::llm_test::test_call_openai_api_success::{{closure}}::h7b2c8da61001a496 [INFO] [stdout] at /opt/rustwide/workdir/src/llm/llm_test.rs:40:40 [INFO] [stdout] 44: 0x615ca569d106 - core::ops::function::FnOnce::call_once::hc483a19f59dba956 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x615ca5745f8b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x615ca5745f8b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 47: 0x615ca575bbb5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 48: 0x615ca575bbb5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 49: 0x615ca575bbb5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 50: 0x615ca575bbb5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 51: 0x615ca575bbb5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x615ca575bbb5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 53: 0x615ca575bbb5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 54: 0x615ca57323c4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 55: 0x615ca57323c4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 56: 0x615ca5735d6a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x615ca5735d6a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 58: 0x615ca5735d6a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 59: 0x615ca5735d6a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 60: 0x615ca5735d6a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x615ca5735d6a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x615ca5735d6a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x615ca602973f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 64: 0x615ca602973f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 65: 0x7e303b02faa4 - [INFO] [stdout] 66: 0x7e303b0bca34 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] llm::llm_test::test_call_openai_api_success [INFO] [stdout] llm::llm_test::test_chat_completion_success [INFO] [stdout] [INFO] [stdout] test result: FAILED. 51 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin promptx` [INFO] running `Command { std: "docker" "inspect" "c06efec3489f7faafc022625efee7b036e25e7656b4a5ba9c01f812d1a374521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c06efec3489f7faafc022625efee7b036e25e7656b4a5ba9c01f812d1a374521", kill_on_drop: false }` [INFO] [stdout] c06efec3489f7faafc022625efee7b036e25e7656b4a5ba9c01f812d1a374521