[INFO] cloning repository https://github.com/ohunter/Cerialize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ohunter/Cerialize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohunter%2FCerialize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohunter%2FCerialize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1407dd67baddc74d13940424a292cd477d2b01d [INFO] checking ohunter/Cerialize against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohunter%2FCerialize" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ohunter/Cerialize [INFO] finished tweaking git repo https://github.com/ohunter/Cerialize [INFO] tweaked toml for git repo https://github.com/ohunter/Cerialize written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ohunter/Cerialize on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ohunter/Cerialize 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4282b96442523b98b089f3ac031a1a1ffc84bb8bbd175bff6d014e344844bd1 [INFO] running `Command { std: "docker" "start" "-a" "a4282b96442523b98b089f3ac031a1a1ffc84bb8bbd175bff6d014e344844bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4282b96442523b98b089f3ac031a1a1ffc84bb8bbd175bff6d014e344844bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4282b96442523b98b089f3ac031a1a1ffc84bb8bbd175bff6d014e344844bd1", kill_on_drop: false }` [INFO] [stdout] a4282b96442523b98b089f3ac031a1a1ffc84bb8bbd175bff6d014e344844bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 396c596bc9fa91a5d3fe3d760ccabfc2f6efe47c0b3d67867188f024e91e1de4 [INFO] running `Command { std: "docker" "start" "-a" "396c596bc9fa91a5d3fe3d760ccabfc2f6efe47c0b3d67867188f024e91e1de4", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.8 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling pyo3-build-config v0.19.1 [INFO] [stderr] Compiling pyo3-ffi v0.19.1 [INFO] [stderr] Compiling pyo3 v0.19.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.1 [INFO] [stderr] Compiling pyo3-macros v0.19.1 [INFO] [stderr] Checking cerialize v0.1.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/types/abstractions.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[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] 129 | impl PyShaped { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `PyShaped` is not local [INFO] [stdout] | `PyShaped` 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/types/cstruct.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__getattr__` and up 2 bodies [INFO] [stdout] 14 | impl CStruct { [INFO] [stdout] | ------- `CStruct` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | fn __getattr__(slf: &PyCell, attr: String) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | fn __getattr__(slf: &PyCell, attr: String) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/cstruct.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[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] 14 | impl CStruct { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `CStruct` is not local [INFO] [stdout] | `CStruct` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn _type_and_offset_of(slf: &PyCell, attr: String) -> PyResult<(&PyType, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn _type_and_offset_of(slf: &PyCell, attr: String) -> PyResult<(&PyType, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn _offset_of(slf: &PyCell, attr: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn _offset_of(slf: &PyCell, attr: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | fn _type_of(slf: &PyCell, attr: String) -> PyResult<&PyType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | fn _type_of(slf: &PyCell, attr: String) -> PyResult<&PyType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[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] 38 | impl Bool { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `Bool` is not local [INFO] [stdout] | `Bool` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | #[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] 138 | impl Int8 { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `Int8` is not local [INFO] [stdout] | `Int8` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | #[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] 238 | impl Int16 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Int16` is not local [INFO] [stdout] | `Int16` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | #[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] 338 | impl Int32 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Int32` is not local [INFO] [stdout] | `Int32` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:437:1 [INFO] [stdout] | [INFO] [stdout] 437 | #[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] 438 | impl Int64 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Int64` is not local [INFO] [stdout] | `Int64` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 482 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 482 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:537:1 [INFO] [stdout] | [INFO] [stdout] 537 | #[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] 538 | impl Int128 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Int128` is not local [INFO] [stdout] | `Int128` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:637:1 [INFO] [stdout] | [INFO] [stdout] 637 | #[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] 638 | impl Uint8 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Uint8` is not local [INFO] [stdout] | `Uint8` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | #[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] 738 | impl Uint16 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Uint16` is not local [INFO] [stdout] | `Uint16` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:782:22 [INFO] [stdout] | [INFO] [stdout] 782 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:782:22 [INFO] [stdout] | [INFO] [stdout] 782 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:837:1 [INFO] [stdout] | [INFO] [stdout] 837 | #[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] 838 | impl Uint32 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Uint32` is not local [INFO] [stdout] | `Uint32` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:937:1 [INFO] [stdout] | [INFO] [stdout] 937 | #[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] 938 | impl Uint64 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Uint64` is not local [INFO] [stdout] | `Uint64` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1037:1 [INFO] [stdout] | [INFO] [stdout] 1037 | #[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] 1038 | impl Uint128 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Uint128` is not local [INFO] [stdout] | `Uint128` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1082 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1082 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1137:1 [INFO] [stdout] | [INFO] [stdout] 1137 | #[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] 1138 | impl Float16 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Float16` is not local [INFO] [stdout] | `Float16` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1182:22 [INFO] [stdout] | [INFO] [stdout] 1182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1182:22 [INFO] [stdout] | [INFO] [stdout] 1182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1237:1 [INFO] [stdout] | [INFO] [stdout] 1237 | #[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] 1238 | impl Float32 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Float32` is not local [INFO] [stdout] | `Float32` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1282:22 [INFO] [stdout] | [INFO] [stdout] 1282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1282:22 [INFO] [stdout] | [INFO] [stdout] 1282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1337:1 [INFO] [stdout] | [INFO] [stdout] 1337 | #[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] 1338 | impl Float64 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Float64` is not local [INFO] [stdout] | `Float64` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1382:22 [INFO] [stdout] | [INFO] [stdout] 1382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1382:22 [INFO] [stdout] | [INFO] [stdout] 1382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/sentinels.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/sentinels.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/sentinels.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/sentinels.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/sentinels.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/sentinels.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cerialize` (lib) due to 42 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/abstractions.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[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] 129 | impl PyShaped { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `PyShaped` is not local [INFO] [stdout] | `PyShaped` 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/types/cstruct.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__getattr__` and up 2 bodies [INFO] [stdout] 14 | impl CStruct { [INFO] [stdout] | ------- `CStruct` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | fn __getattr__(slf: &PyCell, attr: String) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | fn __getattr__(slf: &PyCell, attr: String) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/cstruct.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[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] 14 | impl CStruct { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `CStruct` is not local [INFO] [stdout] | `CStruct` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn _type_and_offset_of(slf: &PyCell, attr: String) -> PyResult<(&PyType, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn _type_and_offset_of(slf: &PyCell, attr: String) -> PyResult<(&PyType, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn _offset_of(slf: &PyCell, attr: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn _offset_of(slf: &PyCell, attr: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/cstruct.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | fn _type_of(slf: &PyCell, attr: String) -> PyResult<&PyType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/cstruct.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | fn _type_of(slf: &PyCell, attr: String) -> PyResult<&PyType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[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] 38 | impl Bool { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `Bool` is not local [INFO] [stdout] | `Bool` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | #[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] 138 | impl Int8 { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `Int8` is not local [INFO] [stdout] | `Int8` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | #[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] 238 | impl Int16 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Int16` is not local [INFO] [stdout] | `Int16` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | #[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] 338 | impl Int32 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Int32` is not local [INFO] [stdout] | `Int32` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:437:1 [INFO] [stdout] | [INFO] [stdout] 437 | #[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] 438 | impl Int64 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Int64` is not local [INFO] [stdout] | `Int64` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 482 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 482 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:537:1 [INFO] [stdout] | [INFO] [stdout] 537 | #[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] 538 | impl Int128 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Int128` is not local [INFO] [stdout] | `Int128` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:637:1 [INFO] [stdout] | [INFO] [stdout] 637 | #[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] 638 | impl Uint8 { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Uint8` is not local [INFO] [stdout] | `Uint8` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | #[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] 738 | impl Uint16 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Uint16` is not local [INFO] [stdout] | `Uint16` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:782:22 [INFO] [stdout] | [INFO] [stdout] 782 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:782:22 [INFO] [stdout] | [INFO] [stdout] 782 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:837:1 [INFO] [stdout] | [INFO] [stdout] 837 | #[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] 838 | impl Uint32 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Uint32` is not local [INFO] [stdout] | `Uint32` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:937:1 [INFO] [stdout] | [INFO] [stdout] 937 | #[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] 938 | impl Uint64 { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Uint64` is not local [INFO] [stdout] | `Uint64` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1037:1 [INFO] [stdout] | [INFO] [stdout] 1037 | #[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] 1038 | impl Uint128 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Uint128` is not local [INFO] [stdout] | `Uint128` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1082 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1082 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1137:1 [INFO] [stdout] | [INFO] [stdout] 1137 | #[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] 1138 | impl Float16 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Float16` is not local [INFO] [stdout] | `Float16` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1182:22 [INFO] [stdout] | [INFO] [stdout] 1182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1182:22 [INFO] [stdout] | [INFO] [stdout] 1182 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1237:1 [INFO] [stdout] | [INFO] [stdout] 1237 | #[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] 1238 | impl Float32 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Float32` is not local [INFO] [stdout] | `Float32` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1282:22 [INFO] [stdout] | [INFO] [stdout] 1282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1282:22 [INFO] [stdout] | [INFO] [stdout] 1282 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/types/primitives.rs:1337:1 [INFO] [stdout] | [INFO] [stdout] 1337 | #[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] 1338 | impl Float64 { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `Float64` is not local [INFO] [stdout] | `Float64` 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] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/primitives.rs:1382:22 [INFO] [stdout] | [INFO] [stdout] 1382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/primitives.rs:1382:22 [INFO] [stdout] | [INFO] [stdout] 1382 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/sentinels.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/sentinels.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/sentinels.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/sentinels.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, &pyo3::PyCell> [INFO] [stdout] --> src/types/sentinels.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&pyo3::PyCell, Infallible> [INFO] [stdout] --> src/types/sentinels.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | fn __repr__(slf: &PyCell) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cerialize` (lib test) due to 42 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "396c596bc9fa91a5d3fe3d760ccabfc2f6efe47c0b3d67867188f024e91e1de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396c596bc9fa91a5d3fe3d760ccabfc2f6efe47c0b3d67867188f024e91e1de4", kill_on_drop: false }` [INFO] [stdout] 396c596bc9fa91a5d3fe3d760ccabfc2f6efe47c0b3d67867188f024e91e1de4