[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] testing nohehf/stack-graphs-python-bindings against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnohehf%2Fstack-graphs-python-bindings" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nohehf/stack-graphs-python-bindings on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-1-tc2/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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4666c021e62181444ff8f7a1dcd843c49b000c4a2ea7e200938f6749404d563e [INFO] running `Command { std: "docker" "start" "-a" "4666c021e62181444ff8f7a1dcd843c49b000c4a2ea7e200938f6749404d563e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4666c021e62181444ff8f7a1dcd843c49b000c4a2ea7e200938f6749404d563e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4666c021e62181444ff8f7a1dcd843c49b000c4a2ea7e200938f6749404d563e", kill_on_drop: false }` [INFO] [stdout] 4666c021e62181444ff8f7a1dcd843c49b000c4a2ea7e200938f6749404d563e [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6beb0b46f9c0f5239144f891046050414b12e401d336125f4430ff5413dbeff6 [INFO] running `Command { std: "docker" "start" "-a" "6beb0b46f9c0f5239144f891046050414b12e401d336125f4430ff5413dbeff6", 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] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bincode v2.0.0-rc.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling string-interner v0.12.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.3 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.2 [INFO] [stderr] Compiling tree-sitter-java v0.20.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling json_comments v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling controlled-option-macros v0.2.2 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling controlled-option v0.4.1 [INFO] [stderr] Compiling env_logger v0.9.3 [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] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling tree-sitter-tags v0.20.2 [INFO] [stderr] Compiling tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling enumset v1.1.3 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tree-sitter-stack-graphs-typescript v0.3.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling lsp-positions v0.3.3 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling tree-sitter-graph v0.11.2 [INFO] [stderr] Compiling tree-sitter-config v0.19.0 [INFO] [stderr] Compiling tsconfig v0.1.0 [INFO] [stderr] Compiling stack-graphs v0.13.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Compiling tree-sitter-stack-graphs v0.8.2 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Compiling tree-sitter-stack-graphs-java v0.3.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Compiling tree-sitter-stack-graphs-javascript v0.1.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Compiling tree-sitter-stack-graphs-python v0.1.0 (https://github.com/nohehf/stack-graphs.git?rev=3c4d1a6c374d9cdc7af9626423dbc3607a85dc66#3c4d1a6c) [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.65s [INFO] running `Command { std: "docker" "inspect" "6beb0b46f9c0f5239144f891046050414b12e401d336125f4430ff5413dbeff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6beb0b46f9c0f5239144f891046050414b12e401d336125f4430ff5413dbeff6", kill_on_drop: false }` [INFO] [stdout] 6beb0b46f9c0f5239144f891046050414b12e401d336125f4430ff5413dbeff6 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78823b08100cb0f90ba0eeb54af2cf2245473dc7576b778bf0a90f0822f35caa [INFO] running `Command { std: "docker" "start" "-a" "78823b08100cb0f90ba0eeb54af2cf2245473dc7576b778bf0a90f0822f35caa", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "78823b08100cb0f90ba0eeb54af2cf2245473dc7576b778bf0a90f0822f35caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78823b08100cb0f90ba0eeb54af2cf2245473dc7576b778bf0a90f0822f35caa", kill_on_drop: false }` [INFO] [stdout] 78823b08100cb0f90ba0eeb54af2cf2245473dc7576b778bf0a90f0822f35caa [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce5d9362fe12e25df7a5efc8d8ec0ee67a30ec0db7e30124466f5a05297775dd [INFO] running `Command { std: "docker" "start" "-a" "ce5d9362fe12e25df7a5efc8d8ec0ee67a30ec0db7e30124466f5a05297775dd", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/classes.rs:110:1 [INFO] [stderr] | [INFO] [stderr] 110 | #[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] 111 | impl Querier { [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | `Querier` is not local [INFO] [stderr] | `Querier` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/classes.rs:147:1 [INFO] [stderr] | [INFO] [stderr] 147 | #[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] 148 | impl Indexer { [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | `Indexer` is not local [INFO] [stderr] | `Indexer` 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: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/classes.rs:191:1 [INFO] [stderr] | [INFO] [stderr] 191 | #[pymethods] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | move the `impl` block outside of this method `__eq__` and up 2 bodies [INFO] [stderr] 192 | impl Position { [INFO] [stderr] | -------- `Position` 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: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/classes.rs:191:1 [INFO] [stderr] | [INFO] [stderr] 191 | #[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] 192 | impl Position { [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | `Position` is not local [INFO] [stderr] | `Position` 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: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/classes.rs:191:1 [INFO] [stderr] | [INFO] [stderr] 191 | #[pymethods] [INFO] [stderr] | ^^^^^^^^^^^^ move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stderr] 192 | impl Position { [INFO] [stderr] | -------- `Position` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `_pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: `stack-graphs-python-bindings` (lib test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stack_graphs_python-16014a9053bbe6c2) [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" "ce5d9362fe12e25df7a5efc8d8ec0ee67a30ec0db7e30124466f5a05297775dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce5d9362fe12e25df7a5efc8d8ec0ee67a30ec0db7e30124466f5a05297775dd", kill_on_drop: false }` [INFO] [stdout] ce5d9362fe12e25df7a5efc8d8ec0ee67a30ec0db7e30124466f5a05297775dd