[INFO] fetching crate maturin 1.7.2... [INFO] checking maturin-1.7.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate maturin 1.7.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate maturin 1.7.2 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 maturin 1.7.2 [INFO] finished tweaking crates.io crate maturin 1.7.2 [INFO] tweaked toml for crates.io crate maturin 1.7.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate maturin 1.7.2 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 29517e704f1d9b4cfb1fd5fbbe0bac6ef0dddff488003862f5ef099b88778cd8 [INFO] running `Command { std: "docker" "start" "-a" "29517e704f1d9b4cfb1fd5fbbe0bac6ef0dddff488003862f5ef099b88778cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29517e704f1d9b4cfb1fd5fbbe0bac6ef0dddff488003862f5ef099b88778cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29517e704f1d9b4cfb1fd5fbbe0bac6ef0dddff488003862f5ef099b88778cd8", kill_on_drop: false }` [INFO] [stdout] 29517e704f1d9b4cfb1fd5fbbe0bac6ef0dddff488003862f5ef099b88778cd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ad1e934f3c7605c87d0c81a81a7fa6ec38ae2a5a594b43f07aa5478d4257c9f3 [INFO] running `Command { std: "docker" "start" "-a" "ad1e934f3c7605c87d0c81a81a7fa6ec38ae2a5a594b43f07aa5478d4257c9f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking charset v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cfb v0.9.0 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking webpki-roots v0.26.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking lzxd v0.2.5 [INFO] [stderr] Checking unscanny v0.1.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking quoted_printable v0.5.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking cab v0.5.0 [INFO] [stderr] Checking msi v0.7.0 [INFO] [stderr] Checking cli-table v0.4.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking versions v6.2.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Checking mailparse v0.15.0 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking which v5.0.0 [INFO] [stderr] Checking which v6.0.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking rustflags v0.1.6 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking cc v1.1.21 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking snapbox-macros v0.3.9 [INFO] [stderr] Checking platform-info v2.0.3 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking wild v2.2.1 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking configparser v3.1.0 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking normpath v1.2.0 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking snapbox v0.6.10 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling automod v1.0.14 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rfc2047-decoder v1.0.5 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking python-pkginfo v0.6.2 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking cargo-options v0.7.4 [INFO] [stderr] Checking clap_complete v4.5.5 [INFO] [stderr] Checking clap_complete_nushell v4.5.2 [INFO] [stderr] Checking clap_complete_command v0.6.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.21.0 [INFO] [stderr] Checking lddtree v0.3.5 [INFO] [stderr] Checking fat-macho v0.4.8 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking pep440_rs v0.6.0 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking minijinja v1.0.21 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking pep508_rs v0.6.0 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking ureq v2.9.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking cargo-config2 v0.1.26 [INFO] [stderr] Checking trycmd v0.15.4 [INFO] [stderr] Checking xwin v0.5.1 [INFO] [stderr] Checking pyproject-toml v0.11.0 [INFO] [stderr] Checking cargo-zigbuild v0.19.3 [INFO] [stderr] Checking cargo-xwin v0.16.5 [INFO] [stderr] Checking maturin v1.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result, goblin::error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auditwheel/patchelf.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_rpath(file: impl AsRef) -> Result> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | match goblin::Object::parse(&contents) { [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 `std::result::Result, goblin::error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auditwheel/patchelf.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_rpath(file: impl AsRef) -> Result> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | match goblin::Object::parse(&contents) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/python_interpreter/mod.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 249 | let python_info = Command::new(executable) [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] ... [INFO] [stdout] 270 | let expr = Regex::new(r"(\d).(\d).(\d+)").unwrap(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 271 | if let Some(capture) = expr.captures(version_info) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maturin` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/python_interpreter/mod.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 249 | let python_info = Command::new(executable) [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] ... [INFO] [stdout] 270 | let expr = Regex::new(r"(\d).(\d).(\d+)").unwrap(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 271 | if let Some(capture) = expr.captures(version_info) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maturin` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ad1e934f3c7605c87d0c81a81a7fa6ec38ae2a5a594b43f07aa5478d4257c9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad1e934f3c7605c87d0c81a81a7fa6ec38ae2a5a594b43f07aa5478d4257c9f3", kill_on_drop: false }` [INFO] [stdout] ad1e934f3c7605c87d0c81a81a7fa6ec38ae2a5a594b43f07aa5478d4257c9f3