[INFO] fetching crate pyo3 0.22.3... [INFO] checking pyo3-0.22.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate pyo3 0.22.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate pyo3 0.22.3 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 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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7b2f5a3c0fcf478dca5bc34d628422339fdef7d2c941297d781c2e959c453559 [INFO] running `Command { std: "docker" "start" "-a" "7b2f5a3c0fcf478dca5bc34d628422339fdef7d2c941297d781c2e959c453559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b2f5a3c0fcf478dca5bc34d628422339fdef7d2c941297d781c2e959c453559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2f5a3c0fcf478dca5bc34d628422339fdef7d2c941297d781c2e959c453559", kill_on_drop: false }` [INFO] [stdout] 7b2f5a3c0fcf478dca5bc34d628422339fdef7d2c941297d781c2e959c453559 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 62d9ca25b90fecda744b337aecd9280824f58b9cc7dd391763687dd63e80b19f [INFO] running `Command { std: "docker" "start" "-a" "62d9ca25b90fecda744b337aecd9280824f58b9cc7dd391763687dd63e80b19f", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pyo3-build-config v0.22.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.3 [INFO] [stderr] Compiling pyo3-ffi v0.22.3 [INFO] [stderr] Compiling pyo3 v0.22.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling pyo3-macros v0.22.3 [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" "62d9ca25b90fecda744b337aecd9280824f58b9cc7dd391763687dd63e80b19f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d9ca25b90fecda744b337aecd9280824f58b9cc7dd391763687dd63e80b19f", kill_on_drop: false }` [INFO] [stdout] 62d9ca25b90fecda744b337aecd9280824f58b9cc7dd391763687dd63e80b19f