[INFO] cloning repository https://github.com/nohehf/stack-graphs-python-bindings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nohehf/stack-graphs-python-bindings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnohehf%2Fstack-graphs-python-bindings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnohehf%2Fstack-graphs-python-bindings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a36115fa88b97582105c75503eab37f3256ea91d [INFO] checking nohehf/stack-graphs-python-bindings against master#1f81f906893d166d05fb4839f169983f2b564cc7 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnohehf%2Fstack-graphs-python-bindings" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nohehf/stack-graphs-python-bindings on toolchain 1f81f906893d166d05fb4839f169983f2b564cc7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nohehf/stack-graphs-python-bindings [INFO] finished tweaking git repo https://github.com/nohehf/stack-graphs-python-bindings [INFO] tweaked toml for git repo https://github.com/nohehf/stack-graphs-python-bindings written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nohehf/stack-graphs-python-bindings 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" "+1f81f906893d166d05fb4839f169983f2b564cc7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/nohehf/stack-graphs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string-interner v0.12.2 [INFO] [stderr] Downloaded tsconfig v0.1.0 [INFO] [stderr] Downloaded controlled-option v0.4.1 [INFO] [stderr] Downloaded tree-sitter-config v0.19.0 [INFO] [stderr] Downloaded controlled-option-macros v0.2.2 [INFO] [stderr] Downloaded tree-sitter-graph v0.11.2 [INFO] [stderr] Downloaded tree-sitter-java v0.20.0 [INFO] [stderr] Downloaded tree-sitter-javascript v0.20.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b515ce32f50bf2cede07c4c0d7227a9f06df10dd1f9c51677c3ad137a0da95d5 [INFO] running `Command { std: "docker" "start" "-a" "b515ce32f50bf2cede07c4c0d7227a9f06df10dd1f9c51677c3ad137a0da95d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b515ce32f50bf2cede07c4c0d7227a9f06df10dd1f9c51677c3ad137a0da95d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b515ce32f50bf2cede07c4c0d7227a9f06df10dd1f9c51677c3ad137a0da95d5", kill_on_drop: false }` [INFO] [stdout] b515ce32f50bf2cede07c4c0d7227a9f06df10dd1f9c51677c3ad137a0da95d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 541c4b420acc5e08faab465b30a82e20084cd11f501f72b231f6f2ae1dee9782 [INFO] running `Command { std: "docker" "start" "-a" "541c4b420acc5e08faab465b30a82e20084cd11f501f72b231f6f2ae1dee9782", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking string-interner v0.12.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Compiling tree-sitter-java v0.20.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.3 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Checking json_comments v0.2.2 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling controlled-option-macros v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking controlled-option v0.4.1 [INFO] [stderr] Checking tree-sitter-tags v0.20.2 [INFO] [stderr] Checking tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking enumset v1.1.3 [INFO] [stderr] Compiling tree-sitter-stack-graphs-typescript v0.3.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Checking lsp-positions v0.3.3 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking tree-sitter-config v0.19.0 [INFO] [stderr] Checking tree-sitter-graph v0.11.2 [INFO] [stderr] Checking tsconfig v0.1.0 [INFO] [stderr] Checking stack-graphs v0.13.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Checking tree-sitter-stack-graphs v0.8.2 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Checking tree-sitter-stack-graphs-java v0.3.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Checking tree-sitter-stack-graphs-javascript v0.1.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Checking tree-sitter-stack-graphs-python v0.1.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Checking stack-graphs-python-bindings v0.0.13 (/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/classes.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[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] 111 | impl Querier { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Querier` is not local [INFO] [stdout] | `Querier` 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/classes.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | #[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] 148 | impl Indexer { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Indexer` is not local [INFO] [stdout] | `Indexer` 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/classes.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__eq__` and up 2 bodies [INFO] [stdout] 192 | impl Position { [INFO] [stdout] | -------- `Position` 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/classes.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | #[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] 192 | impl Position { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `Position` is not local [INFO] [stdout] | `Position` 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/classes.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 192 | impl Position { [INFO] [stdout] | -------- `Position` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `_pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `_pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the macro `_pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` which comes from the expansion of 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/classes.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[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] 111 | impl Querier { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Querier` is not local [INFO] [stdout] | `Querier` 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/classes.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | #[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] 148 | impl Indexer { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Indexer` is not local [INFO] [stdout] | `Indexer` 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/classes.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__eq__` and up 2 bodies [INFO] [stdout] 192 | impl Position { [INFO] [stdout] | -------- `Position` 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/classes.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | #[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] 192 | impl Position { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `Position` is not local [INFO] [stdout] | `Position` 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/classes.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 192 | impl Position { [INFO] [stdout] | -------- `Position` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `_pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `_pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the macro `_pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` which comes from the expansion of 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 37.45s [INFO] running `Command { std: "docker" "inspect" "541c4b420acc5e08faab465b30a82e20084cd11f501f72b231f6f2ae1dee9782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541c4b420acc5e08faab465b30a82e20084cd11f501f72b231f6f2ae1dee9782", kill_on_drop: false }` [INFO] [stdout] 541c4b420acc5e08faab465b30a82e20084cd11f501f72b231f6f2ae1dee9782