[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 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [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] 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] validating manifest of git repo https://github.com/Mng-dev-ai/schemars on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mimalloc v0.1.39 [INFO] [stderr] Downloaded speedate v0.13.0 [INFO] [stderr] Downloaded rkyv_derive v0.7.42 [INFO] [stderr] Downloaded bytecheck_derive v0.6.11 [INFO] [stderr] Downloaded bytecheck v0.6.11 [INFO] [stderr] Downloaded rend v0.4.1 [INFO] [stderr] Downloaded rust_decimal v1.32.0 [INFO] [stderr] Downloaded rkyv v0.7.42 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.35 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a869b7de4d71de205d3e6acecb5eef3d1529cf006c7b0cb9ea76bc19f64214e [INFO] running `Command { std: "docker" "start" "-a" "3a869b7de4d71de205d3e6acecb5eef3d1529cf006c7b0cb9ea76bc19f64214e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a869b7de4d71de205d3e6acecb5eef3d1529cf006c7b0cb9ea76bc19f64214e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a869b7de4d71de205d3e6acecb5eef3d1529cf006c7b0cb9ea76bc19f64214e", kill_on_drop: false }` [INFO] [stdout] 3a869b7de4d71de205d3e6acecb5eef3d1529cf006c7b0cb9ea76bc19f64214e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d97ed4ecc3df9953fc4ce8327336d5c82dae03c4f14539f805634d14f134f4f5 [INFO] running `Command { std: "docker" "start" "-a" "d97ed4ecc3df9953fc4ce8327336d5c82dae03c4f14539f805634d14f134f4f5", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.12 [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 uuid v1.6.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling pyo3-build-config v0.20.0 [INFO] [stderr] Checking mimalloc v0.1.39 [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] Checking strum v0.25.0 [INFO] [stderr] Checking speedate v0.13.0 [INFO] [stderr] Compiling pyo3-macros v0.20.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: `#[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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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 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] 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 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] 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 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] 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 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] 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 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/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: `#[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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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 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] 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 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] 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 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] 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 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] 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.32s [INFO] running `Command { std: "docker" "inspect" "d97ed4ecc3df9953fc4ce8327336d5c82dae03c4f14539f805634d14f134f4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97ed4ecc3df9953fc4ce8327336d5c82dae03c4f14539f805634d14f134f4f5", kill_on_drop: false }` [INFO] [stdout] d97ed4ecc3df9953fc4ce8327336d5c82dae03c4f14539f805634d14f134f4f5