[INFO] fetching crate pyo3 0.22.3... [INFO] checking pyo3-0.22.3 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate pyo3 0.22.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pyo3 0.22.3 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 pyo3 0.22.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pyo3 0.22.3 [INFO] tweaked toml for crates.io crate pyo3 0.22.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 127 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [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] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c6b061565df85a0f6f3177ce9db229010d823c6f12ef4774c18cd7bc8a18229 [INFO] running `Command { std: "docker" "start" "-a" "5c6b061565df85a0f6f3177ce9db229010d823c6f12ef4774c18cd7bc8a18229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c6b061565df85a0f6f3177ce9db229010d823c6f12ef4774c18cd7bc8a18229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6b061565df85a0f6f3177ce9db229010d823c6f12ef4774c18cd7bc8a18229", kill_on_drop: false }` [INFO] [stdout] 5c6b061565df85a0f6f3177ce9db229010d823c6f12ef4774c18cd7bc8a18229 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce2757d41964b37f81e9e8c2212c5358e44e46f6fdee421ac2a019d0094e7d9c [INFO] running `Command { std: "docker" "start" "-a" "ce2757d41964b37f81e9e8c2212c5358e44e46f6fdee421ac2a019d0094e7d9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling pyo3-build-config v0.22.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling pyo3-ffi v0.22.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.3 [INFO] [stderr] Compiling pyo3 v0.22.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Compiling pyo3-macros v0.22.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stdout] error: this value of type `Py` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/err/mod.rs:627:36 [INFO] [stdout] | [INFO] [stdout] 623 | pub fn matches(&self, py: Python<'_>, exc: T) -> bool [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 627 | self.is_instance_bound(py, exc.to_object(py).bind(py)) [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: this value of type `Result, PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/err/mod.rs:938:28 [INFO] [stdout] | [INFO] [stdout] 936 | let type_name = value.get_type().qualname().map_err(|_| std::fmt::Error)?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 937 | write!(f, "{}", type_name)?; [INFO] [stdout] 938 | if let Ok(s) = value.str() { [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: this value of type `Result, PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instance.rs:392:11 [INFO] [stdout] | [INFO] [stdout] 384 | format_result: PyResult>, [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 392 | match any.get_type().name() { [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ce2757d41964b37f81e9e8c2212c5358e44e46f6fdee421ac2a019d0094e7d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce2757d41964b37f81e9e8c2212c5358e44e46f6fdee421ac2a019d0094e7d9c", kill_on_drop: false }` [INFO] [stdout] ce2757d41964b37f81e9e8c2212c5358e44e46f6fdee421ac2a019d0094e7d9c