[INFO] fetching crate solders-account-decoder 0.21.0... [INFO] checking solders-account-decoder-0.21.0 against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] extracting crate solders-account-decoder 0.21.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate solders-account-decoder 0.21.0 [INFO] finished tweaking crates.io crate solders-account-decoder 0.21.0 [INFO] tweaked toml for crates.io crate solders-account-decoder 0.21.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solders-account-decoder 0.21.0 on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 416 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bs58 v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding crypto-common v0.1.6 (available: v0.1.7) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.1.0) [INFO] [stderr] Adding hashbrown v0.15.2 (available: v0.15.5) [INFO] [stderr] Adding pyo3 v0.20.3 (available: v0.27.2) [INFO] [stderr] Adding pythonize v0.20.0 (available: v0.27.0) [INFO] [stderr] Adding solana-account-decoder v1.18.26 (available: v3.1.4) [INFO] [stderr] Adding solana-sdk v1.18.26 (available: v3.0.0) [INFO] [stderr] Adding solana_rbpf v0.8.3 (available: v0.8.5) [INFO] [stderr] Adding solders-macros v0.21.0 (available: v0.22.0) [INFO] [stderr] Adding solders-traits-core v0.21.0 (available: v0.22.0) [INFO] [stderr] Adding spl-token v4.0.0 (available: v4.0.3) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 (available: v0.13.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3afd997597463e071afe2749190ebcbbc03a811aca1b1a835b258622aa9ac862 [INFO] running `Command { std: "docker" "start" "-a" "3afd997597463e071afe2749190ebcbbc03a811aca1b1a835b258622aa9ac862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3afd997597463e071afe2749190ebcbbc03a811aca1b1a835b258622aa9ac862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3afd997597463e071afe2749190ebcbbc03a811aca1b1a835b258622aa9ac862", kill_on_drop: false }` [INFO] [stdout] 3afd997597463e071afe2749190ebcbbc03a811aca1b1a835b258622aa9ac862 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 465b1e790a1608083bafda9d014cd97930bd5a37470154a9723beba0e9cca403 [INFO] running `Command { std: "docker" "start" "-a" "465b1e790a1608083bafda9d014cd97930bd5a37470154a9723beba0e9cca403", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling borsh v1.6.0 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Checking im v15.1.0 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling solana-sdk v1.18.26 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking blake3 v1.8.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v1.6.0 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Checking goblin v0.5.4 [INFO] [stderr] Compiling solana-program-runtime v1.18.26 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking solana-security-txt v1.1.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking solana-logger v1.18.26 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solders-macros v0.21.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking compression-codecs v0.4.33 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking async-compression v0.4.34 [INFO] [stderr] Checking solana_rbpf v0.8.3 [INFO] [stderr] Checking pythonize v0.20.0 [INFO] [stderr] Checking solders-traits-core v0.21.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking spl-program-error v0.3.0 [INFO] [stderr] Checking spl-discriminator v0.1.0 [INFO] [stderr] Checking spl-token v4.0.0 [INFO] [stderr] Checking spl-memo v4.0.4 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.26 [INFO] [stderr] Checking solana-metrics v1.18.26 [INFO] [stderr] Checking solana-measure v1.18.26 [INFO] [stderr] Checking solana-config-program v1.18.26 [INFO] [stderr] Checking spl-pod v0.1.0 [INFO] [stderr] Checking spl-type-length-value v0.3.0 [INFO] [stderr] Checking spl-token-group-interface v0.1.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.5.1 [INFO] [stderr] Checking spl-token-metadata-interface v0.2.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Checking spl-token-2022 v1.0.0 [INFO] [stderr] Checking solana-account-decoder v1.18.26 [INFO] [stderr] Checking solders-account-decoder v0.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[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] 31 | impl UiDataSliceConfig { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `UiDataSliceConfig` is not local [INFO] [stdout] | `UiDataSliceConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[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] 85 | impl ParsedAccount { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `ParsedAccount` is not local [INFO] [stdout] | `ParsedAccount` 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: 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | #[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] 130 | impl UiTokenAmount { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `UiTokenAmount` is not local [INFO] [stdout] | `UiTokenAmount` 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: 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[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] 31 | impl UiDataSliceConfig { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `UiDataSliceConfig` is not local [INFO] [stdout] | `UiDataSliceConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[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] 85 | impl ParsedAccount { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `ParsedAccount` is not local [INFO] [stdout] | `ParsedAccount` 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: 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | #[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] 130 | impl UiTokenAmount { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `UiTokenAmount` is not local [INFO] [stdout] | `UiTokenAmount` 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: 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 13s [INFO] running `Command { std: "docker" "inspect" "465b1e790a1608083bafda9d014cd97930bd5a37470154a9723beba0e9cca403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465b1e790a1608083bafda9d014cd97930bd5a37470154a9723beba0e9cca403", kill_on_drop: false }` [INFO] [stdout] 465b1e790a1608083bafda9d014cd97930bd5a37470154a9723beba0e9cca403