[INFO] fetching crate rigetti-pyo3 0.4.1... [INFO] checking rigetti-pyo3-0.4.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rigetti-pyo3 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rigetti-pyo3 0.4.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rigetti-pyo3 0.4.1 [INFO] finished tweaking crates.io crate rigetti-pyo3 0.4.1 [INFO] tweaked toml for crates.io crate rigetti-pyo3 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate rigetti-pyo3 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 739754d061cfc9d92b1890e28ca8114c3d32bc234bcd3845092cb756b20a8e1b [INFO] running `Command { std: "docker" "start" "-a" "739754d061cfc9d92b1890e28ca8114c3d32bc234bcd3845092cb756b20a8e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "739754d061cfc9d92b1890e28ca8114c3d32bc234bcd3845092cb756b20a8e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739754d061cfc9d92b1890e28ca8114c3d32bc234bcd3845092cb756b20a8e1b", kill_on_drop: false }` [INFO] [stdout] 739754d061cfc9d92b1890e28ca8114c3d32bc234bcd3845092cb756b20a8e1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4cf390fcc24c5b3c916db5ab6e61566913869fc987edb0cc70d560283dd7be9 [INFO] running `Command { std: "docker" "start" "-a" "e4cf390fcc24c5b3c916db5ab6e61566913869fc987edb0cc70d560283dd7be9", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking num-complex v0.4.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 thiserror-impl v1.0.62 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking rigetti-pyo3 v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `$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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> 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] 157 | | } [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `$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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `$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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "e4cf390fcc24c5b3c916db5ab6e61566913869fc987edb0cc70d560283dd7be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4cf390fcc24c5b3c916db5ab6e61566913869fc987edb0cc70d560283dd7be9", kill_on_drop: false }` [INFO] [stdout] e4cf390fcc24c5b3c916db5ab6e61566913869fc987edb0cc70d560283dd7be9