[INFO] fetching crate nydus-rafs 0.3.2... [INFO] checking nydus-rafs-0.3.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate nydus-rafs 0.3.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate nydus-rafs 0.3.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nydus-rafs 0.3.2 [INFO] finished tweaking crates.io crate nydus-rafs 0.3.2 [INFO] tweaked toml for crates.io crate nydus-rafs 0.3.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding fuse-backend-rs v0.10.5 (available: v0.12.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding memoffset v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.2) [INFO] [stderr] Adding nix v0.24.3 (available: v0.29.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding vhost v0.6.1 (available: v0.12.0) [INFO] [stderr] Adding virtio-bindings v0.1.0 (available: v0.2.3) [INFO] [stderr] Adding virtio-queue v0.7.1 (available: v0.13.0) [INFO] [stderr] Adding vm-memory v0.10.0 (available: v0.15.0) [INFO] [stderr] Adding vmm-sys-util v0.11.2 (available: v0.12.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 (available: v0.13.2) [INFO] [stderr] Adding zstd-safe v5.0.2+zstd.1.5.2 (available: v7.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88cb6cc53f728bc3b50d9006371ea56dc9567b9ef256aa595d26d8ecda509c39 [INFO] running `Command { std: "docker" "start" "-a" "88cb6cc53f728bc3b50d9006371ea56dc9567b9ef256aa595d26d8ecda509c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88cb6cc53f728bc3b50d9006371ea56dc9567b9ef256aa595d26d8ecda509c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88cb6cc53f728bc3b50d9006371ea56dc9567b9ef256aa595d26d8ecda509c39", kill_on_drop: false }` [INFO] [stdout] 88cb6cc53f728bc3b50d9006371ea56dc9567b9ef256aa595d26d8ecda509c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93d04c650161cfcad6a36c041c9e92154a8c8930d863ca85f170bdbd6dcbeb12 [INFO] running `Command { std: "docker" "start" "-a" "93d04c650161cfcad6a36c041c9e92154a8c8930d863ca85f170bdbd6dcbeb12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling fuse-backend-rs v0.10.5 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking vmm-sys-util v0.11.2 [INFO] [stderr] Checking vm-memory v0.10.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Compiling openssl-src v300.3.2+3.3.2 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling lz4-sys v1.11.0 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tar v0.4.42 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking lz4 v1.27.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking nydus-api v0.3.1 [INFO] [stderr] Checking nydus-utils v0.4.3 [INFO] [stderr] Checking nydus-storage v0.6.4 [INFO] [stderr] Checking nydus-rafs v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `backend-oss` [INFO] [stdout] --> src/fs.rs:876:17 [INFO] [stdout] | [INFO] [stdout] 876 | #[cfg(all(test, feature = "backend-oss"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `fusedev`, `vhost-user-fs`, and `virtio-fs` [INFO] [stdout] = help: consider adding `backend-oss` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `backend-oss` [INFO] [stdout] --> src/fs.rs:876:17 [INFO] [stdout] | [INFO] [stdout] 876 | #[cfg(all(test, feature = "backend-oss"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `fusedev`, `vhost-user-fs`, and `virtio-fs` [INFO] [stdout] = help: consider adding `backend-oss` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fs.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 234 | let mut handler = |_inode, name: OsString, ino, offset| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | match add_entry(DirEntry { [INFO] [stdout] | ___________________^ [INFO] [stdout] 236 | | ino, [INFO] [stdout] 237 | | offset, [INFO] [stdout] 238 | | type_: 0, [INFO] [stdout] 239 | | name: name.as_os_str().as_bytes(), [INFO] [stdout] 240 | | }) { [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<&mut std::sync::Arc, std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metadata/cached_v5.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 136 | fn add_into_parent(&mut self, child_inode: Arc) { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | if let Ok(parent_inode) = self.get_node_mut(child_inode.parent()) { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fs.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 234 | let mut handler = |_inode, name: OsString, ino, offset| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | match add_entry(DirEntry { [INFO] [stdout] | ___________________^ [INFO] [stdout] 236 | | ino, [INFO] [stdout] 237 | | offset, [INFO] [stdout] 238 | | type_: 0, [INFO] [stdout] 239 | | name: name.as_os_str().as_bytes(), [INFO] [stdout] 240 | | }) { [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<&mut std::sync::Arc, std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metadata/cached_v5.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 136 | fn add_into_parent(&mut self, child_inode: Arc) { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | if let Ok(parent_inode) = self.get_node_mut(child_inode.parent()) { [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: this value of type `std::sync::Arc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metadata/layout/v5.rs:1587:24 [INFO] [stdout] | [INFO] [stdout] 1552 | let tmp_file = TempFile::new().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1555 | let mut table = RafsV5ExtBlobTable::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1566 | let mut writer = BufWriter::new(file); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1575 | let mut reader = Box::new(file) as Box; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1576 | let mut table = RafsV5ExtBlobTable::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1587 | assert_eq!(table.get(i).unwrap().chunk_count, i * 3); [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] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/metadata/inode.rs:586:61 [INFO] [stdout] | [INFO] [stdout] 586 | *self = Self::V6(RafsV6Inode::from(i.deref().deref())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn metadata::RafsInodeExt` does not implement `Deref`, so calling `deref` on `&dyn metadata::RafsInodeExt` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/metadata/inode.rs:589:61 [INFO] [stdout] | [INFO] [stdout] 589 | *self = Self::V5(RafsV5Inode::from(i.deref().deref())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn metadata::RafsInodeExt` does not implement `Deref`, so calling `deref` on `&dyn metadata::RafsInodeExt` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nydus-rafs` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/metadata/inode.rs:586:61 [INFO] [stdout] | [INFO] [stdout] 586 | *self = Self::V6(RafsV6Inode::from(i.deref().deref())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn metadata::RafsInodeExt` does not implement `Deref`, so calling `deref` on `&dyn metadata::RafsInodeExt` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/metadata/inode.rs:589:61 [INFO] [stdout] | [INFO] [stdout] 589 | *self = Self::V5(RafsV5Inode::from(i.deref().deref())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn metadata::RafsInodeExt` does not implement `Deref`, so calling `deref` on `&dyn metadata::RafsInodeExt` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nydus-rafs` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93d04c650161cfcad6a36c041c9e92154a8c8930d863ca85f170bdbd6dcbeb12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d04c650161cfcad6a36c041c9e92154a8c8930d863ca85f170bdbd6dcbeb12", kill_on_drop: false }` [INFO] [stdout] 93d04c650161cfcad6a36c041c9e92154a8c8930d863ca85f170bdbd6dcbeb12