[INFO] fetching crate rigetti-pyo3 0.4.1... [INFO] checking rigetti-pyo3-0.4.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate rigetti-pyo3 0.4.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rigetti-pyo3 0.4.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-0-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9a9a9f4bc6f336af250aa3929fed4fe48b28af8f0355211f12e20d5bb25be6f [INFO] running `Command { std: "docker" "start" "-a" "e9a9a9f4bc6f336af250aa3929fed4fe48b28af8f0355211f12e20d5bb25be6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9a9a9f4bc6f336af250aa3929fed4fe48b28af8f0355211f12e20d5bb25be6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a9a9f4bc6f336af250aa3929fed4fe48b28af8f0355211f12e20d5bb25be6f", kill_on_drop: false }` [INFO] [stdout] e9a9a9f4bc6f336af250aa3929fed4fe48b28af8f0355211f12e20d5bb25be6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e890fca2a288f6c9a78c4c06d2a9dd9c959b9e2eefb7ae8dd7ff9d64d84a6c0 [INFO] running `Command { std: "docker" "start" "-a" "0e890fca2a288f6c9a78c4c06d2a9dd9c959b9e2eefb7ae8dd7ff9d64d84a6c0", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [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] --> 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.25s [INFO] running `Command { std: "docker" "inspect" "0e890fca2a288f6c9a78c4c06d2a9dd9c959b9e2eefb7ae8dd7ff9d64d84a6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e890fca2a288f6c9a78c4c06d2a9dd9c959b9e2eefb7ae8dd7ff9d64d84a6c0", kill_on_drop: false }` [INFO] [stdout] 0e890fca2a288f6c9a78c4c06d2a9dd9c959b9e2eefb7ae8dd7ff9d64d84a6c0