[INFO] fetching crate xcframework 0.1.0-alpha.5... [INFO] checking xcframework-0.1.0-alpha.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate xcframework 0.1.0-alpha.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate xcframework 0.1.0-alpha.5 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 xcframework 0.1.0-alpha.5 [INFO] finished tweaking crates.io crate xcframework 0.1.0-alpha.5 [INFO] tweaked toml for crates.io crate xcframework 0.1.0-alpha.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate xcframework 0.1.0-alpha.5 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 121502b598f5ed991f10f890890cce7cf8a138090cc810b5668eeb0b90fc46c8 [INFO] running `Command { std: "docker" "start" "-a" "121502b598f5ed991f10f890890cce7cf8a138090cc810b5668eeb0b90fc46c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "121502b598f5ed991f10f890890cce7cf8a138090cc810b5668eeb0b90fc46c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121502b598f5ed991f10f890890cce7cf8a138090cc810b5668eeb0b90fc46c8", kill_on_drop: false }` [INFO] [stdout] 121502b598f5ed991f10f890890cce7cf8a138090cc810b5668eeb0b90fc46c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a3de4cb9eccae95fe7813949a2c000f3018fa84dce9a6be078bcb4d9c89c5bc3 [INFO] running `Command { std: "docker" "start" "-a" "a3de4cb9eccae95fe7813949a2c000f3018fa84dce9a6be078bcb4d9c89c5bc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking deranged v0.3.10 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Checking winnow v0.5.28 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking string-sections v0.1.0 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking cargo-platform v0.1.5 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking rustup-configurator v0.1.1 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking zip-extensions v0.6.2 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking xcframework v0.1.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `dir` is never read [INFO] [stdout] --> src/conf/configuration.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | /// Root dir of the project [INFO] [stdout] 13 | pub dir: Utf8PathBuf, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configuration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking markdown-includes v0.1.1 [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/cmd/modulemap.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | let file = File::open(&mm)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | parse_module_name(&content).context(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/conf/configuration.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 40 | let metadata = MetadataCommand::new().manifest_path(manifest_path).exec()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | anyhow::bail!("Could not find root package in metadata"); [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let xc_conf = XCFrameworkConfiguration::parse(&package.metadata, &dir)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | bail!("Please add 'cdylib' to '[lib] crate-type' in Cargo.toml") [INFO] [stdout] | ---------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | bail!("Please add 'staticlib' to '[lib] crate-type' in Cargo.toml") [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | bail!("Please set '[package.metadata.xcframework] lib-type' in Cargo.toml") [INFO] [stdout] | --------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | } [INFO] [stdout] 72 | (None, None, _) => bail!("Missing '[lib] crate-type' in Cargo.toml"), [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 91 | | dir, [INFO] [stdout] 92 | | cargo_section: xc_conf, [INFO] [stdout] 93 | | cli, [INFO] [stdout] ... | [INFO] [stdout] 98 | | build_dir, [INFO] [stdout] 99 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xcframework` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a3de4cb9eccae95fe7813949a2c000f3018fa84dce9a6be078bcb4d9c89c5bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3de4cb9eccae95fe7813949a2c000f3018fa84dce9a6be078bcb4d9c89c5bc3", kill_on_drop: false }` [INFO] [stdout] a3de4cb9eccae95fe7813949a2c000f3018fa84dce9a6be078bcb4d9c89c5bc3