[INFO] fetching crate zipfs 0.0.2... [INFO] checking zipfs-0.0.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zipfs 0.0.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate zipfs 0.0.2 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 zipfs 0.0.2 [INFO] finished tweaking crates.io crate zipfs 0.0.2 [INFO] tweaked toml for crates.io crate zipfs 0.0.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 89 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding path-clean v0.1.0 (latest: v1.0.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] 622a1e8572a91a6d32c61f5f088a416e136340ef5de5e31a2d36ee59ac117742 [INFO] running `Command { std: "docker" "start" "-a" "622a1e8572a91a6d32c61f5f088a416e136340ef5de5e31a2d36ee59ac117742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "622a1e8572a91a6d32c61f5f088a416e136340ef5de5e31a2d36ee59ac117742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622a1e8572a91a6d32c61f5f088a416e136340ef5de5e31a2d36ee59ac117742", kill_on_drop: false }` [INFO] [stdout] 622a1e8572a91a6d32c61f5f088a416e136340ef5de5e31a2d36ee59ac117742 [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] a6ea67cc54fdc0836826cc4afd7b7ee8f96b9a527e30a89f9c5fcdadb47b60fa [INFO] running `Command { std: "docker" "start" "-a" "a6ea67cc54fdc0836826cc4afd7b7ee8f96b9a527e30a89f9c5fcdadb47b60fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling lunchbox v0.1.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking relative-path v1.9.3 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking async_zip2 v0.0.1 [INFO] [stderr] Checking zipfs v0.0.2 (/opt/rustwide/workdir) [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/lib.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | .find(|(_, entry)| path == entry.filename().as_str().unwrap()); [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/lib.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 250 | let zip = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | zip.into_entry(entry_idx).await.unwrap().compat() [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/lib.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 271 | async fn open(&self, path: impl PathType) -> Result [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | / { [INFO] [stdout] 275 | | // Find the file we want to open [INFO] [stdout] 276 | | let path = self.canonicalize(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 279 | | self.open_no_follow_symlink(&path).await [INFO] [stdout] 280 | | } [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/lib.rs:282:74 [INFO] [stdout] | [INFO] [stdout] 282 | async fn canonicalize(&self, path: impl PathType) -> Result { [INFO] [stdout] | __________________________________-------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | | // We don't currently support directory symlinks. This means we only need to worry about the last [INFO] [stdout] 284 | | // component being a symlink. This means we can just open the file at `path` and keep following symlinks [INFO] [stdout] 285 | | // until we hit a target that isn't a symlink (or doesn't exist) [INFO] [stdout] ... | [INFO] [stdout] 325 | | } [INFO] [stdout] 326 | | } [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/lib.rs:328:71 [INFO] [stdout] | [INFO] [stdout] 328 | async fn metadata(&self, path: impl PathType) -> Result { [INFO] [stdout] | ______________________________-------------------______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | | // Note: `open` follows the symlink chain (if any) [INFO] [stdout] 330 | | self.open(path).await?.metadata().await [INFO] [stdout] 331 | | } [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/lib.rs:333:66 [INFO] [stdout] | [INFO] [stdout] 333 | async fn read(&self, path: impl PathType) -> Result> { [INFO] [stdout] | __________________________-------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | | // Note: `open` follows the symlink chain (if any) [INFO] [stdout] 335 | | let mut f = self.open(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 341 | | Ok(v) [INFO] [stdout] 342 | | } [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/lib.rs:349:57 [INFO] [stdout] | [INFO] [stdout] 348 | path: impl PathType, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | ) -> Result> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 350 | | // We don't support directory symlinks yet so we don't have to do anything special here [INFO] [stdout] 351 | | // Find all files within that directory [INFO] [stdout] 352 | | let base_path = self.canonicalize(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 368 | | Ok(ReadDir::new(poller, self)) [INFO] [stdout] 369 | | } [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/lib.rs:371:71 [INFO] [stdout] | [INFO] [stdout] 371 | async fn read_link(&self, path: impl PathType) -> Result { [INFO] [stdout] | _______________________________-------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | | // Open the file and check if it's a symlink [INFO] [stdout] 373 | | let path = path.as_ref(); [INFO] [stdout] 374 | | let mut f = self.open_no_follow_symlink(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 400 | | } [INFO] [stdout] 401 | | } [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/lib.rs:403:75 [INFO] [stdout] | [INFO] [stdout] 403 | async fn read_to_string(&self, path: impl PathType) -> Result { [INFO] [stdout] | ____________________________________-------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 404 | | let data = self.read(path).await?; [INFO] [stdout] 405 | | let s = String::from_utf8(data).map_err(|_| { [INFO] [stdout] 406 | | std::io::Error::new( [INFO] [stdout] ... | [INFO] [stdout] 411 | | Ok(s) [INFO] [stdout] 412 | | } [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/lib.rs:414:79 [INFO] [stdout] | [INFO] [stdout] 414 | async fn symlink_metadata(&self, path: impl PathType) -> Result { [INFO] [stdout] | ______________________________________-------------------______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 415 | | // We don't want to follow symlink chains here [INFO] [stdout] 416 | | self.open_no_follow_symlink(path).await?.metadata().await [INFO] [stdout] 417 | | } [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zipfs` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | .find(|(_, entry)| path == entry.filename().as_str().unwrap()); [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/lib.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 250 | let zip = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | zip.into_entry(entry_idx).await.unwrap().compat() [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/lib.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 271 | async fn open(&self, path: impl PathType) -> Result [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | / { [INFO] [stdout] 275 | | // Find the file we want to open [INFO] [stdout] 276 | | let path = self.canonicalize(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 279 | | self.open_no_follow_symlink(&path).await [INFO] [stdout] 280 | | } [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/lib.rs:282:74 [INFO] [stdout] | [INFO] [stdout] 282 | async fn canonicalize(&self, path: impl PathType) -> Result { [INFO] [stdout] | __________________________________-------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | | // We don't currently support directory symlinks. This means we only need to worry about the last [INFO] [stdout] 284 | | // component being a symlink. This means we can just open the file at `path` and keep following symlinks [INFO] [stdout] 285 | | // until we hit a target that isn't a symlink (or doesn't exist) [INFO] [stdout] ... | [INFO] [stdout] 325 | | } [INFO] [stdout] 326 | | } [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/lib.rs:328:71 [INFO] [stdout] | [INFO] [stdout] 328 | async fn metadata(&self, path: impl PathType) -> Result { [INFO] [stdout] | ______________________________-------------------______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | | // Note: `open` follows the symlink chain (if any) [INFO] [stdout] 330 | | self.open(path).await?.metadata().await [INFO] [stdout] 331 | | } [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/lib.rs:333:66 [INFO] [stdout] | [INFO] [stdout] 333 | async fn read(&self, path: impl PathType) -> Result> { [INFO] [stdout] | __________________________-------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | | // Note: `open` follows the symlink chain (if any) [INFO] [stdout] 335 | | let mut f = self.open(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 341 | | Ok(v) [INFO] [stdout] 342 | | } [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/lib.rs:349:57 [INFO] [stdout] | [INFO] [stdout] 348 | path: impl PathType, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | ) -> Result> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 350 | | // We don't support directory symlinks yet so we don't have to do anything special here [INFO] [stdout] 351 | | // Find all files within that directory [INFO] [stdout] 352 | | let base_path = self.canonicalize(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 368 | | Ok(ReadDir::new(poller, self)) [INFO] [stdout] 369 | | } [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/lib.rs:371:71 [INFO] [stdout] | [INFO] [stdout] 371 | async fn read_link(&self, path: impl PathType) -> Result { [INFO] [stdout] | _______________________________-------------------_____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | | // Open the file and check if it's a symlink [INFO] [stdout] 373 | | let path = path.as_ref(); [INFO] [stdout] 374 | | let mut f = self.open_no_follow_symlink(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 400 | | } [INFO] [stdout] 401 | | } [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/lib.rs:403:75 [INFO] [stdout] | [INFO] [stdout] 403 | async fn read_to_string(&self, path: impl PathType) -> Result { [INFO] [stdout] | ____________________________________-------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 404 | | let data = self.read(path).await?; [INFO] [stdout] 405 | | let s = String::from_utf8(data).map_err(|_| { [INFO] [stdout] 406 | | std::io::Error::new( [INFO] [stdout] ... | [INFO] [stdout] 411 | | Ok(s) [INFO] [stdout] 412 | | } [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/lib.rs:414:79 [INFO] [stdout] | [INFO] [stdout] 414 | async fn symlink_metadata(&self, path: impl PathType) -> Result { [INFO] [stdout] | ______________________________________-------------------______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 415 | | // We don't want to follow symlink chains here [INFO] [stdout] 416 | | self.open_no_follow_symlink(path).await?.metadata().await [INFO] [stdout] 417 | | } [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zipfs` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "a6ea67cc54fdc0836826cc4afd7b7ee8f96b9a527e30a89f9c5fcdadb47b60fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ea67cc54fdc0836826cc4afd7b7ee8f96b9a527e30a89f9c5fcdadb47b60fa", kill_on_drop: false }` [INFO] [stdout] a6ea67cc54fdc0836826cc4afd7b7ee8f96b9a527e30a89f9c5fcdadb47b60fa