[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] 4b6317ced0160501b516e496bfb8048c4c12979e [INFO] checking justrach/bhumi against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustrach%2Fbhumi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justrach/bhumi on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4fd76a468b5b71cf411263a8b2979587da68e316cb2431b2afec57e940c3b73 [INFO] running `Command { std: "docker" "start" "-a" "d4fd76a468b5b71cf411263a8b2979587da68e316cb2431b2afec57e940c3b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4fd76a468b5b71cf411263a8b2979587da68e316cb2431b2afec57e940c3b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fd76a468b5b71cf411263a8b2979587da68e316cb2431b2afec57e940c3b73", kill_on_drop: false }` [INFO] [stdout] d4fd76a468b5b71cf411263a8b2979587da68e316cb2431b2afec57e940c3b73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6fb414df96751b247a14e9f33288994fe59d124156fa9cf8eef6629175e69a [INFO] running `Command { std: "docker" "start" "-a" "cc6fb414df96751b247a14e9f33288994fe59d124156fa9cf8eef6629175e69a", 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 autocfg v1.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking 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 cc v1.2.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking uuid v1.12.1 [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] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [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 futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [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.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lib.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lib.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debug`, `client`, `stream_buffer_size`, `model`, `use_grounding`, and `buffer_size` 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 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | stream_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | use_grounding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_openai` is never used [INFO] [stdout] --> src/lib.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 499 | impl LLMResponse { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 500 | 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:509:10 [INFO] [stdout] | [INFO] [stdout] 509 | 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:537:10 [INFO] [stdout] | [INFO] [stdout] 537 | async fn process_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_response` is never used [INFO] [stdout] --> src/lib.rs:567:10 [INFO] [stdout] | [INFO] [stdout] 567 | async fn process_response( [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] = note: `OpenAIRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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] 70 | 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] [stdout] warning: fields `debug`, `client`, `stream_buffer_size`, `model`, `use_grounding`, and `buffer_size` 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 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | stream_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | use_grounding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_openai` is never used [INFO] [stdout] --> src/lib.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 499 | impl LLMResponse { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 500 | 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:509:10 [INFO] [stdout] | [INFO] [stdout] 509 | 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:537:10 [INFO] [stdout] | [INFO] [stdout] 537 | async fn process_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_response` is never used [INFO] [stdout] --> src/lib.rs:567:10 [INFO] [stdout] | [INFO] [stdout] 567 | async fn process_response( [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] = note: `OpenAIRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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] 70 | 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 1m 01s [INFO] running `Command { std: "docker" "inspect" "cc6fb414df96751b247a14e9f33288994fe59d124156fa9cf8eef6629175e69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6fb414df96751b247a14e9f33288994fe59d124156fa9cf8eef6629175e69a", kill_on_drop: false }` [INFO] [stdout] cc6fb414df96751b247a14e9f33288994fe59d124156fa9cf8eef6629175e69a