[INFO] fetching crate nydus-storage 0.7.0... [INFO] building nydus-storage-0.7.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate nydus-storage 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate nydus-storage 0.7.0 [INFO] finished tweaking crates.io crate nydus-storage 0.7.0 [INFO] tweaked toml for crates.io crate nydus-storage 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nydus-storage 0.7.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nydus-storage 0.7.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eda219021f835045cb32c872fa7551e82ca9a7ec8fac0cae4b1f59b6192504b [INFO] running `Command { std: "docker" "start" "-a" "4eda219021f835045cb32c872fa7551e82ca9a7ec8fac0cae4b1f59b6192504b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eda219021f835045cb32c872fa7551e82ca9a7ec8fac0cae4b1f59b6192504b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eda219021f835045cb32c872fa7551e82ca9a7ec8fac0cae4b1f59b6192504b", kill_on_drop: false }` [INFO] [stdout] 4eda219021f835045cb32c872fa7551e82ca9a7ec8fac0cae4b1f59b6192504b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db72f8baa919899c9c2e71013790c747ef6ac5e15de1fac385df9925db1a3ae [INFO] running `Command { std: "docker" "start" "-a" "3db72f8baa919899c9c2e71013790c747ef6ac5e15de1fac385df9925db1a3ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling fuse-backend-rs v0.12.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling vmm-sys-util v0.12.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling xattr v1.4.0 [INFO] [stderr] Compiling tar v0.4.43 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling caps v0.5.5 [INFO] [stderr] Compiling vm-memory v0.14.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling nydus-api v0.4.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling nydus-utils v0.5.0 [INFO] [stderr] Compiling nydus-storage v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/cache/cachedfile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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: unused import: `CasMgr` [INFO] [stdout] --> src/cache/filecache/mod.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cache::{BlobCache, BlobCacheMgr, CasMgr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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: unused import: `CasMgr` [INFO] [stdout] --> src/cache/fscache/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::cache::{BlobCache, BlobCacheMgr, CasMgr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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] --> 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: unused imports: `HttpProxyConfig`, `LocalDiskConfig`, `LocalFsConfig`, `OssConfig`, `RegistryConfig`, and `S3Config` [INFO] [stdout] --> src/factory.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | default_user_io_batch_size, BackendConfigV2, ConfigV2, HttpProxyConfig, LocalDiskConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | LocalFsConfig, OssConfig, RegistryConfig, S3Config, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_info` [INFO] [stdout] --> src/cache/cachedfile.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let blob_info = self.blob_info.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/cache/cachedfile.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let file_path = self.file_path.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cas_mgr` [INFO] [stdout] --> src/cache/cachedfile.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let cas_mgr = self.cas_mgr.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cas_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/factory.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | content: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_id` [INFO] [stdout] --> src/factory.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | blob_id: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/cachedfile.rs:1077:17 [INFO] [stdout] | [INFO] [stdout] 1077 | let mut is_ready = match self.chunk_map.check_ready_and_mark_pending(chunk.as_ref()) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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] --> 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 55s [INFO] running `Command { std: "docker" "inspect" "3db72f8baa919899c9c2e71013790c747ef6ac5e15de1fac385df9925db1a3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db72f8baa919899c9c2e71013790c747ef6ac5e15de1fac385df9925db1a3ae", kill_on_drop: false }` [INFO] [stdout] 3db72f8baa919899c9c2e71013790c747ef6ac5e15de1fac385df9925db1a3ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5484fb53bb25d90c8eea7614919db566174cbbcda7a07c3af94a7561cf87b2 [INFO] running `Command { std: "docker" "start" "-a" "bf5484fb53bb25d90c8eea7614919db566174cbbcda7a07c3af94a7561cf87b2", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/cache/cachedfile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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: unused import: `CasMgr` [INFO] [stdout] --> src/cache/filecache/mod.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cache::{BlobCache, BlobCacheMgr, CasMgr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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: unused import: `CasMgr` [INFO] [stdout] --> src/cache/fscache/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::cache::{BlobCache, BlobCacheMgr, CasMgr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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] --> 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: unused imports: `HttpProxyConfig`, `LocalDiskConfig`, `LocalFsConfig`, `OssConfig`, `RegistryConfig`, and `S3Config` [INFO] [stdout] --> src/factory.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | default_user_io_batch_size, BackendConfigV2, ConfigV2, HttpProxyConfig, LocalDiskConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | LocalFsConfig, OssConfig, RegistryConfig, S3Config, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_info` [INFO] [stdout] --> src/cache/cachedfile.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let blob_info = self.blob_info.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/cache/cachedfile.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let file_path = self.file_path.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cas_mgr` [INFO] [stdout] --> src/cache/cachedfile.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let cas_mgr = self.cas_mgr.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cas_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/factory.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | content: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_id` [INFO] [stdout] --> src/factory.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | blob_id: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/cachedfile.rs:1077:17 [INFO] [stdout] | [INFO] [stdout] 1077 | let mut is_ready = match self.chunk_map.check_ready_and_mark_pending(chunk.as_ref()) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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] --> 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 regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling nydus-storage v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/cache/cachedfile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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: unused import: `CasMgr` [INFO] [stdout] --> src/cache/filecache/mod.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cache::{BlobCache, BlobCacheMgr, CasMgr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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: unused import: `CasMgr` [INFO] [stdout] --> src/cache/fscache/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::cache::{BlobCache, BlobCacheMgr, CasMgr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> 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] --> 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: unused imports: `HttpProxyConfig`, `LocalDiskConfig`, `LocalFsConfig`, `OssConfig`, `RegistryConfig`, and `S3Config` [INFO] [stdout] --> src/factory.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | default_user_io_batch_size, BackendConfigV2, ConfigV2, HttpProxyConfig, LocalDiskConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | LocalFsConfig, OssConfig, RegistryConfig, S3Config, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/cachedfile.rs:1077:17 [INFO] [stdout] | [INFO] [stdout] 1077 | let mut is_ready = match self.chunk_map.check_ready_and_mark_pending(chunk.as_ref()) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_info` [INFO] [stdout] --> src/cache/cachedfile.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let blob_info = self.blob_info.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/cache/cachedfile.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let file_path = self.file_path.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cas_mgr` [INFO] [stdout] --> src/cache/cachedfile.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let cas_mgr = self.cas_mgr.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cas_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/factory.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | content: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_id` [INFO] [stdout] --> src/factory.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | blob_id: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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] --> 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.20s [INFO] running `Command { std: "docker" "inspect" "bf5484fb53bb25d90c8eea7614919db566174cbbcda7a07c3af94a7561cf87b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5484fb53bb25d90c8eea7614919db566174cbbcda7a07c3af94a7561cf87b2", kill_on_drop: false }` [INFO] [stdout] bf5484fb53bb25d90c8eea7614919db566174cbbcda7a07c3af94a7561cf87b2