[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] a72db31df5e1904031f828cfc65979a502be8b42 [INFO] testing justrach/bhumi against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustrach%2Fbhumi" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/justrach/bhumi on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04176019906e59831c347e0d91482e16b4c1f2ce1f28e79eb0a23382d047a4f [INFO] running `Command { std: "docker" "start" "-a" "f04176019906e59831c347e0d91482e16b4c1f2ce1f28e79eb0a23382d047a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04176019906e59831c347e0d91482e16b4c1f2ce1f28e79eb0a23382d047a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04176019906e59831c347e0d91482e16b4c1f2ce1f28e79eb0a23382d047a4f", kill_on_drop: false }` [INFO] [stdout] f04176019906e59831c347e0d91482e16b4c1f2ce1f28e79eb0a23382d047a4f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9da38ed2b37b6b1f581fb6cb9036168a93c596efa9c3fdc7725f45987ded387e [INFO] running `Command { std: "docker" "start" "-a" "9da38ed2b37b6b1f581fb6cb9036168a93c596efa9c3fdc7725f45987ded387e", 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 once_cell v1.20.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [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 futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [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 v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling bhumi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lib.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let mut buffer: Vec = Vec::with_capacity(32768); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `enqueued_any` is never read [INFO] [stdout] --> src/lib.rs:578:53 [INFO] [stdout] | [INFO] [stdout] 578 | ... 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | let mut buffer: Vec = Vec::with_capacity(32768); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct BhumiCore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | debug_debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | stream_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | use_grounding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_openai` is never used [INFO] [stdout] --> src/lib.rs:788:8 [INFO] [stdout] | [INFO] [stdout] 787 | impl LLMResponse { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 788 | 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:797:10 [INFO] [stdout] | [INFO] [stdout] 797 | async fn retry_with_backoff( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_request` is never used [INFO] [stdout] --> src/lib.rs:825:10 [INFO] [stdout] | [INFO] [stdout] 825 | async fn process_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_response` is never used [INFO] [stdout] --> src/lib.rs:855:10 [INFO] [stdout] | [INFO] [stdout] 855 | 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 71 | impl BhumiCore { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `BhumiCore` is not local [INFO] [stdout] | `BhumiCore` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.97s [INFO] running `Command { std: "docker" "inspect" "9da38ed2b37b6b1f581fb6cb9036168a93c596efa9c3fdc7725f45987ded387e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da38ed2b37b6b1f581fb6cb9036168a93c596efa9c3fdc7725f45987ded387e", kill_on_drop: false }` [INFO] [stdout] 9da38ed2b37b6b1f581fb6cb9036168a93c596efa9c3fdc7725f45987ded387e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f4f9add49978401f4ac4ee06d5f8d673f8927054163c9797732572ae963ae6a [INFO] running `Command { std: "docker" "start" "-a" "4f4f9add49978401f4ac4ee06d5f8d673f8927054163c9797732572ae963ae6a", kill_on_drop: false }` [INFO] [stderr] Compiling bhumi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lib.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let mut buffer: Vec = Vec::with_capacity(32768); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `enqueued_any` is never read [INFO] [stdout] --> src/lib.rs:578:53 [INFO] [stdout] | [INFO] [stdout] 578 | ... 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | let mut buffer: Vec = Vec::with_capacity(32768); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct BhumiCore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | debug_debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | stream_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | use_grounding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_openai` is never used [INFO] [stdout] --> src/lib.rs:788:8 [INFO] [stdout] | [INFO] [stdout] 787 | impl LLMResponse { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 788 | 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:797:10 [INFO] [stdout] | [INFO] [stdout] 797 | async fn retry_with_backoff( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_request` is never used [INFO] [stdout] --> src/lib.rs:825:10 [INFO] [stdout] | [INFO] [stdout] 825 | async fn process_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_response` is never used [INFO] [stdout] --> src/lib.rs:855:10 [INFO] [stdout] | [INFO] [stdout] 855 | 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 71 | impl BhumiCore { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `BhumiCore` is not local [INFO] [stdout] | `BhumiCore` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "4f4f9add49978401f4ac4ee06d5f8d673f8927054163c9797732572ae963ae6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4f9add49978401f4ac4ee06d5f8d673f8927054163c9797732572ae963ae6a", kill_on_drop: false }` [INFO] [stdout] 4f4f9add49978401f4ac4ee06d5f8d673f8927054163c9797732572ae963ae6a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30ac5df03c5cfdfa412f70f23e4f2b4ee4cfc3180c23c84e408974e42daa8a11 [INFO] running `Command { std: "docker" "start" "-a" "30ac5df03c5cfdfa412f70f23e4f2b4ee4cfc3180c23c84e408974e42daa8a11", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `buffer` [INFO] [stderr] --> src/lib.rs:169:25 [INFO] [stderr] | [INFO] [stderr] 169 | let mut buffer: Vec = Vec::with_capacity(32768); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `enqueued_any` is never read [INFO] [stderr] --> src/lib.rs:578:53 [INFO] [stderr] | [INFO] [stderr] 578 | ... enqueued_any = true; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | let mut buffer: Vec = Vec::with_capacity(32768); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 50 | struct BhumiCore { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 57 | debug: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 58 | debug_debug: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 59 | client: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 60 | stream_buffer_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 61 | model: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 62 | use_grounding: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | buffer_size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_openai` is never used [INFO] [stderr] --> src/lib.rs:788:8 [INFO] [stderr] | [INFO] [stderr] 787 | impl LLMResponse { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 788 | fn from_openai(response: OpenAIResponse) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `retry_with_backoff` is never used [INFO] [stderr] --> src/lib.rs:797:10 [INFO] [stderr] | [INFO] [stderr] 797 | async fn retry_with_backoff( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `process_request` is never used [INFO] [stderr] --> src/lib.rs:825:10 [INFO] [stderr] | [INFO] [stderr] 825 | async fn process_request( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `process_response` is never used [INFO] [stderr] --> src/lib.rs:855:10 [INFO] [stderr] | [INFO] [stderr] 855 | async fn process_response( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AnthropicContent` is never constructed [INFO] [stderr] --> src/anthropic.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct AnthropicContent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AnthropicUsage` is never constructed [INFO] [stderr] --> src/anthropic.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct AnthropicUsage { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AnthropicResponse` is never constructed [INFO] [stderr] --> src/anthropic.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct AnthropicResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_text` is never used [INFO] [stderr] --> src/anthropic.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl AnthropicResponse { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 35 | // Helper method to get the text content [INFO] [stderr] 36 | pub fn get_text(&self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OpenAIRequest` is never constructed [INFO] [stderr] --> src/openai.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct OpenAIRequest { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Message` is never constructed [INFO] [stderr] --> src/openai.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Message { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OpenAIResponse` is never constructed [INFO] [stderr] --> src/openai.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct OpenAIResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Choice` is never constructed [INFO] [stderr] --> src/openai.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Choice { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Usage` is never constructed [INFO] [stderr] --> src/openai.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Usage { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TokenDetails` is never constructed [INFO] [stderr] --> src/openai.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct TokenDetails { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CompletionTokenDetails` is never constructed [INFO] [stderr] --> src/openai.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct CompletionTokenDetails { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `get_text` and `from_json` are never used [INFO] [stderr] --> src/openai.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl OpenAIResponse { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 63 | pub fn get_text(&self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn from_json(json: serde_json::Value) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 71 | impl BhumiCore { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | `BhumiCore` is not local [INFO] [stderr] | `BhumiCore` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bhumi` (lib test) generated 21 warnings (run `cargo fix --lib -p bhumi --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bhumi-0bfcb4301c83dbe7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30ac5df03c5cfdfa412f70f23e4f2b4ee4cfc3180c23c84e408974e42daa8a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ac5df03c5cfdfa412f70f23e4f2b4ee4cfc3180c23c84e408974e42daa8a11", kill_on_drop: false }` [INFO] [stdout] 30ac5df03c5cfdfa412f70f23e4f2b4ee4cfc3180c23c84e408974e42daa8a11