[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 master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Mng-dev-ai/schemars on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-6-tc1/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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v1.11.1
[INFO] [stderr]   Downloaded borsh-derive-internal v0.10.3
[INFO] [stderr]   Downloaded uuid v1.6.1
[INFO] [stderr]   Downloaded memoffset v0.9.0
[INFO] [stderr]   Downloaded pyo3-build-config v0.20.0
[INFO] [stderr]   Downloaded ptr_meta v0.1.4
[INFO] [stderr]   Downloaded bytecheck_derive v0.6.11
[INFO] [stderr]   Downloaded tap v1.0.1
[INFO] [stderr]   Downloaded strum v0.25.0
[INFO] [stderr]   Downloaded pyo3-macros v0.20.0
[INFO] [stderr]   Downloaded borsh-schema-derive-internal v0.10.3
[INFO] [stderr]   Downloaded unindent v0.2.3
[INFO] [stderr]   Downloaded radium v0.7.0
[INFO] [stderr]   Downloaded rend v0.4.1
[INFO] [stderr]   Downloaded strum_macros v0.25.3
[INFO] [stderr]   Downloaded ahash v0.8.6
[INFO] [stderr]   Downloaded hashbrown v0.13.2
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.25
[INFO] [stderr]   Downloaded zerocopy v0.7.25
[INFO] [stderr]   Downloaded bitvec v1.0.1
[INFO] [stderr]   Downloaded libc v0.2.149
[INFO] [stderr]   Downloaded rust_decimal v1.32.0
[INFO] [stderr]   Downloaded serde_json v1.0.108
[INFO] [stderr]   Downloaded syn v2.0.38
[INFO] [stderr]   Downloaded rkyv v0.7.42
[INFO] [stderr]   Downloaded pyo3 v0.20.0
[INFO] [stderr]   Downloaded pyo3-ffi v0.20.0
[INFO] [stderr]   Downloaded serde v1.0.192
[INFO] [stderr]   Downloaded proc-macro2 v1.0.69
[INFO] [stderr]   Downloaded ryu v1.0.15
[INFO] [stderr]   Downloaded libmimalloc-sys v0.1.35
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.20.0
[INFO] [stderr]   Downloaded getrandom v0.2.11
[INFO] [stderr]   Downloaded borsh v0.10.3
[INFO] [stderr]   Downloaded target-lexicon v0.12.12
[INFO] [stderr]   Downloaded speedate v0.13.0
[INFO] [stderr]   Downloaded seahash v4.1.0
[INFO] [stderr]   Downloaded simdutf8 v0.1.4
[INFO] [stderr]   Downloaded serde_derive v1.0.192
[INFO] [stderr]   Downloaded indoc v2.0.4
[INFO] [stderr]   Downloaded funty v2.0.0
[INFO] [stderr]   Downloaded quote v1.0.33
[INFO] [stderr]   Downloaded itoa v1.0.9
[INFO] [stderr]   Downloaded heck v0.4.1
[INFO] [stderr]   Downloaded mimalloc v0.1.39
[INFO] [stderr]   Downloaded wyz v0.5.1
[INFO] [stderr]   Downloaded bytecheck v0.6.11
[INFO] [stderr]   Downloaded ptr_meta_derive v0.1.4
[INFO] [stderr]   Downloaded rkyv_derive v0.7.42
[INFO] [stderr]   Downloaded borsh-derive v0.10.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fddc79103c6935003d0be6a4c231415c0ecd86e2f2a4a2440be6749e0348b901
[INFO] running `Command { std: "docker" "start" "-a" "fddc79103c6935003d0be6a4c231415c0ecd86e2f2a4a2440be6749e0348b901", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fddc79103c6935003d0be6a4c231415c0ecd86e2f2a4a2440be6749e0348b901", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fddc79103c6935003d0be6a4c231415c0ecd86e2f2a4a2440be6749e0348b901", kill_on_drop: false }`
[INFO] [stdout] fddc79103c6935003d0be6a4c231415c0ecd86e2f2a4a2440be6749e0348b901
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ecdf8c496e81aaa62321feb6385709f150dd5e24f710796171a5db2556657a82
[INFO] running `Command { std: "docker" "start" "-a" "ecdf8c496e81aaa62321feb6385709f150dd5e24f710796171a5db2556657a82", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling target-lexicon v0.12.12
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling serde v1.0.192
[INFO] [stderr]    Compiling pyo3-build-config v0.20.0
[INFO] [stderr]    Compiling rust_decimal v1.32.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling syn v2.0.38
[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 libmimalloc-sys v0.1.35
[INFO] [stderr]    Compiling pyo3-ffi v0.20.0
[INFO] [stderr]    Compiling pyo3 v0.20.0
[INFO] [stderr]     Checking mimalloc v0.1.39
[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] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 20.18s
[INFO] running `Command { std: "docker" "inspect" "ecdf8c496e81aaa62321feb6385709f150dd5e24f710796171a5db2556657a82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecdf8c496e81aaa62321feb6385709f150dd5e24f710796171a5db2556657a82", kill_on_drop: false }`
[INFO] [stdout] ecdf8c496e81aaa62321feb6385709f150dd5e24f710796171a5db2556657a82
[INFO] checking Mng-dev-ai/schemars against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Mng-dev-ai/schemars on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-6-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e1e34b7e56111061e9542f5d23dbdb42777788d7860b78b5a93e3016abb854e4
[INFO] running `Command { std: "docker" "start" "-a" "e1e34b7e56111061e9542f5d23dbdb42777788d7860b78b5a93e3016abb854e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e1e34b7e56111061e9542f5d23dbdb42777788d7860b78b5a93e3016abb854e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1e34b7e56111061e9542f5d23dbdb42777788d7860b78b5a93e3016abb854e4", kill_on_drop: false }`
[INFO] [stdout] e1e34b7e56111061e9542f5d23dbdb42777788d7860b78b5a93e3016abb854e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 09576ca22eb1ef9aad339198b6d9d6f45eb5e822d7c9cff66c19ed0f71687624
[INFO] running `Command { std: "docker" "start" "-a" "09576ca22eb1ef9aad339198b6d9d6f45eb5e822d7c9cff66c19ed0f71687624", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling target-lexicon v0.12.12
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling serde v1.0.192
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling pyo3-build-config v0.20.0
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling rust_decimal v1.32.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling indoc v2.0.4
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking unindent v0.2.3
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]    Compiling libmimalloc-sys v0.1.35
[INFO] [stderr]    Compiling pyo3-ffi v0.20.0
[INFO] [stderr]    Compiling pyo3 v0.20.0
[INFO] [stderr]     Checking mimalloc v0.1.39
[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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/errors.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[pymethods]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/any.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / impl_py_methods!(Any, none, {
[INFO] [stdout] 10 | |     fn serialize(&self, _py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 11 | |         Ok(value.into())
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/bool.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / impl_py_methods!(Bool, none, {
[INFO] [stdout] 16 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 17 | |         if let Ok(py_bool) = value.downcast::<PyBool>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/bytes.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Bytes, none, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_bytes) = value.downcast::<PyBytes>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/date.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / impl_py_methods!(Date, optional, { format: Option<String>}, {
[INFO] [stdout] 15 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 16 | |         if let Ok(py_datetime) = value.downcast::<PyDateTime>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/datetime.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / impl_py_methods!(DateTime, optional, { format: Option<String>}, {
[INFO] [stdout] 15 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 16 | |         if let Ok(py_datetime) = value.downcast::<PyDateTime>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/decimal.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | / impl_py_methods!(Decimal, none, {
[INFO] [stdout] 17 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 18 | |         if value.downcast::<PyAny>()?.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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/dict.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Dict, optional, { child: Option<Field>}, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_dict) = value.downcast::<PyDict>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/float.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Float, none, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_float) = value.downcast::<PyFloat>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/int.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Int, none, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_int) = value.downcast::<PyLong>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/list.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl_py_methods!(List, optional, { child: Option<Field> }, {
[INFO] [stdout] 14 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 15 | |         let as_list = |v: &PyAny| -> PyResult<_> {
[INFO] [stdout] 16 | |             match v.downcast::<PyList>() {
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |     }
[INFO] [stdout] 44 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/fields/method.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[pymethods]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/str.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl_py_methods!(Str, none, {
[INFO] [stdout] 14 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 15 | |         if let Ok(py_str) = value.downcast::<PyString>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/macros.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |           #[pymethods]
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/fields/union.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout] 12  | / impl_py_methods!(Union, required, { fields: Vec<PyObject> }, {
[INFO] [stdout] 13  | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14  | |         for field in &self.fields {
[INFO] [stdout] 15  | |             if let Ok(py_field) = field.downcast::<PyAny>(py) {
[INFO] [stdout] ...   |
[INFO] [stdout] 26  | |    }
[INFO] [stdout] 27  | | });
[INFO] [stdout]     | |__- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/uuid.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl_py_methods!(Uuid, none, {
[INFO] [stdout] 14 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 15 | |         if let Ok(uuid_obj) = value.downcast::<PyAny>() {
[INFO] [stdout] 16 | |             if uuid_obj
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/macros.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |           #[pymethods]
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/schema.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout] 18  | / impl_py_methods!(Schema, required, { fields: HashMap<String, Field>, context: HashMap<String, PyObject>}, {
[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]     = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error 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] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `schemars` (lib) due to 17 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/errors.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[pymethods]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/any.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / impl_py_methods!(Any, none, {
[INFO] [stdout] 10 | |     fn serialize(&self, _py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 11 | |         Ok(value.into())
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/bool.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / impl_py_methods!(Bool, none, {
[INFO] [stdout] 16 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 17 | |         if let Ok(py_bool) = value.downcast::<PyBool>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/bytes.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Bytes, none, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_bytes) = value.downcast::<PyBytes>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/date.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / impl_py_methods!(Date, optional, { format: Option<String>}, {
[INFO] [stdout] 15 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 16 | |         if let Ok(py_datetime) = value.downcast::<PyDateTime>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/datetime.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / impl_py_methods!(DateTime, optional, { format: Option<String>}, {
[INFO] [stdout] 15 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 16 | |         if let Ok(py_datetime) = value.downcast::<PyDateTime>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/decimal.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | / impl_py_methods!(Decimal, none, {
[INFO] [stdout] 17 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 18 | |         if value.downcast::<PyAny>()?.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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/dict.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Dict, optional, { child: Option<Field>}, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_dict) = value.downcast::<PyDict>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/float.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Float, none, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_float) = value.downcast::<PyFloat>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/int.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl_py_methods!(Int, none, {
[INFO] [stdout] 13 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14 | |         if let Ok(py_int) = value.downcast::<PyLong>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/list.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl_py_methods!(List, optional, { child: Option<Field> }, {
[INFO] [stdout] 14 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 15 | |         let as_list = |v: &PyAny| -> PyResult<_> {
[INFO] [stdout] 16 | |             match v.downcast::<PyList>() {
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |     }
[INFO] [stdout] 44 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/fields/method.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[pymethods]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/str.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl_py_methods!(Str, none, {
[INFO] [stdout] 14 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 15 | |         if let Ok(py_str) = value.downcast::<PyString>() {
[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]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/macros.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |           #[pymethods]
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/fields/union.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout] 12  | / impl_py_methods!(Union, required, { fields: Vec<PyObject> }, {
[INFO] [stdout] 13  | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 14  | |         for field in &self.fields {
[INFO] [stdout] 15  | |             if let Ok(py_field) = field.downcast::<PyAny>(py) {
[INFO] [stdout] ...   |
[INFO] [stdout] 26  | |    }
[INFO] [stdout] 27  | | });
[INFO] [stdout]     | |__- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/macros.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |           #[pymethods]
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/fields/uuid.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl_py_methods!(Uuid, none, {
[INFO] [stdout] 14 | |     fn serialize(&self, py: Python, value: &PyAny) -> PyResult<PyObject> {
[INFO] [stdout] 15 | |         if let Ok(uuid_obj) = value.downcast::<PyAny>() {
[INFO] [stdout] 16 | |             if uuid_obj
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/macros.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |           #[pymethods]
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/schema.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout] 18  | / impl_py_methods!(Schema, required, { fields: HashMap<String, Field>, context: HashMap<String, PyObject>}, {
[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]     = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error 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] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `schemars` (lib test) due to 17 previous errors
[INFO] running `Command { std: "docker" "inspect" "09576ca22eb1ef9aad339198b6d9d6f45eb5e822d7c9cff66c19ed0f71687624", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09576ca22eb1ef9aad339198b6d9d6f45eb5e822d7c9cff66c19ed0f71687624", kill_on_drop: false }`
[INFO] [stdout] 09576ca22eb1ef9aad339198b6d9d6f45eb5e822d7c9cff66c19ed0f71687624
