[INFO] fetching crate nydus-rafs 0.3.2... [INFO] testing nydus-rafs-0.3.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate nydus-rafs 0.3.2 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nydus-rafs 0.3.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 135 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding fuse-backend-rs v0.10.5 (available: v0.13.1) [INFO] [stderr] Adding nix v0.24.3 (available: v0.30.1) [INFO] [stderr] Adding nydus-api v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding nydus-storage v0.6.4 (available: v0.7.0) [INFO] [stderr] Adding nydus-utils v0.4.3 (available: v0.5.0) [INFO] [stderr] Adding vm-memory v0.10.0 (available: v0.16.2) [INFO] [stderr] Adding vmm-sys-util v0.11.2 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 545c876a0aa5090e55f478e5583c61df95e622c21ff0a2724ec7aad3d9872f7f [INFO] running `Command { std: "docker" "start" "-a" "545c876a0aa5090e55f478e5583c61df95e622c21ff0a2724ec7aad3d9872f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "545c876a0aa5090e55f478e5583c61df95e622c21ff0a2724ec7aad3d9872f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "545c876a0aa5090e55f478e5583c61df95e622c21ff0a2724ec7aad3d9872f7f", kill_on_drop: false }` [INFO] [stdout] 545c876a0aa5090e55f478e5583c61df95e622c21ff0a2724ec7aad3d9872f7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c76a91dfad7f5c0fa4b9be79b72fce453442bc8472b30cc954b96b03ade90b9 [INFO] running `Command { std: "docker" "start" "-a" "4c76a91dfad7f5c0fa4b9be79b72fce453442bc8472b30cc954b96b03ade90b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling fuse-backend-rs v0.10.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling vm-memory v0.10.0 [INFO] [stderr] Compiling vmm-sys-util v0.11.2 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling openssl-src v300.5.3+3.5.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling caps v0.5.5 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling nydus-api v0.3.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling nydus-utils v0.4.3 [INFO] [stderr] Compiling nydus-storage v0.6.4 [INFO] [stderr] Compiling 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 01s [INFO] running `Command { std: "docker" "inspect" "4c76a91dfad7f5c0fa4b9be79b72fce453442bc8472b30cc954b96b03ade90b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c76a91dfad7f5c0fa4b9be79b72fce453442bc8472b30cc954b96b03ade90b9", kill_on_drop: false }` [INFO] [stdout] 4c76a91dfad7f5c0fa4b9be79b72fce453442bc8472b30cc954b96b03ade90b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1884e59bb035fde9eea6914c97e03c4fa97966947b9ff7cf5d5f1a0d546636d4 [INFO] running `Command { std: "docker" "start" "-a" "1884e59bb035fde9eea6914c97e03c4fa97966947b9ff7cf5d5f1a0d546636d4", kill_on_drop: false }` [INFO] [stderr] Compiling assert_matches v1.5.0 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [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] [stderr] Compiling 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.71s [INFO] running `Command { std: "docker" "inspect" "1884e59bb035fde9eea6914c97e03c4fa97966947b9ff7cf5d5f1a0d546636d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1884e59bb035fde9eea6914c97e03c4fa97966947b9ff7cf5d5f1a0d546636d4", kill_on_drop: false }` [INFO] [stdout] 1884e59bb035fde9eea6914c97e03c4fa97966947b9ff7cf5d5f1a0d546636d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73e80452ac048b8bf343cefac2c001f7585c8679aaafe02df3b21a5c9e9325d8 [INFO] running `Command { std: "docker" "start" "-a" "73e80452ac048b8bf343cefac2c001f7585c8679aaafe02df3b21a5c9e9325d8", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `backend-oss` [INFO] [stderr] --> src/fs.rs:876:17 [INFO] [stderr] | [INFO] [stderr] 876 | #[cfg(all(test, feature = "backend-oss"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `fusedev`, `vhost-user-fs`, and `virtio-fs` [INFO] [stderr] = help: consider adding `backend-oss` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:164:17 [INFO] [stderr] | [INFO] [stderr] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 164 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/metadata/inode.rs:586:61 [INFO] [stderr] | [INFO] [stderr] 586 | *self = Self::V6(RafsV6Inode::from(i.deref().deref())); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/metadata/inode.rs:589:61 [INFO] [stderr] | [INFO] [stderr] 589 | *self = Self::V5(RafsV5Inode::from(i.deref().deref())); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `nydus-rafs` (lib) generated 4 warnings (run `cargo fix --lib -p nydus-rafs` to apply 3 suggestions) [INFO] [stderr] warning: `nydus-rafs` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nydus_rafs-8ee113ea94082290) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test metadata::cached_v5::cached_tests::test_rafsv5_superblock ... ok [INFO] [stdout] test metadata::layout::tests::test_meta_range ... ok [INFO] [stdout] test metadata::layout::tests::test_bootstrap_convert ... ok [INFO] [stdout] test metadata::layout::tests::test_parse_xattrs ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_calculate_bio_chunk_index ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_add_chunk_to_bio_desc ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_rafsv5_align ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_new_inode ... ok [INFO] [stdout] test metadata::layout::tests::test_parse_string ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_invalid_blob_idx_from_chunk_addr ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_rafs_v6_chunk_header ... ok [INFO] [stdout] test metadata::cached_v5::cached_tests::test_load_inode ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_rafs_v6_chunk_addr ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_rafs_v6_device ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_rafsv5_superflags ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_rafsv5_inode_table ... ok [INFO] [stdout] test metadata::cached_v5::cached_tests::test_load_symlink ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_load_blob_table ... ok [INFO] [stdout] test metadata::cached_v5::cached_tests::test_alloc_bio_desc ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_extended_blob_table ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_rafs_v6_inode_extended ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_rafsv5_prefetch_table ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_rafs_xattr_store_v6 ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_inode_load_store ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_rafs_xattr_count_v6 ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_super_block_load_store ... ok [INFO] [stdout] test metadata::md_v6::tests::test_v6_load_invalid_magic ... ok [INFO] [stdout] test metadata::layout::v6::tests::test_rafs_xattr_size_v6 ... ok [INFO] [stdout] test metadata::md_v6::tests::test_v6_load_invalid_superblock ... ok [INFO] [stdout] test metadata::layout::v5::tests::test_rafsv5_new_xattrs ... ok [INFO] [stdout] test metadata::tests::test_rafs_compressor ... ok [INFO] [stdout] test metadata::tests::test_rafs_digestor ... ok [INFO] [stdout] test metadata::tests::test_rafs_mode ... ok [INFO] [stdout] test tests::test_rafs_io_writer ... ok [INFO] [stdout] test metadata::md_v6::tests::test_v6_load_too_small_superblock ... ok [INFO] [stdout] test tests::test_rafs_iterator ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_rafs_iterator stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_rafs_iterator' (61) panicked at src/lib.rs:329:14: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a9553810282 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a9553810282 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a9553810282 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5a9553810282 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5a955382110f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5a955382110f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5a95537dc241 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a95537dc241 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5a95537e8882 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5a95537ed5ef - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5a95537ed481 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5a95534c9d3e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5a95534c9d3e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a95537edcaf - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5a95537edcaf - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5a95537edb0a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5a95537e89c9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5a95537d080d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5a9553828ee0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5a9553828506 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5a9553478371 - core::result::Result::unwrap::h01399418f7c3321e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5a9553478371 - nydus_rafs::tests::test_rafs_iterator::hb254dc9cacf02fb9 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:329:14 [INFO] [stdout] 22: 0x5a9553478e27 - nydus_rafs::tests::test_rafs_iterator::{{closure}}::h8356ddcdd95db918 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:322:28 [INFO] [stdout] 23: 0x5a9553457f36 - core::ops::function::FnOnce::call_once::hdf38c86b19494e92 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5a95534c9b1b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5a95534c9b1b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5a95534df745 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5a95534df745 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5a95534df745 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5a95534df745 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5a95534df745 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a95534df745 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5a95534df745 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5a95534b5f54 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5a95534b5f54 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5a95534b98fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5a95534b98fa - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5a95534b98fa - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5a95534b98fa - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5a95534b98fa - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a95534b98fa - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5a95534b98fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5a95537e3aff - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x5a95537e3aff - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7b11b8da4aa4 - [INFO] [stdout] 45: 0x7b11b8e31a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_rafs_iterator [INFO] [stdout] [INFO] [stdout] test result: FAILED. 35 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "73e80452ac048b8bf343cefac2c001f7585c8679aaafe02df3b21a5c9e9325d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e80452ac048b8bf343cefac2c001f7585c8679aaafe02df3b21a5c9e9325d8", kill_on_drop: false }` [INFO] [stdout] 73e80452ac048b8bf343cefac2c001f7585c8679aaafe02df3b21a5c9e9325d8