[INFO] cloning repository https://github.com/ehuss/cargo-index [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ehuss/cargo-index" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fehuss%2Fcargo-index", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fehuss%2Fcargo-index'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fffcf2959b84d18bd5b4ef2efc18e5168f900d03 [INFO] checking ehuss/cargo-index against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fehuss%2Fcargo-index" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ehuss/cargo-index on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ehuss/cargo-index [INFO] finished tweaking git repo https://github.com/ehuss/cargo-index [INFO] tweaked toml for git repo https://github.com/ehuss/cargo-index written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ehuss/cargo-index 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2 v0.18.1 [INFO] [stderr] Downloaded libgit2-sys v0.16.1+1.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb2edfae952b9d3ebe76d19dd913d20ef05ffbf0004820bd010b2abea39fc503 [INFO] running `Command { std: "docker" "start" "-a" "eb2edfae952b9d3ebe76d19dd913d20ef05ffbf0004820bd010b2abea39fc503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb2edfae952b9d3ebe76d19dd913d20ef05ffbf0004820bd010b2abea39fc503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2edfae952b9d3ebe76d19dd913d20ef05ffbf0004820bd010b2abea39fc503", kill_on_drop: false }` [INFO] [stdout] eb2edfae952b9d3ebe76d19dd913d20ef05ffbf0004820bd010b2abea39fc503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef581ef48073f8f4f5093aa97b8ab029d66bad99efe1ce50f2494a387512ae36 [INFO] running `Command { std: "docker" "start" "-a" "ef581ef48073f8f4f5093aa97b8ab029d66bad99efe1ce50f2494a387512ae36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking cpufeatures v0.2.10 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking cargo-platform v0.1.4 [INFO] [stderr] Checking camino v1.1.6 [INFO] [stderr] Checking git2 v0.18.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking reg-index v0.6.0 (/opt/rustwide/workdir/reg-index) [INFO] [stderr] Checking cargo-index v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `api_path` is never read [INFO] [stdout] --> tests/support/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct TestIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 207 | pub api_path: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.31s [INFO] running `Command { std: "docker" "inspect" "ef581ef48073f8f4f5093aa97b8ab029d66bad99efe1ce50f2494a387512ae36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef581ef48073f8f4f5093aa97b8ab029d66bad99efe1ce50f2494a387512ae36", kill_on_drop: false }` [INFO] [stdout] ef581ef48073f8f4f5093aa97b8ab029d66bad99efe1ce50f2494a387512ae36 [INFO] checking ehuss/cargo-index against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fehuss%2Fcargo-index" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ehuss/cargo-index on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ehuss/cargo-index [INFO] finished tweaking git repo https://github.com/ehuss/cargo-index [INFO] tweaked toml for git repo https://github.com/ehuss/cargo-index written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ehuss/cargo-index 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fffde454b318ff8b7fe2200e44192bf8b57cca7a2ded09b2f9810b5a75130b17 [INFO] running `Command { std: "docker" "start" "-a" "fffde454b318ff8b7fe2200e44192bf8b57cca7a2ded09b2f9810b5a75130b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fffde454b318ff8b7fe2200e44192bf8b57cca7a2ded09b2f9810b5a75130b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffde454b318ff8b7fe2200e44192bf8b57cca7a2ded09b2f9810b5a75130b17", kill_on_drop: false }` [INFO] [stdout] fffde454b318ff8b7fe2200e44192bf8b57cca7a2ded09b2f9810b5a75130b17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8d3cac915972738b6508e5a0b928bddeb2bf53d168a8161b4f122306d54dd9c [INFO] running `Command { std: "docker" "start" "-a" "f8d3cac915972738b6508e5a0b928bddeb2bf53d168a8161b4f122306d54dd9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking cpufeatures v0.2.10 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking camino v1.1.6 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking cargo-platform v0.1.4 [INFO] [stderr] Checking git2 v0.18.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking reg-index v0.6.0 (/opt/rustwide/workdir/reg-index) [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] --> reg-index/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 133 | fn parse_dependency_kind<'de, D>(d: D) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | serde::Deserialize::deserialize(d).map(|x: Option<_>| x.unwrap_or_default()) [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] --> reg-index/src/lock.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_exclusive(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(Lock { file }) [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] | [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] --> reg-index/src/lock.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_shared(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Ok(Lock { file }) [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] | [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] --> reg-index/src/metadata.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 27 | crate_path: impl AsRef, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let (_tmp_dir, pkg_path) = extract_crate(crate_path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(metadata_reg( [INFO] [stdout] | ________^ [INFO] [stdout] 32 | | index_url, [INFO] [stdout] 33 | | Some(&pkg_path.join("Cargo.toml")), [INFO] [stdout] 34 | | Some(crate_path), [INFO] [stdout] 35 | | None, [INFO] [stdout] 36 | | )? [INFO] [stdout] 37 | | .index_pkg) [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] | [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] --> reg-index/src/metadata.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | .find(|p| is_same_file(&p.manifest_path, &actual_manifest_path).unwrap_or(false)) [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] --> reg-index/src/util.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 72 | let crate_file = fs::File::open(crate_path) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | .with_context(|| format!("Failed to open `{}`.", crate_path.display()))?; [INFO] [stdout] 74 | let tmp_dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let gz = flate2::read::GzDecoder::new(crate_file); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut tar = tar::Archive::new(gz); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok((tmp_dir, pkg_path)) [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] | [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] --> reg-index/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 133 | fn parse_dependency_kind<'de, D>(d: D) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | serde::Deserialize::deserialize(d).map(|x: Option<_>| x.unwrap_or_default()) [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] --> reg-index/src/lock.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_exclusive(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(Lock { file }) [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] | [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] --> reg-index/src/lock.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_shared(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Ok(Lock { file }) [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] | [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] --> reg-index/src/metadata.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 27 | crate_path: impl AsRef, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let (_tmp_dir, pkg_path) = extract_crate(crate_path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(metadata_reg( [INFO] [stdout] | ________^ [INFO] [stdout] 32 | | index_url, [INFO] [stdout] 33 | | Some(&pkg_path.join("Cargo.toml")), [INFO] [stdout] 34 | | Some(crate_path), [INFO] [stdout] 35 | | None, [INFO] [stdout] 36 | | )? [INFO] [stdout] 37 | | .index_pkg) [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] | [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] --> reg-index/src/metadata.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | .find(|p| is_same_file(&p.manifest_path, &actual_manifest_path).unwrap_or(false)) [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] --> reg-index/src/util.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 72 | let crate_file = fs::File::open(crate_path) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | .with_context(|| format!("Failed to open `{}`.", crate_path.display()))?; [INFO] [stdout] 74 | let tmp_dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let gz = flate2::read::GzDecoder::new(crate_file); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut tar = tar::Archive::new(gz); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok((tmp_dir, pkg_path)) [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] | [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reg-index` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `reg-index` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f8d3cac915972738b6508e5a0b928bddeb2bf53d168a8161b4f122306d54dd9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d3cac915972738b6508e5a0b928bddeb2bf53d168a8161b4f122306d54dd9c", kill_on_drop: false }` [INFO] [stdout] f8d3cac915972738b6508e5a0b928bddeb2bf53d168a8161b4f122306d54dd9c