[INFO] fetching crate pyo3-helper-macros 0.0.6... [INFO] checking pyo3-helper-macros-0.0.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pyo3-helper-macros 0.0.6 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate pyo3-helper-macros 0.0.6 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pyo3-helper-macros 0.0.6 [INFO] finished tweaking crates.io crate pyo3-helper-macros 0.0.6 [INFO] tweaked toml for crates.io crate pyo3-helper-macros 0.0.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding pyo3 v0.20.3 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-build-config v0.20.3 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-ffi v0.20.3 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-macros v0.20.3 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-macros-backend v0.20.3 (latest: v0.22.2) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddd4063915fe4ce2902503ac575ef623d5ebb5355acfb6657495931fa57beca7 [INFO] running `Command { std: "docker" "start" "-a" "ddd4063915fe4ce2902503ac575ef623d5ebb5355acfb6657495931fa57beca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddd4063915fe4ce2902503ac575ef623d5ebb5355acfb6657495931fa57beca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd4063915fe4ce2902503ac575ef623d5ebb5355acfb6657495931fa57beca7", kill_on_drop: false }` [INFO] [stdout] ddd4063915fe4ce2902503ac575ef623d5ebb5355acfb6657495931fa57beca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fce8d1e1346aca489da88a9eac6eda64ac014d42becc9a7f6e29ef0a87825d7d [INFO] running `Command { std: "docker" "start" "-a" "fce8d1e1346aca489da88a9eac6eda64ac014d42becc9a7f6e29ef0a87825d7d", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Checking pyo3-helper-macros v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/args.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 14 | let mut supported_types = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let mut convert_types = HashMap::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(WrapImplArgs { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | supported_types, [INFO] [stdout] 37 | | convert_types, [INFO] [stdout] 38 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn get_consts(input: ItemImpl) -> Vec { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | / input [INFO] [stdout] 93 | | .items [INFO] [stdout] 94 | | .into_iter() [INFO] [stdout] 95 | | .filter_map(|item| { [INFO] [stdout] ... | [INFO] [stdout] 99 | | None [INFO] [stdout] 100 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn get_consts_v2(items: Vec) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | / items [INFO] [stdout] 106 | | .into_iter() [INFO] [stdout] 107 | | .filter_map(|item| { [INFO] [stdout] 108 | | if let ImplItem::Const(constant) = item { [INFO] [stdout] ... | [INFO] [stdout] 111 | | None [INFO] [stdout] 112 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn get_pub_methods_v2(items: Vec) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | / items [INFO] [stdout] 118 | | .into_iter() [INFO] [stdout] 119 | | .filter_map(|item| { [INFO] [stdout] 120 | | if let ImplItem::Fn(method) = item { [INFO] [stdout] ... | [INFO] [stdout] 126 | | None [INFO] [stdout] 127 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn get_pub_methods(input: ItemImpl) -> Vec { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | / input [INFO] [stdout] 133 | | .items [INFO] [stdout] 134 | | .into_iter() [INFO] [stdout] 135 | | .filter_map(|item| { [INFO] [stdout] ... | [INFO] [stdout] 142 | | None [INFO] [stdout] 143 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) fn get_all_methods_v2(items: Vec) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | / items [INFO] [stdout] 149 | | .into_iter() [INFO] [stdout] 150 | | .filter_map(|item| { [INFO] [stdout] 151 | | if let ImplItem::Fn(method) = item { [INFO] [stdout] ... | [INFO] [stdout] 154 | | None [INFO] [stdout] 155 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) fn get_all_methods(input: ItemImpl) -> Vec { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | / input [INFO] [stdout] 161 | | .items [INFO] [stdout] 162 | | .into_iter() [INFO] [stdout] 163 | | .filter_map(|item| { [INFO] [stdout] ... | [INFO] [stdout] 167 | | None [INFO] [stdout] 168 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3-helper-macros` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fce8d1e1346aca489da88a9eac6eda64ac014d42becc9a7f6e29ef0a87825d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce8d1e1346aca489da88a9eac6eda64ac014d42becc9a7f6e29ef0a87825d7d", kill_on_drop: false }` [INFO] [stdout] fce8d1e1346aca489da88a9eac6eda64ac014d42becc9a7f6e29ef0a87825d7d