[INFO] cloning repository https://github.com/justrach/bhumi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justrach/bhumi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustrach%2Fbhumi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustrach%2Fbhumi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 355545d6b8ec2e35b9976ae8e2977c76fa303f1d
[INFO] checking justrach/bhumi against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustrach%2Fbhumi" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/justrach/bhumi
[INFO] finished tweaking git repo https://github.com/justrach/bhumi
[INFO] tweaked toml for git repo https://github.com/justrach/bhumi written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/justrach/bhumi on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/justrach/bhumi 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | homepage = "https://github.com/justrach/bhumi"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 | repository = "https://github.com/justrach/bhumi"
[INFO] [stderr]    |              -----------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: unused build dependency `pyo3-build-config`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | pyo3-build-config = "0.26"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `pyo3-build-config`
[INFO] [stderr] warning: `bhumi` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74
[INFO] running `Command { std: "docker" "start" "df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | homepage = "https://github.com/justrach/bhumi"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 | repository = "https://github.com/justrach/bhumi"
[INFO] [stderr]    |              -----------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: unused build dependency `pyo3-build-config`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | pyo3-build-config = "0.26"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `pyo3-build-config`
[INFO] [stderr] warning: `bhumi` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling target-lexicon v0.13.3
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.69
[INFO] [stderr]    Compiling native-tls v0.2.13
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]     Checking unindent v0.2.3
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling pyo3-build-config v0.26.0
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking uuid v1.12.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling pyo3-ffi v0.26.0
[INFO] [stderr]    Compiling pyo3-macros-backend v0.26.0
[INFO] [stderr]    Compiling pyo3 v0.26.0
[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 zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling pyo3-macros v0.26.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking bhumi v0.4.82 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `enqueued_any` is never read
[INFO] [stdout]    --> src/lib.rs:628:53
[INFO] [stdout]     |
[INFO] [stdout] 628 | ...                   enqueued_any = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response_tx`
[INFO] [stdout]    --> src/lib.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let (response_tx, response_rx) = mpsc::channel::<String>(100_000);
[INFO] [stdout]     |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream_request_rx`
[INFO] [stdout]    --> src/lib.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let stream_request_rx = Arc::new(tokio::sync::Mutex::new(stream_request_rx));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_request_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `request_id`, `request_json`, and `chunk_tx` are never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StreamRequestWithCallback {
[INFO] [stdout]    |        ------------------------- fields in this struct
[INFO] [stdout] 51 |     request_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 52 |     request_json: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 53 |     chunk_tx: mpsc::Sender<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/lib.rs:76:5
[INFO] [stdout]     |
[INFO] [stdout]  72 | struct BhumiCore {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  76 |     stream_request_sender: Arc<tokio::sync::Mutex<mpsc::Sender<StreamRequestWithCallback>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     debug: bool,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  90 |     debug_debug: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]  91 |     client: Arc<reqwest::Client>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]  92 |     stream_buffer_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  93 |     model: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  94 |     use_grounding: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     buffer_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_openai` is never used
[INFO] [stdout]    --> src/lib.rs:925:8
[INFO] [stdout]     |
[INFO] [stdout] 924 | impl LLMResponse {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 925 |     fn from_openai(response: OpenAIResponse) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retry_with_backoff` is never used
[INFO] [stdout]    --> src/lib.rs:934:10
[INFO] [stdout]     |
[INFO] [stdout] 934 | async fn retry_with_backoff<F, Fut, T, E>(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_request` is never used
[INFO] [stdout]    --> src/lib.rs:962:10
[INFO] [stdout]     |
[INFO] [stdout] 962 | async fn process_request(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_response` is never used
[INFO] [stdout]    --> src/lib.rs:992:10
[INFO] [stdout]     |
[INFO] [stdout] 992 | async fn process_response(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnthropicContent` is never constructed
[INFO] [stdout]  --> src/anthropic.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AnthropicContent {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnthropicUsage` is never constructed
[INFO] [stdout]   --> src/anthropic.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AnthropicUsage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnthropicResponse` is never constructed
[INFO] [stdout]   --> src/anthropic.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AnthropicResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_text` is never used
[INFO] [stdout]   --> src/anthropic.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl AnthropicResponse {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 35 |     // Helper method to get the text content
[INFO] [stdout] 36 |     pub fn get_text(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIRequest` is never constructed
[INFO] [stdout]  --> src/openai.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct OpenAIRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/openai.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Message {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIResponse` is never constructed
[INFO] [stdout]   --> src/openai.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct OpenAIResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Choice` is never constructed
[INFO] [stdout]   --> src/openai.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Choice {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Usage` is never constructed
[INFO] [stdout]   --> src/openai.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Usage {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenDetails` is never constructed
[INFO] [stdout]   --> src/openai.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct TokenDetails {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompletionTokenDetails` is never constructed
[INFO] [stdout]   --> src/openai.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct CompletionTokenDetails {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_text` and `from_json` are never used
[INFO] [stdout]   --> src/openai.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl OpenAIResponse {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 63 |     pub fn get_text(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn from_json(json: serde_json::Value) -> Result<Self, serde_json::Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `enqueued_any` is never read
[INFO] [stdout]    --> src/lib.rs:628:53
[INFO] [stdout]     |
[INFO] [stdout] 628 | ...                   enqueued_any = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response_tx`
[INFO] [stdout]    --> src/lib.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let (response_tx, response_rx) = mpsc::channel::<String>(100_000);
[INFO] [stdout]     |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream_request_rx`
[INFO] [stdout]    --> src/lib.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let stream_request_rx = Arc::new(tokio::sync::Mutex::new(stream_request_rx));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_request_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:705:86
[INFO] [stdout]     |
[INFO] [stdout] 705 |     fn completion(&self, model: &str, messages: &Bound<'_, PyAny>, api_key: &str) -> PyResult<LLMResponse> {
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:773:50
[INFO] [stdout]     |
[INFO] [stdout] 773 |     fn submit_with_id(&self, request: String) -> PyResult<u64> {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:803:72
[INFO] [stdout]     |
[INFO] [stdout] 803 |     fn get_response_for_id(&self, request_id: u64, timeout_ms: u64) -> PyResult<Option<String>> {
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:830:42
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn submit(&self, request: String) -> PyResult<()> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:839:31
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn get_response(&self) -> PyResult<Option<String>> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:858:26
[INFO] [stdout]     |
[INFO] [stdout] 858 |     fn is_idle(&self) -> PyResult<bool> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:906:52
[INFO] [stdout]     |
[INFO] [stdout] 906 |     fn py_extract_text(&self, response: String) -> PyResult<String> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bhumi` (lib) due to 7 previous errors; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: fields `request_id`, `request_json`, and `chunk_tx` are never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StreamRequestWithCallback {
[INFO] [stdout]    |        ------------------------- fields in this struct
[INFO] [stdout] 51 |     request_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 52 |     request_json: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 53 |     chunk_tx: mpsc::Sender<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/lib.rs:76:5
[INFO] [stdout]     |
[INFO] [stdout]  72 | struct BhumiCore {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  76 |     stream_request_sender: Arc<tokio::sync::Mutex<mpsc::Sender<StreamRequestWithCallback>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     debug: bool,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  90 |     debug_debug: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]  91 |     client: Arc<reqwest::Client>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]  92 |     stream_buffer_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  93 |     model: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  94 |     use_grounding: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     buffer_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_openai` is never used
[INFO] [stdout]    --> src/lib.rs:925:8
[INFO] [stdout]     |
[INFO] [stdout] 924 | impl LLMResponse {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 925 |     fn from_openai(response: OpenAIResponse) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retry_with_backoff` is never used
[INFO] [stdout]    --> src/lib.rs:934:10
[INFO] [stdout]     |
[INFO] [stdout] 934 | async fn retry_with_backoff<F, Fut, T, E>(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_request` is never used
[INFO] [stdout]    --> src/lib.rs:962:10
[INFO] [stdout]     |
[INFO] [stdout] 962 | async fn process_request(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_response` is never used
[INFO] [stdout]    --> src/lib.rs:992:10
[INFO] [stdout]     |
[INFO] [stdout] 992 | async fn process_response(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnthropicContent` is never constructed
[INFO] [stdout]  --> src/anthropic.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AnthropicContent {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnthropicUsage` is never constructed
[INFO] [stdout]   --> src/anthropic.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AnthropicUsage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnthropicResponse` is never constructed
[INFO] [stdout]   --> src/anthropic.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AnthropicResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_text` is never used
[INFO] [stdout]   --> src/anthropic.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl AnthropicResponse {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 35 |     // Helper method to get the text content
[INFO] [stdout] 36 |     pub fn get_text(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIRequest` is never constructed
[INFO] [stdout]  --> src/openai.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct OpenAIRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/openai.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Message {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenAIResponse` is never constructed
[INFO] [stdout]   --> src/openai.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct OpenAIResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Choice` is never constructed
[INFO] [stdout]   --> src/openai.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Choice {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Usage` is never constructed
[INFO] [stdout]   --> src/openai.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Usage {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenDetails` is never constructed
[INFO] [stdout]   --> src/openai.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct TokenDetails {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompletionTokenDetails` is never constructed
[INFO] [stdout]   --> src/openai.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct CompletionTokenDetails {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_text` and `from_json` are never used
[INFO] [stdout]   --> src/openai.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl OpenAIResponse {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 63 |     pub fn get_text(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn from_json(json: serde_json::Value) -> Result<Self, serde_json::Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:705:86
[INFO] [stdout]     |
[INFO] [stdout] 705 |     fn completion(&self, model: &str, messages: &Bound<'_, PyAny>, api_key: &str) -> PyResult<LLMResponse> {
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:773:50
[INFO] [stdout]     |
[INFO] [stdout] 773 |     fn submit_with_id(&self, request: String) -> PyResult<u64> {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:803:72
[INFO] [stdout]     |
[INFO] [stdout] 803 |     fn get_response_for_id(&self, request_id: u64, timeout_ms: u64) -> PyResult<Option<String>> {
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:830:42
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn submit(&self, request: String) -> PyResult<()> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:839:31
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn get_response(&self) -> PyResult<Option<String>> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:858:26
[INFO] [stdout]     |
[INFO] [stdout] 858 |     fn is_idle(&self) -> PyResult<bool> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/lib.rs:906:52
[INFO] [stdout]     |
[INFO] [stdout] 906 |     fn py_extract_text(&self, response: String) -> PyResult<String> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bhumi` (lib test) due to 7 previous errors; 21 warnings emitted
[INFO] [stderr] warning: unused dependency `futures`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | futures = "0.3"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `futures`
[INFO] [stderr] warning: unused dependency `uuid`
[INFO] [stderr]   --> Cargo.toml:26:15
[INFO] [stderr]    |
[INFO] [stderr] 26 | [dependencies.uuid]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `uuid`
[INFO] [stderr] warning: `bhumi` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "inspect" "df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74", kill_on_drop: false }`
[INFO] [stdout] df7350aa16b3ce6071060d3fccfa9cea6c214b745561c91c938ea526b2861c74
