[INFO] fetching crate rpk 0.2.0... [INFO] checking rpk-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rpk 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rpk 0.2.0 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] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rpk 0.2.0 [INFO] finished tweaking crates.io crate rpk 0.2.0 [INFO] tweaked toml for crates.io crate rpk 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate rpk 0.2.0 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] [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] fc96281dfbf1e90de5140748473803af8ed6c53d0a9dc10b539347ff0a17ba3f [INFO] running `Command { std: "docker" "start" "-a" "fc96281dfbf1e90de5140748473803af8ed6c53d0a9dc10b539347ff0a17ba3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc96281dfbf1e90de5140748473803af8ed6c53d0a9dc10b539347ff0a17ba3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc96281dfbf1e90de5140748473803af8ed6c53d0a9dc10b539347ff0a17ba3f", kill_on_drop: false }` [INFO] [stdout] fc96281dfbf1e90de5140748473803af8ed6c53d0a9dc10b539347ff0a17ba3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cda7787412cfbc89aca14a97d1a1530ae579044b779d7cde033dcdf0beaa603d [INFO] running `Command { std: "docker" "start" "-a" "cda7787412cfbc89aca14a97d1a1530ae579044b779d7cde033dcdf0beaa603d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling zip v2.1.6 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking papergrid v0.12.0 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rpk v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking filetime v0.2.24 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking emojis v0.6.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking fmutex v0.1.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking constcat v0.5.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling tabled_derive v0.8.0 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tabled v0.16.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking clap_complete v4.5.14 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [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/commands.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 243 | .flat_map(|repo| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | Some(RepoItem { [INFO] [stdout] | __________________^ [INFO] [stdout] 245 | | name: repo.name, [INFO] [stdout] 246 | | desc: repo.description.unwrap_or_default().emojify(), [INFO] [stdout] 247 | | stars: repo.stargazers_count.map(|x| format!("★ {x}")).unwrap_or_default(), [INFO] [stdout] ... | [INFO] [stdout] 250 | | fullname_width: fullname_width.clone(), [INFO] [stdout] 251 | | }) [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] --> src/config/editable.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) if not_found_err(&e) => include_str!("packages.toml").to_owned(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | buf => buf.with_context(|| format!("failed to read {}", ctx.config_file.display()))?, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let doc = buf.parse().context("failed to parse TOML")?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(Self { ctx, doc }) [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] [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/config/locked.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | fs::write(&self.ctx.lock_file, buf).with_context(|| format!("failed to save {}", self.ctx.lock_file.display())) [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] --> src/commands.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 243 | .flat_map(|repo| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | Some(RepoItem { [INFO] [stdout] | __________________^ [INFO] [stdout] 245 | | name: repo.name, [INFO] [stdout] 246 | | desc: repo.description.unwrap_or_default().emojify(), [INFO] [stdout] 247 | | stars: repo.stargazers_count.map(|x| format!("★ {x}")).unwrap_or_default(), [INFO] [stdout] ... | [INFO] [stdout] 250 | | fullname_width: fullname_width.clone(), [INFO] [stdout] 251 | | }) [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] --> src/provider/github.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 30 | let agent = ureq::AgentBuilder::new() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Github { client: agent, ctx }) [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] --> src/config/editable.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) if not_found_err(&e) => include_str!("packages.toml").to_owned(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | buf => buf.with_context(|| format!("failed to read {}", ctx.config_file.display()))?, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let doc = buf.parse().context("failed to parse TOML")?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(Self { ctx, doc }) [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] [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/config/locked.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | fs::write(&self.ctx.lock_file, buf).with_context(|| format!("failed to save {}", self.ctx.lock_file.display())) [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] --> src/util/fs.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn symlink_force(src: impl AsRef, dst: impl AsRef) -> anyhow::Result<()> { [INFO] [stdout] | --------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | unix::fs::symlink(src, dst).map_err(Into::into) [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] --> src/util/fs.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn mkdir_p(dir: impl AsRef) -> anyhow::Result<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | trace!("creating directory: {:?}", dir.as_ref()); [INFO] [stdout] 27 | match fs::create_dir_all(dir) { [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] --> src/util/fs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn remove_file_if_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | match fs::remove_file(path) { [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] --> src/provider/github.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 30 | let agent = ureq::AgentBuilder::new() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Github { client: agent, ctx }) [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] --> src/util/temp.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_force(orig_path: impl AsRef) -> anyhow::Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let temp_file = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | File::create(&temp_path).with_context(|| format!("failed to create temporary file: {:?}", temp_path))?; [INFO] [stdout] 31 | Ok(Self { temp_file, temp_path, orig_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] | 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] --> src/util/fs.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn symlink_force(src: impl AsRef, dst: impl AsRef) -> anyhow::Result<()> { [INFO] [stdout] | --------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | unix::fs::symlink(src, dst).map_err(Into::into) [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] --> src/util/fs.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn mkdir_p(dir: impl AsRef) -> anyhow::Result<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | trace!("creating directory: {:?}", dir.as_ref()); [INFO] [stdout] 27 | match fs::create_dir_all(dir) { [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] --> src/util/fs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn remove_file_if_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | match fs::remove_file(path) { [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] --> src/util/temp.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_force(orig_path: impl AsRef) -> anyhow::Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let temp_file = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | File::create(&temp_path).with_context(|| format!("failed to create temporary file: {:?}", temp_path))?; [INFO] [stdout] 31 | Ok(Self { temp_file, temp_path, orig_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] | 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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpk` (bin "rpk" test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpk` (bin "rpk") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "cda7787412cfbc89aca14a97d1a1530ae579044b779d7cde033dcdf0beaa603d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda7787412cfbc89aca14a97d1a1530ae579044b779d7cde033dcdf0beaa603d", kill_on_drop: false }` [INFO] [stdout] cda7787412cfbc89aca14a97d1a1530ae579044b779d7cde033dcdf0beaa603d