[INFO] fetching crate rigetti-pyo3 0.4.4... [INFO] testing rigetti-pyo3-0.4.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rigetti-pyo3 0.4.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rigetti-pyo3 0.4.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rigetti-pyo3 0.4.4 [INFO] tweaked toml for crates.io crate rigetti-pyo3 0.4.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rigetti-pyo3 0.4.4 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rigetti-pyo3 0.4.4 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4e422bb2a3c82b86cd1b0630a31a59109af90ec799ee99bb646bc86968484f0 [INFO] running `Command { std: "docker" "start" "-a" "c4e422bb2a3c82b86cd1b0630a31a59109af90ec799ee99bb646bc86968484f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4e422bb2a3c82b86cd1b0630a31a59109af90ec799ee99bb646bc86968484f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4e422bb2a3c82b86cd1b0630a31a59109af90ec799ee99bb646bc86968484f0", kill_on_drop: false }` [INFO] [stdout] c4e422bb2a3c82b86cd1b0630a31a59109af90ec799ee99bb646bc86968484f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 278f073f71128cf8e218722b3fbe3fa0f8977829f484ad82abf1e88afd3d20e8 [INFO] running `Command { std: "docker" "start" "-a" "278f073f71128cf8e218722b3fbe3fa0f8977829f484ad82abf1e88afd3d20e8", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling internment v0.8.6 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling rigetti-pyo3 v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.20s [INFO] running `Command { std: "docker" "inspect" "278f073f71128cf8e218722b3fbe3fa0f8977829f484ad82abf1e88afd3d20e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "278f073f71128cf8e218722b3fbe3fa0f8977829f484ad82abf1e88afd3d20e8", kill_on_drop: false }` [INFO] [stdout] 278f073f71128cf8e218722b3fbe3fa0f8977829f484ad82abf1e88afd3d20e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be68a9f8214fb7a4334faeb72789c74a7ea3fa6ba1777e8c5f94a2fafc83012e [INFO] running `Command { std: "docker" "start" "-a" "be68a9f8214fb7a4334faeb72789c74a7ea3fa6ba1777e8c5f94a2fafc83012e", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling rigetti-pyo3 v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/wrapper_tests/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | PyTestUnionEnum(TestUnionEnum) as "TestUnionEnum" { [INFO] [stdout] | | --------------- [INFO] [stdout] | | | [INFO] [stdout] | | `PyTestUnionEnum` is not local [INFO] [stdout] | | `PyTestUnionEnum` is not local [INFO] [stdout] 37 | | unit: Unit, [INFO] [stdout] 38 | | string: String => String [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `PyClassImplCollector` is not local [INFO] [stdout] | |_____`PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `$crate::pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `$crate::pyo3::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 `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (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] --> tests/wrapper_tests/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | #[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] 64 | impl PyTestStruct { [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `PyTestStruct` is not local [INFO] [stdout] | `PyTestStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/yak_shaving.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / py_wrap_struct! { [INFO] [stdout] 133 | | PyYak(Yak) as "Yak" { [INFO] [stdout] | | ----- [INFO] [stdout] | | | [INFO] [stdout] | | `PyYak` is not local [INFO] [stdout] | | `PyYak` is not local [INFO] [stdout] 134 | | py -> rs { [INFO] [stdout] 135 | | py_dict: Py => Yak { [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `PyClassImplCollector` is not local [INFO] [stdout] | |_____`PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `$crate::pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `$crate::pyo3::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 `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_struct` (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] --> examples/yak_shaving.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[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] 177 | impl PyShears { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `PyShears` is not local [INFO] [stdout] | `PyShears` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/yak_shaving.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 192 | impl PyClippers { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `PyClippers` is not local [INFO] [stdout] | `PyClippers` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/yak_shaving.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / py_wrap_union_enum! { [INFO] [stdout] 208 | | PyCuttingTool(CuttingTool) as "CuttingTool" { [INFO] [stdout] | | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | `PyCuttingTool` is not local [INFO] [stdout] | | `PyCuttingTool` is not local [INFO] [stdout] 209 | | shears: Shears => PyShears, [INFO] [stdout] 210 | | clippers: Clippers => PyClippers [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `PyClassImplCollector` is not local [INFO] [stdout] | |_____`PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `$crate::pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `$crate::pyo3::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 `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.43s [INFO] running `Command { std: "docker" "inspect" "be68a9f8214fb7a4334faeb72789c74a7ea3fa6ba1777e8c5f94a2fafc83012e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be68a9f8214fb7a4334faeb72789c74a7ea3fa6ba1777e8c5f94a2fafc83012e", kill_on_drop: false }` [INFO] [stdout] be68a9f8214fb7a4334faeb72789c74a7ea3fa6ba1777e8c5f94a2fafc83012e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7470fe10f842be605f8db4b993c721651ed5c9becea5cb9d9964cf602366466 [INFO] running `Command { std: "docker" "start" "-a" "b7470fe10f842be605f8db4b993c721651ed5c9becea5cb9d9964cf602366466", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/wrapper_tests/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | / py_wrap_union_enum! { [INFO] [stderr] 36 | | PyTestUnionEnum(TestUnionEnum) as "TestUnionEnum" { [INFO] [stderr] | | --------------- [INFO] [stderr] | | | [INFO] [stderr] | | `PyTestUnionEnum` is not local [INFO] [stderr] | | `PyTestUnionEnum` is not local [INFO] [stderr] 37 | | unit: Unit, [INFO] [stderr] 38 | | string: String => String [INFO] [stderr] 39 | | } [INFO] [stderr] 40 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `PyClassImplCollector` is not local [INFO] [stderr] | |_____`PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `$crate::pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `$crate::pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/wrapper_tests/mod.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 64 | impl PyTestStruct { [INFO] [stderr] | ------------ [INFO] [stderr] | | [INFO] [stderr] | `PyTestStruct` is not local [INFO] [stderr] | `PyTestStruct` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/yak_shaving.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 132 | / py_wrap_struct! { [INFO] [stderr] 133 | | PyYak(Yak) as "Yak" { [INFO] [stderr] | | ----- [INFO] [stderr] | | | [INFO] [stderr] | | `PyYak` is not local [INFO] [stderr] | | `PyYak` is not local [INFO] [stderr] 134 | | py -> rs { [INFO] [stderr] 135 | | py_dict: Py => Yak { [INFO] [stderr] ... | [INFO] [stderr] 158 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `PyClassImplCollector` is not local [INFO] [stderr] | |_____`PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `$crate::pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `$crate::pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/yak_shaving.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 177 | impl PyShears { [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | `PyShears` is not local [INFO] [stderr] | `PyShears` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/yak_shaving.rs:191:5 [INFO] [stderr] | [INFO] [stderr] 191 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 192 | impl PyClippers { [INFO] [stderr] | ---------- [INFO] [stderr] | | [INFO] [stderr] | `PyClippers` is not local [INFO] [stderr] | `PyClippers` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/yak_shaving.rs:207:5 [INFO] [stderr] | [INFO] [stderr] 207 | / py_wrap_union_enum! { [INFO] [stderr] 208 | | PyCuttingTool(CuttingTool) as "CuttingTool" { [INFO] [stderr] | | ------------- [INFO] [stderr] | | | [INFO] [stderr] | | `PyCuttingTool` is not local [INFO] [stderr] | | `PyCuttingTool` is not local [INFO] [stderr] 209 | | shears: Shears => PyShears, [INFO] [stderr] 210 | | clippers: Clippers => PyClippers [INFO] [stderr] 211 | | } [INFO] [stderr] 212 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `PyClassImplCollector` is not local [INFO] [stderr] | |_____`PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `$crate::pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `$crate::pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rigetti-pyo3` (test "tests") generated 2 warnings [INFO] [stderr] warning: `rigetti-pyo3` (example "yak_shaving") generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rigetti_pyo3-1219863b12b83c8d) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-b934c4cb624fef47) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_enum_as_data_struct_member ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests rigetti_pyo3 [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/wrappers.rs - wrappers::wrap_error (line 764) ... ok [INFO] [stdout] test src/wrappers.rs - wrappers::py_wrap_type (line 74) ... ok [INFO] [stdout] test src/wrappers.rs - wrappers::py_wrap_error (line 25) ... ok [INFO] [stdout] test src/wrappers.rs - wrappers::py_wrap_data_struct (line 860) ... ok [INFO] [stdout] test src/wrappers.rs - wrappers::py_wrap_simple_enum (line 201) ... ok [INFO] [stdout] test src/wrappers.rs - wrappers::py_wrap_union_enum (line 530) ... ok [INFO] [stdout] test src/wrappers.rs - wrappers::py_wrap_struct (line 337) ... ok [INFO] [stdout] test src/lib.rs - create_init_submodule (line 170) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7470fe10f842be605f8db4b993c721651ed5c9becea5cb9d9964cf602366466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7470fe10f842be605f8db4b993c721651ed5c9becea5cb9d9964cf602366466", kill_on_drop: false }` [INFO] [stdout] b7470fe10f842be605f8db4b993c721651ed5c9becea5cb9d9964cf602366466