[INFO] cloning repository https://github.com/dragonflyoss/image-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dragonflyoss/image-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragonflyoss%2Fimage-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragonflyoss%2Fimage-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffdc17c120c09a43f3264522780ad9ba886c38d6 [INFO] testing dragonflyoss/image-service against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragonflyoss%2Fimage-service" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/dragonflyoss/image-service [INFO] finished tweaking git repo https://github.com/dragonflyoss/image-service [INFO] tweaked toml for git repo https://github.com/dragonflyoss/image-service written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dragonflyoss/image-service on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dragonflyoss/image-service 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 443c242ab5079b87f9e3a4bea465d49649377339d529f098e46a55dc91b6b192 [INFO] running `Command { std: "docker" "start" "-a" "443c242ab5079b87f9e3a4bea465d49649377339d529f098e46a55dc91b6b192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "443c242ab5079b87f9e3a4bea465d49649377339d529f098e46a55dc91b6b192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443c242ab5079b87f9e3a4bea465d49649377339d529f098e46a55dc91b6b192", kill_on_drop: false }` [INFO] [stdout] 443c242ab5079b87f9e3a4bea465d49649377339d529f098e46a55dc91b6b192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74849e65f8b5be1565fc2613baa9e90c9776d75e118b31d76065a3768e231c18 [INFO] running `Command { std: "docker" "start" "-a" "74849e65f8b5be1565fc2613baa9e90c9776d75e118b31d76065a3768e231c18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling crc64 v2.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fuse-backend-rs v0.12.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling gix-trace v0.1.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling kstring v2.0.0 [INFO] [stderr] Compiling unicode-bom v2.0.3 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling vmm-sys-util v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling dbs-uhttp v0.3.2 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling gix-features v0.41.1 [INFO] [stderr] Compiling gix-utils v0.2.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling sendfd v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling xattr v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling tar v0.4.43 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling nydus-rs v0.0.0-git (/opt/rustwide/workdir) [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling log-panics v2.1.0 [INFO] [stderr] Compiling rlimit v0.9.1 [INFO] [stderr] Compiling versionize_derive v0.1.6 [INFO] [stderr] Compiling rust-fsm-dsl v0.6.2 [INFO] [stderr] Compiling rust-fsm v0.6.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling vm-memory v0.14.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling caps v0.5.5 [INFO] [stderr] Compiling gix-path v0.10.15 [INFO] [stderr] Compiling gix-quote v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling gix-glob v0.19.0 [INFO] [stderr] Compiling dbs-allocator v0.1.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling gix-attributes v0.25.0 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling gpt v3.1.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling leaky-bucket v0.12.5 [INFO] [stderr] Compiling tokio-uring v0.4.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling r2d2_sqlite v0.23.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling versionize v0.2.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling nydus-api v0.4.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling dbs-snapshot v1.5.2 [INFO] [stderr] Compiling nydus-upgrade v0.2.0 (/opt/rustwide/workdir/upgrade) [INFO] [stderr] Compiling flexi_logger v0.25.6 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling nydus-utils v0.5.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> utils/src/compress/mod.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<[u8]>, bool)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 100 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<'_, [u8]>, bool)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> utils/src/crypt.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn tweak_key_for_xts(key: &[u8]) -> Cow<[u8]> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 329 | pub fn tweak_key_for_xts(key: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> utils/src/mpmc.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard<'_, VecDeque> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nydus-storage v0.7.0 (/opt/rustwide/workdir/storage) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/dummycache.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] 214 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/filecache/mod.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] 162 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/fscache/mod.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] 157 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/mod.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | fn backend(&self) -> &(dyn BlobBackend); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 661 - fn backend(&self) -> &(dyn BlobBackend); [INFO] [stdout] 661 + fn backend(&self) -> &dyn BlobBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> storage/src/cache/dedup/db.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | conn: &mut PooledConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 214 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden 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] 214 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> storage/src/utils.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn consume(&mut self, mut size: usize) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn consume(&mut self, mut size: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> storage/src/utils.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn inner_slice(&self) -> &[FileVolatileSlice] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | pub fn inner_slice(&self) -> &[FileVolatileSlice<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nydus-rafs v0.4.0 (/opt/rustwide/workdir/rafs) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rafs/src/lib.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 165 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nydus-builder v0.2.0 (/opt/rustwide/workdir/builder) [INFO] [stderr] Compiling nydus-service v0.4.0 (/opt/rustwide/workdir/service) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/daemon.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | fn upgrade_mgr(&self) -> Option> { [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] 174 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fs_service.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | fn upgrade_mgr(&self) -> Option>; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | fn upgrade_mgr(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fs_service.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | fn backend_collection(&self) -> MutexGuard; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fusedev.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | fn upgrade_mgr(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 313 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fusedev.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 317 | fn backend_collection(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 317 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/singleton.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | fn upgrade_mgr(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/blob_cache.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | fn get_state(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn get_state(&self) -> MutexGuard<'_, BlobCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> service/src/fs_cache.rs:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | let a = unsafe { std::mem::transmute::<[u8; 4], u32>(buf_le32) }.to_le(); [INFO] [stdout] | -----------------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fs_cache.rs:942:18 [INFO] [stdout] | [INFO] [stdout] 942 | fn get_state(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 942 | fn get_state(&self) -> MutexGuard<'_, FsCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> builder/src/core/context.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn display(&self) -> Display { [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] 149 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> builder/src/core/context.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> builder/src/core/context.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn values_of(&self, key: &str) -> Option> { [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] 34 | pub fn values_of(&self, key: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 36s [INFO] running `Command { std: "docker" "inspect" "74849e65f8b5be1565fc2613baa9e90c9776d75e118b31d76065a3768e231c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74849e65f8b5be1565fc2613baa9e90c9776d75e118b31d76065a3768e231c18", kill_on_drop: false }` [INFO] [stdout] 74849e65f8b5be1565fc2613baa9e90c9776d75e118b31d76065a3768e231c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2668c501ac0ecd5488052ac787a3b2b1466bd1f2558cdc99b7200be0f3f1f894 [INFO] running `Command { std: "docker" "start" "-a" "2668c501ac0ecd5488052ac787a3b2b1466bd1f2558cdc99b7200be0f3f1f894", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> utils/src/compress/mod.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<[u8]>, bool)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 100 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<'_, [u8]>, bool)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> utils/src/crypt.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn tweak_key_for_xts(key: &[u8]) -> Cow<[u8]> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 329 | pub fn tweak_key_for_xts(key: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> utils/src/mpmc.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard<'_, VecDeque> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nydus-rs v0.0.0-git (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/dummycache.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] 214 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/filecache/mod.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] 162 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/fscache/mod.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stdout] 157 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> storage/src/cache/mod.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | fn backend(&self) -> &(dyn BlobBackend); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 661 - fn backend(&self) -> &(dyn BlobBackend); [INFO] [stdout] 661 + fn backend(&self) -> &dyn BlobBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> storage/src/cache/dedup/db.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | conn: &mut PooledConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 214 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden 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] 214 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> storage/src/utils.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn consume(&mut self, mut size: usize) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn consume(&mut self, mut size: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> storage/src/utils.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn inner_slice(&self) -> &[FileVolatileSlice] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | pub fn inner_slice(&self) -> &[FileVolatileSlice<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rafs/src/lib.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 165 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> builder/src/core/context.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn display(&self) -> Display { [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] 149 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> builder/src/core/context.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> builder/src/core/context.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/daemon.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | fn upgrade_mgr(&self) -> Option> { [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] 174 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fs_service.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | fn upgrade_mgr(&self) -> Option>; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | fn upgrade_mgr(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fs_service.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | fn backend_collection(&self) -> MutexGuard; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fusedev.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | fn upgrade_mgr(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 313 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fusedev.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 317 | fn backend_collection(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 317 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/singleton.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | fn upgrade_mgr(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/blob_cache.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | fn get_state(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn get_state(&self) -> MutexGuard<'_, BlobCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> service/src/fs_cache.rs:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | let a = unsafe { std::mem::transmute::<[u8; 4], u32>(buf_le32) }.to_le(); [INFO] [stdout] | -----------------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> service/src/fs_cache.rs:942:18 [INFO] [stdout] | [INFO] [stdout] 942 | fn get_state(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 942 | fn get_state(&self) -> MutexGuard<'_, FsCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn values_of(&self, key: &str) -> Option> { [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] 34 | pub fn values_of(&self, key: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn values_of(&self, key: &str) -> Option> { [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] 34 | pub fn values_of(&self, key: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.38s [INFO] running `Command { std: "docker" "inspect" "2668c501ac0ecd5488052ac787a3b2b1466bd1f2558cdc99b7200be0f3f1f894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2668c501ac0ecd5488052ac787a3b2b1466bd1f2558cdc99b7200be0f3f1f894", kill_on_drop: false }` [INFO] [stdout] 2668c501ac0ecd5488052ac787a3b2b1466bd1f2558cdc99b7200be0f3f1f894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7b3d9c9a39aa876a9ad28ae3983225954edc623f9b056ba50400911c891ac9e [INFO] running `Command { std: "docker" "start" "-a" "b7b3d9c9a39aa876a9ad28ae3983225954edc623f9b056ba50400911c891ac9e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> utils/src/compress/mod.rs:100:22 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<[u8]>, bool)> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 100 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<'_, [u8]>, bool)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> utils/src/crypt.rs:329:35 [INFO] [stderr] | [INFO] [stderr] 329 | pub fn tweak_key_for_xts(key: &[u8]) -> Cow<[u8]> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 329 | pub fn tweak_key_for_xts(key: &[u8]) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> utils/src/mpmc.rs:98:25 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn lock_channel(&self) -> MutexGuard> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 98 | pub fn lock_channel(&self) -> MutexGuard<'_, VecDeque> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] Compiling nydus-rs v0.0.0-git (/opt/rustwide/workdir) [INFO] [stderr] warning: `nydus-utils` (lib) generated 3 warnings (run `cargo fix --lib -p nydus-utils` to apply 3 suggestions) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> storage/src/cache/dummycache.rs:214:27 [INFO] [stderr] | [INFO] [stderr] 214 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 214 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stderr] 214 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> storage/src/cache/filecache/mod.rs:162:27 [INFO] [stderr] | [INFO] [stderr] 162 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 162 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stderr] 162 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> storage/src/cache/fscache/mod.rs:157:27 [INFO] [stderr] | [INFO] [stderr] 157 | fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 157 - fn backend(&self) -> &(dyn BlobBackend) { [INFO] [stderr] 157 + fn backend(&self) -> &dyn BlobBackend { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> storage/src/cache/mod.rs:661:27 [INFO] [stderr] | [INFO] [stderr] 661 | fn backend(&self) -> &(dyn BlobBackend); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 661 - fn backend(&self) -> &(dyn BlobBackend); [INFO] [stderr] 661 + fn backend(&self) -> &dyn BlobBackend; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> storage/src/cache/dedup/db.rs:213:15 [INFO] [stderr] | [INFO] [stderr] 213 | conn: &mut PooledConnection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 214 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden 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] 214 | ) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> storage/src/utils.rs:252:20 [INFO] [stderr] | [INFO] [stderr] 252 | pub fn consume(&mut self, mut size: usize) -> Vec { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 252 | pub fn consume(&mut self, mut size: usize) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> storage/src/utils.rs:292:24 [INFO] [stderr] | [INFO] [stderr] 292 | pub fn inner_slice(&self) -> &[FileVolatileSlice] { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 292 | pub fn inner_slice(&self) -> &[FileVolatileSlice<'_>] { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `nydus-storage` (lib) generated 7 warnings (run `cargo fix --lib -p nydus-storage` to apply 7 suggestions) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> rafs/src/lib.rs:165:17 [INFO] [stderr] | [INFO] [stderr] 165 | 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] 165 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `nydus-rafs` (lib) generated 1 warning (run `cargo fix --lib -p nydus-rafs` to apply 1 suggestion) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> builder/src/core/context.rs:149:20 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn display(&self) -> Display { [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] 149 | pub fn display(&self) -> Display<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> builder/src/core/context.rs:187:17 [INFO] [stderr] | [INFO] [stderr] 187 | 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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 187 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> builder/src/core/context.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | 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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 226 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/daemon.rs:174:20 [INFO] [stderr] | [INFO] [stderr] 174 | fn upgrade_mgr(&self) -> Option> { [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] 174 | fn upgrade_mgr(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/fs_service.rs:107:20 [INFO] [stderr] | [INFO] [stderr] 107 | fn upgrade_mgr(&self) -> Option>; [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 107 | fn upgrade_mgr(&self) -> Option>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/fs_service.rs:200:27 [INFO] [stderr] | [INFO] [stderr] 200 | fn backend_collection(&self) -> MutexGuard; [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 200 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/fusedev.rs:313:20 [INFO] [stderr] | [INFO] [stderr] 313 | fn upgrade_mgr(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 313 | fn upgrade_mgr(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/fusedev.rs:317:27 [INFO] [stderr] | [INFO] [stderr] 317 | fn backend_collection(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 317 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/singleton.rs:220:20 [INFO] [stderr] | [INFO] [stderr] 220 | fn upgrade_mgr(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 220 | fn upgrade_mgr(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/blob_cache.rs:314:18 [INFO] [stderr] | [INFO] [stderr] 314 | fn get_state(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 314 | fn get_state(&self) -> MutexGuard<'_, BlobCacheState> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> service/src/fs_cache.rs:845:30 [INFO] [stderr] | [INFO] [stderr] 845 | let a = unsafe { std::mem::transmute::<[u8; 4], u32>(buf_le32) }.to_le(); [INFO] [stderr] | -----------------------------------^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> service/src/fs_cache.rs:942:18 [INFO] [stderr] | [INFO] [stderr] 942 | fn get_state(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 942 | fn get_state(&self) -> MutexGuard<'_, FsCacheState> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `nydus-builder` (lib) generated 3 warnings (run `cargo fix --lib -p nydus-builder` to apply 3 suggestions) [INFO] [stderr] warning: `nydus-service` (lib) generated 9 warnings (run `cargo fix --lib -p nydus-service` to apply 9 suggestions) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn values_of(&self, key: &str) -> Option> { [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] 34 | pub fn values_of(&self, key: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `nydus-rs` (lib) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `nydus-rs` (lib test) generated 1 warning (run `cargo fix --lib -p nydus-rs --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nydus-ece48376a57a7014) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test logger::tests::test_log_level_to_verbosity ... ok [INFO] [stdout] test logger::tests::test_log_rotation ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/nydus-image/main.rs (/opt/rustwide/target/debug/deps/nydus_image-8db4f6ae1c6675d7) [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test deduplicate::tests::test_algorithm_exponential_smoothing ... ok [INFO] [stdout] test deduplicate::tests::test_chunk_table ... ok [INFO] [stdout] test deduplicate::tests::test_blob_table ... ok [INFO] [stdout] test unpack::pax::test::test_read_chunk_smaller_buffer ... ok [INFO] [stdout] test unpack::pax::test::test_read_chunk_larger_buffer ... ok [INFO] [stdout] test deduplicate::tests::test_partial_cmp ... ok [INFO] [stdout] test tests::test_ensure_file ... ok [INFO] [stdout] test unpack::pax::test::test_read_chunk_zero_buffer ... ok [INFO] [stdout] test deduplicate::tests::test_divide_by_image ... FAILED [INFO] [stdout] test deduplicate::tests::test_blob_table_paged ... ok [INFO] [stdout] test unpack::pax::test::test_read_chunk_compress ... ok [INFO] [stdout] test unpack::pax::test::test_read_chunk ... ok [INFO] [stdout] test deduplicate::tests::test_distance ... ok [INFO] [stdout] test deduplicate::tests::test_chunk_table_paged ... ok [INFO] [stdout] test deduplicate::tests::test_deduplicate_version ... ok [INFO] [stdout] test deduplicate::tests::test_dbscan ... ok [INFO] [stdout] test deduplicate::tests::test_divide_set ... ok [INFO] [stdout] test deduplicate::tests::test_aggregate_chunk ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin nydus-image` [INFO] [stdout] test deduplicate::tests::test_deduplicate_image ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- deduplicate::tests::test_divide_by_image stdout ---- [INFO] [stdout] Error: SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: ./metadata.db")) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] deduplicate::tests::test_divide_by_image [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7b3d9c9a39aa876a9ad28ae3983225954edc623f9b056ba50400911c891ac9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b3d9c9a39aa876a9ad28ae3983225954edc623f9b056ba50400911c891ac9e", kill_on_drop: false }` [INFO] [stdout] b7b3d9c9a39aa876a9ad28ae3983225954edc623f9b056ba50400911c891ac9e