[INFO] cloning repository https://github.com/DarkMountain-wyz/nydusv1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarkMountain-wyz/nydusv1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkMountain-wyz%2Fnydusv1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkMountain-wyz%2Fnydusv1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39696f72d04b8d97c95ff3851e579148ed686888 [INFO] documenting DarkMountain-wyz/nydusv1 against beta-2025-07-11 for beta-1.89-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkMountain-wyz%2Fnydusv1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/DarkMountain-wyz/nydusv1 [INFO] finished tweaking git repo https://github.com/DarkMountain-wyz/nydusv1 [INFO] tweaked toml for git repo https://github.com/DarkMountain-wyz/nydusv1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DarkMountain-wyz/nydusv1 on toolchain beta-2025-07-11 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-07-11" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DarkMountain-wyz/nydusv1 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-07-11" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-07-11" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c46f5c819545e26dbc29fce82f8940db64508b0f73b10f9119657751ffa1fc5c [INFO] running `Command { std: "docker" "start" "-a" "c46f5c819545e26dbc29fce82f8940db64508b0f73b10f9119657751ffa1fc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c46f5c819545e26dbc29fce82f8940db64508b0f73b10f9119657751ffa1fc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46f5c819545e26dbc29fce82f8940db64508b0f73b10f9119657751ffa1fc5c", kill_on_drop: false }` [INFO] [stdout] c46f5c819545e26dbc29fce82f8940db64508b0f73b10f9119657751ffa1fc5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-07-11" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62e8228156538449f9ea67c837de952073f8500bed1d5f77a7b3b357367d337f [INFO] running `Command { std: "docker" "start" "-a" "62e8228156538449f9ea67c837de952073f8500bed1d5f77a7b3b357367d337f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling fuse-backend-rs v0.10.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling ahash v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling io-uring v0.5.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling openssl-src v111.25.0+1.1.1t [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking nix v0.24.2 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking dbs-uhttp v0.3.2 [INFO] [stderr] Checking sha2 v0.10.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking vmm-sys-util v0.11.1 [INFO] [stderr] Checking filetime v0.2.19 [INFO] [stderr] Checking vm-memory v0.10.0 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Checking gpt v3.0.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_lex v0.3.1 [INFO] [stderr] Compiling nydus-rs v0.0.0-git (/opt/rustwide/workdir) [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking hashlink v0.8.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking rlimit v0.9.1 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking log-panics v2.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling rust-fsm-dsl v0.6.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking caps v0.5.4 [INFO] [stderr] Checking rust-fsm v0.6.0 [INFO] [stderr] Checking dbs-allocator v0.1.1 [INFO] [stderr] Compiling clap_derive v4.0.18 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking lz4 v1.24.0 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking leaky-bucket v0.12.1 [INFO] [stderr] Checking tokio-uring v0.4.0 [INFO] [stderr] Checking rusqlite v0.29.0 [INFO] [stderr] Checking h2 v0.3.18 [INFO] [stderr] Checking clap v4.0.18 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking flexi_logger v0.25.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking nydus-api v0.3.1 (/opt/rustwide/workdir/api) [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking nydus-utils v0.4.3 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.16 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> utils/src/compress/mod.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<[u8]>, bool)> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<'_, [u8]>, bool)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> utils/src/mpmc.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard<'_, VecDeque> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nydus-storage v0.6.4 (/opt/rustwide/workdir/storage) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> storage/src/backend/registry.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | Basic(BasicAuth), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 151 - Basic(BasicAuth), [INFO] [stdout] 151 + Basic(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> storage/src/utils.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn consume(&mut self, mut size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn consume(&mut self, mut size: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> storage/src/utils.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn inner_slice(&self) -> &[FileVolatileSlice] { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn inner_slice(&self) -> &[FileVolatileSlice<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nydus-rafs v0.3.2 (/opt/rustwide/workdir/rafs) [INFO] [stdout] warning: unexpected `cfg` condition value: `backend-oss` [INFO] [stdout] --> rafs/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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | 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] --> rafs/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] --> rafs/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] Checking nydus-service v0.3.0 (/opt/rustwide/workdir/service) [INFO] [stderr] Checking nydus-builder v0.1.0 (/opt/rustwide/workdir/builder) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fs_service.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | fn upgrade_mgr(&self) -> Option>; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | fn upgrade_mgr(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fs_service.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | fn backend_collection(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fusedev.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fusedev.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | fn backend_collection(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 219 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/blob_cache.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | fn get_state(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 315 | fn get_state(&self) -> MutexGuard<'_, BlobCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> service/src/fs_cache.rs:831:30 [INFO] [stdout] | [INFO] [stdout] 831 | 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fs_cache.rs:928:18 [INFO] [stdout] | [INFO] [stdout] 928 | fn get_state(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 928 | fn get_state(&self) -> MutexGuard<'_, FsCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/context.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/context.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 175 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/context.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 214 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/tree.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn lock_node(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn lock_node(&self) -> MutexGuard<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting nydus-rs v0.0.0-git (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn values_of(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 2m 42s [INFO] [stderr] Generated /opt/rustwide/target/doc/nydus/index.html and 3 other files [INFO] running `Command { std: "docker" "inspect" "62e8228156538449f9ea67c837de952073f8500bed1d5f77a7b3b357367d337f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e8228156538449f9ea67c837de952073f8500bed1d5f77a7b3b357367d337f", kill_on_drop: false }` [INFO] [stdout] 62e8228156538449f9ea67c837de952073f8500bed1d5f77a7b3b357367d337f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-07-11" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9a45953cc67cdc1f46bdf6deba10102efa37f78419dea0bfce79ba363b8896d [INFO] running `Command { std: "docker" "start" "-a" "d9a45953cc67cdc1f46bdf6deba10102efa37f78419dea0bfce79ba363b8896d", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> utils/src/compress/mod.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<[u8]>, bool)> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn compress(src: &[u8], algorithm: Algorithm) -> Result<(Cow<'_, [u8]>, bool)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> utils/src/mpmc.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lock_channel(&self) -> MutexGuard<'_, VecDeque> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> storage/src/backend/registry.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | Basic(BasicAuth), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 151 - Basic(BasicAuth), [INFO] [stdout] 151 + Basic(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> storage/src/utils.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn consume(&mut self, mut size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn consume(&mut self, mut size: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> storage/src/utils.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn inner_slice(&self) -> &[FileVolatileSlice] { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn inner_slice(&self) -> &[FileVolatileSlice<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `backend-oss` [INFO] [stdout] --> rafs/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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | 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] --> rafs/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] --> rafs/src/metadata/inode.rs:589:61 [INFO] [stdout] | [INFO] [stdout] 589 | *self = Self::V5(RafsV5Inode::from(i.deref().deref())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn metadata::RafsInodeExt` does not implement `Deref`, so calling `deref` on `&dyn metadata::RafsInodeExt` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/context.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/context.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 175 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/context.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 214 | fn as_bytes(&mut self) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> builder/src/core/tree.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn lock_node(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn lock_node(&self) -> MutexGuard<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fs_service.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | fn upgrade_mgr(&self) -> Option>; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | fn upgrade_mgr(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fs_service.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | fn backend_collection(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nydus-rs v0.0.0-git (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fusedev.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | fn upgrade_mgr(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fusedev.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | fn backend_collection(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 219 | fn backend_collection(&self) -> MutexGuard<'_, FsBackendCollection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/blob_cache.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | fn get_state(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 315 | fn get_state(&self) -> MutexGuard<'_, BlobCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> service/src/fs_cache.rs:831:30 [INFO] [stdout] | [INFO] [stdout] 831 | 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> service/src/fs_cache.rs:928:18 [INFO] [stdout] | [INFO] [stdout] 928 | fn get_state(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 928 | fn get_state(&self) -> MutexGuard<'_, FsCacheState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting nydus-rs v0.0.0-git (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] [stderr] Generated /opt/rustwide/target/doc/nydus/index.html [INFO] running `Command { std: "docker" "inspect" "d9a45953cc67cdc1f46bdf6deba10102efa37f78419dea0bfce79ba363b8896d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a45953cc67cdc1f46bdf6deba10102efa37f78419dea0bfce79ba363b8896d", kill_on_drop: false }` [INFO] [stdout] d9a45953cc67cdc1f46bdf6deba10102efa37f78419dea0bfce79ba363b8896d