[INFO] cloning repository https://github.com/Mng-dev-ai/schemars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mng-dev-ai/schemars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44681c2220ef9b8f9aa5b3ef7c18c15a58178c7e [INFO] checking Mng-dev-ai/schemars/44681c2220ef9b8f9aa5b3ef7c18c15a58178c7e against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars" "/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/Mng-dev-ai/schemars on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mng-dev-ai/schemars [INFO] finished tweaking git repo https://github.com/Mng-dev-ai/schemars [INFO] tweaked toml for git repo https://github.com/Mng-dev-ai/schemars written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mng-dev-ai/schemars 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59e1ea2c1e6b8b3212444c4b30d9327731f3e583f7078a048fb86ff6b377e608 [INFO] running `Command { std: "docker" "start" "-a" "59e1ea2c1e6b8b3212444c4b30d9327731f3e583f7078a048fb86ff6b377e608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59e1ea2c1e6b8b3212444c4b30d9327731f3e583f7078a048fb86ff6b377e608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e1ea2c1e6b8b3212444c4b30d9327731f3e583f7078a048fb86ff6b377e608", kill_on_drop: false }` [INFO] [stdout] 59e1ea2c1e6b8b3212444c4b30d9327731f3e583f7078a048fb86ff6b377e608 [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a006d24a03ca71901852c77733fa02617a3bfe40c988dafa988dc0ba31c949d [INFO] running `Command { std: "docker" "start" "-a" "4a006d24a03ca71901852c77733fa02617a3bfe40c988dafa988dc0ba31c949d", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling rust_decimal v1.32.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Compiling pyo3-build-config v0.20.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mimalloc v0.1.39 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling pyo3-ffi v0.20.0 [INFO] [stderr] Compiling pyo3 v0.20.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling pyo3-macros v0.20.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking speedate v0.13.0 [INFO] [stderr] Checking schemars v0.4.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/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[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] 9 | impl ValidationError { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | `ValidationError` is not local [INFO] [stdout] | `ValidationError` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/any.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl_py_methods!(Any, none, { [INFO] [stdout] | - --- [INFO] [stdout] | | | [INFO] [stdout] | | `Any` is not local [INFO] [stdout] | _| `Any` is not local [INFO] [stdout] | | [INFO] [stdout] 10 | | fn serialize(&self, _py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 11 | | Ok(value.into()) [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/bool.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl_py_methods!(Bool, none, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Bool` is not local [INFO] [stdout] | _| `Bool` is not local [INFO] [stdout] | | [INFO] [stdout] 16 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 17 | | if let Ok(py_bool) = value.downcast::() { [INFO] [stdout] 18 | | return Ok(py_bool.into()); [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/bytes.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Bytes, none, { [INFO] [stdout] | - ----- [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | _| `Bytes` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_bytes) = value.downcast::() { [INFO] [stdout] 15 | | return Ok(py_bytes.into()); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/date.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl_py_methods!(Date, optional, { format: Option}, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Date` is not local [INFO] [stdout] | _| `Date` is not local [INFO] [stdout] | | [INFO] [stdout] 15 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 16 | | if let Ok(py_datetime) = value.downcast::() { [INFO] [stdout] 17 | | let py_date = py_datetime.call_method0(intern!(py, "date"))?; [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/datetime.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl_py_methods!(DateTime, optional, { format: Option}, { [INFO] [stdout] | - -------- [INFO] [stdout] | | | [INFO] [stdout] | | `DateTime` is not local [INFO] [stdout] | _| `DateTime` is not local [INFO] [stdout] | | [INFO] [stdout] 15 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 16 | | if let Ok(py_datetime) = value.downcast::() { [INFO] [stdout] 17 | | return self.format_and_return(py, py_datetime); [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/decimal.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl_py_methods!(Decimal, none, { [INFO] [stdout] | - ------- [INFO] [stdout] | | | [INFO] [stdout] | | `Decimal` is not local [INFO] [stdout] | _| `Decimal` is not local [INFO] [stdout] | | [INFO] [stdout] 17 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 18 | | if value.downcast::()?.getattr("quantize").is_ok() { [INFO] [stdout] 19 | | return Ok(value.to_string().to_object(py)); [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/dict.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Dict, optional, { child: Option}, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Dict` is not local [INFO] [stdout] | _| `Dict` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_dict) = value.downcast::() { [INFO] [stdout] 15 | | let dict = PyDict::new(py); [INFO] [stdout] ... | [INFO] [stdout] 40 | | [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/float.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Float, none, { [INFO] [stdout] | - ----- [INFO] [stdout] | | | [INFO] [stdout] | | `Float` is not local [INFO] [stdout] | _| `Float` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_float) = value.downcast::() { [INFO] [stdout] 15 | | return Ok(py_float.into()); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/int.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Int, none, { [INFO] [stdout] | - --- [INFO] [stdout] | | | [INFO] [stdout] | | `Int` is not local [INFO] [stdout] | _| `Int` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_int) = value.downcast::() { [INFO] [stdout] 15 | | return Ok(py_int.into()); [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/list.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl_py_methods!(List, optional, { child: Option }, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `List` is not local [INFO] [stdout] | _| `List` is not local [INFO] [stdout] | | [INFO] [stdout] 14 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 15 | | let as_list = |v: &PyAny| -> PyResult<_> { [INFO] [stdout] 16 | | match v.downcast::() { [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/fields/method.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] 11 | impl Method { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Method` is not local [INFO] [stdout] | `Method` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/str.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl_py_methods!(Str, none, { [INFO] [stdout] | - --- [INFO] [stdout] | | | [INFO] [stdout] | | `Str` is not local [INFO] [stdout] | _| `Str` is not local [INFO] [stdout] | | [INFO] [stdout] 14 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 15 | | if let Ok(py_str) = value.downcast::() { [INFO] [stdout] 16 | | return Ok(py_str.into()); [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | #[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] | [INFO] [stdout] ::: src/fields/union.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Union, required, { fields: Vec }, { [INFO] [stdout] | - ----- [INFO] [stdout] | | | [INFO] [stdout] | | `Union` is not local [INFO] [stdout] | _| `Union` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | for field in &self.fields { [INFO] [stdout] 15 | | if let Ok(py_field) = field.downcast::(py) { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/uuid.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl_py_methods!(Uuid, none, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Uuid` is not local [INFO] [stdout] | _| `Uuid` is not local [INFO] [stdout] | | [INFO] [stdout] 14 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 15 | | if let Ok(uuid_obj) = value.downcast::() { [INFO] [stdout] 16 | | if uuid_obj [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | #[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] | [INFO] [stdout] ::: src/schema.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl_py_methods!(Schema, required, { fields: HashMap, context: HashMap}, { [INFO] [stdout] | - ------ [INFO] [stdout] | | | [INFO] [stdout] | | `Schema` is not local [INFO] [stdout] | _| `Schema` is not local [INFO] [stdout] | | [INFO] [stdout] 19 | | fn get_attr_value( [INFO] [stdout] 20 | | &self, [INFO] [stdout] 21 | | py: Python, [INFO] [stdout] ... | [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [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/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[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] 9 | impl ValidationError { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | `ValidationError` is not local [INFO] [stdout] | `ValidationError` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/any.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl_py_methods!(Any, none, { [INFO] [stdout] | - --- [INFO] [stdout] | | | [INFO] [stdout] | | `Any` is not local [INFO] [stdout] | _| `Any` is not local [INFO] [stdout] | | [INFO] [stdout] 10 | | fn serialize(&self, _py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 11 | | Ok(value.into()) [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/bool.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl_py_methods!(Bool, none, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Bool` is not local [INFO] [stdout] | _| `Bool` is not local [INFO] [stdout] | | [INFO] [stdout] 16 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 17 | | if let Ok(py_bool) = value.downcast::() { [INFO] [stdout] 18 | | return Ok(py_bool.into()); [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/bytes.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Bytes, none, { [INFO] [stdout] | - ----- [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | _| `Bytes` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_bytes) = value.downcast::() { [INFO] [stdout] 15 | | return Ok(py_bytes.into()); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/date.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl_py_methods!(Date, optional, { format: Option}, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Date` is not local [INFO] [stdout] | _| `Date` is not local [INFO] [stdout] | | [INFO] [stdout] 15 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 16 | | if let Ok(py_datetime) = value.downcast::() { [INFO] [stdout] 17 | | let py_date = py_datetime.call_method0(intern!(py, "date"))?; [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/datetime.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl_py_methods!(DateTime, optional, { format: Option}, { [INFO] [stdout] | - -------- [INFO] [stdout] | | | [INFO] [stdout] | | `DateTime` is not local [INFO] [stdout] | _| `DateTime` is not local [INFO] [stdout] | | [INFO] [stdout] 15 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 16 | | if let Ok(py_datetime) = value.downcast::() { [INFO] [stdout] 17 | | return self.format_and_return(py, py_datetime); [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/decimal.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl_py_methods!(Decimal, none, { [INFO] [stdout] | - ------- [INFO] [stdout] | | | [INFO] [stdout] | | `Decimal` is not local [INFO] [stdout] | _| `Decimal` is not local [INFO] [stdout] | | [INFO] [stdout] 17 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 18 | | if value.downcast::()?.getattr("quantize").is_ok() { [INFO] [stdout] 19 | | return Ok(value.to_string().to_object(py)); [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/dict.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Dict, optional, { child: Option}, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Dict` is not local [INFO] [stdout] | _| `Dict` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_dict) = value.downcast::() { [INFO] [stdout] 15 | | let dict = PyDict::new(py); [INFO] [stdout] ... | [INFO] [stdout] 40 | | [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/float.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Float, none, { [INFO] [stdout] | - ----- [INFO] [stdout] | | | [INFO] [stdout] | | `Float` is not local [INFO] [stdout] | _| `Float` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_float) = value.downcast::() { [INFO] [stdout] 15 | | return Ok(py_float.into()); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/int.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Int, none, { [INFO] [stdout] | - --- [INFO] [stdout] | | | [INFO] [stdout] | | `Int` is not local [INFO] [stdout] | _| `Int` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | if let Ok(py_int) = value.downcast::() { [INFO] [stdout] 15 | | return Ok(py_int.into()); [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | #[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] | [INFO] [stdout] ::: src/fields/list.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl_py_methods!(List, optional, { child: Option }, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `List` is not local [INFO] [stdout] | _| `List` is not local [INFO] [stdout] | | [INFO] [stdout] 14 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 15 | | let as_list = |v: &PyAny| -> PyResult<_> { [INFO] [stdout] 16 | | match v.downcast::() { [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/fields/method.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] 11 | impl Method { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Method` is not local [INFO] [stdout] | `Method` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/str.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl_py_methods!(Str, none, { [INFO] [stdout] | - --- [INFO] [stdout] | | | [INFO] [stdout] | | `Str` is not local [INFO] [stdout] | _| `Str` is not local [INFO] [stdout] | | [INFO] [stdout] 14 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 15 | | if let Ok(py_str) = value.downcast::() { [INFO] [stdout] 16 | | return Ok(py_str.into()); [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | #[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] | [INFO] [stdout] ::: src/fields/union.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl_py_methods!(Union, required, { fields: Vec }, { [INFO] [stdout] | - ----- [INFO] [stdout] | | | [INFO] [stdout] | | `Union` is not local [INFO] [stdout] | _| `Union` is not local [INFO] [stdout] | | [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | for field in &self.fields { [INFO] [stdout] 15 | | if let Ok(py_field) = field.downcast::(py) { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[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] | [INFO] [stdout] ::: src/fields/uuid.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl_py_methods!(Uuid, none, { [INFO] [stdout] | - ---- [INFO] [stdout] | | | [INFO] [stdout] | | `Uuid` is not local [INFO] [stdout] | _| `Uuid` is not local [INFO] [stdout] | | [INFO] [stdout] 14 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 15 | | if let Ok(uuid_obj) = value.downcast::() { [INFO] [stdout] 16 | | if uuid_obj [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (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/macros.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | #[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] | [INFO] [stdout] ::: src/schema.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl_py_methods!(Schema, required, { fields: HashMap, context: HashMap}, { [INFO] [stdout] | - ------ [INFO] [stdout] | | | [INFO] [stdout] | | `Schema` is not local [INFO] [stdout] | _| `Schema` is not local [INFO] [stdout] | | [INFO] [stdout] 19 | | fn get_attr_value( [INFO] [stdout] 20 | | &self, [INFO] [stdout] 21 | | py: Python, [INFO] [stdout] ... | [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | }); [INFO] [stdout] | |__- in this macro invocation [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `impl_py_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.51s [INFO] running `Command { std: "docker" "inspect" "4a006d24a03ca71901852c77733fa02617a3bfe40c988dafa988dc0ba31c949d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a006d24a03ca71901852c77733fa02617a3bfe40c988dafa988dc0ba31c949d", kill_on_drop: false }` [INFO] [stdout] 4a006d24a03ca71901852c77733fa02617a3bfe40c988dafa988dc0ba31c949d