=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/cargo-cache", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for cargo-cache-0.8.3 Compiling libc v0.2.126 Compiling autocfg v1.1.0 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.42 Compiling quote v1.0.20 Compiling unicode-ident v1.0.2 Compiling syn v1.0.98 Compiling jobserver v0.1.24 Compiling serde_derive v1.0.140 Compiling cc v1.0.73 Compiling crossbeam-utils v0.8.11 Compiling serde v1.0.140 Compiling pkg-config v0.3.25 Compiling memoffset v0.6.5 Compiling once_cell v1.13.0 Compiling libz-sys v1.1.8 Compiling crossbeam-epoch v0.9.10 Compiling tinyvec_macros v0.1.0 Compiling tinyvec v1.6.0 Compiling num-traits v0.2.15 Compiling rayon-core v1.9.3 Compiling memchr v2.5.0 Compiling matches v0.1.9 Compiling scopeguard v1.1.0 Compiling unicode-normalization v0.1.21 Compiling libgit2-sys v0.13.2+1.4.2 Compiling num-integer v0.1.45 Compiling indexmap v1.9.1 Compiling serde_json v1.0.82 Compiling log v0.4.17 Compiling semver v1.0.12 Compiling unicode-bidi v0.3.8 Compiling camino v1.0.9 Compiling percent-encoding v2.1.0 Compiling crc32fast v1.3.2 Compiling form_urlencoded v1.0.1 Compiling idna v0.2.3 Compiling crossbeam-deque v0.8.2 Compiling crossbeam-channel v0.5.6 Compiling terminal_size v0.1.17 Compiling num_cpus v1.13.1 Compiling rayon v1.5.3 Compiling os_str_bytes v6.2.0 Compiling ryu v1.0.10 Compiling itoa v1.0.2 Compiling hashbrown v0.12.3 Compiling bitflags v1.3.2 Compiling rustc_tools_util v0.2.0 Compiling adler v1.0.2 Compiling miniz_oxide v0.5.3 Compiling cargo-cache v0.8.3 (/tmp/work/sysutils/cargo-cache/work/cargo-cache-0.8.3) Compiling cargo-platform v0.1.2 Compiling clap_lex v0.2.4 Compiling textwrap v0.15.0 Compiling aho-corasick v0.7.18 Compiling url v2.2.2 Compiling atty v0.2.14 Compiling xattr v0.2.3 Compiling filetime v0.2.17 Compiling time v0.1.44 Compiling dirs-sys-next v0.1.2 Compiling termcolor v1.1.3 Compiling either v1.7.0 Compiling same-file v1.0.6 Compiling regex-syntax v0.6.27 Compiling strsim v0.10.0 Compiling walkdir v2.3.2 Compiling clap v3.2.15 Compiling regex v1.6.0 Compiling chrono v0.4.19 Compiling dirs-next v2.0.0 Compiling tar v0.4.38 Compiling flate2 v1.0.24 Compiling cargo_metadata v0.15.0 Compiling remove_dir_all v0.7.0 Compiling humansize v1.1.1 Compiling home v0.5.3 Compiling git2 v0.14.2 warning: unnecessary qualification --> src/cache/registry_index.rs:196:28 | 196 | let indices_dirs = std::fs::read_dir(&path) | ^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/main.rs:21:5 | 21 | unused_qualifications, | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 196 - let indices_dirs = std::fs::read_dir(&path) 196 + let indices_dirs = fs::read_dir(&path) | warning: unnecessary qualification --> src/cache/registry_pkg_cache.rs:186:26 | 186 | let cache_dirs = std::fs::read_dir(&path) | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 186 - let cache_dirs = std::fs::read_dir(&path) 186 + let cache_dirs = fs::read_dir(&path) | warning: unnecessary qualification --> src/cache/registry_sources.rs:150:27 | 150 | let folders = std::fs::read_dir(&self.path) | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 150 - let folders = std::fs::read_dir(&self.path) 150 + let folders = fs::read_dir(&self.path) | warning: unnecessary qualification --> src/cache/registry_sources.rs:209:26 | 209 | let registries = std::fs::read_dir(&path) | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 209 - let registries = std::fs::read_dir(&path) 209 + let registries = fs::read_dir(&path) | warning: unnecessary qualification --> src/commands/sccache.rs:69:33 | 69 | ... chrono::DateTime::::from(access_time).naive_local(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 69 - chrono::DateTime::::from(access_time).naive_local(); 69 + DateTime::::from(access_time).naive_local(); | warning: unnecessary qualification --> src/library.rs:26:38 | 26 | pub(crate) trait ErrorHandling { | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 26 - pub(crate) trait ErrorHandling { 26 + pub(crate) trait ErrorHandling { | warning: unnecessary qualification --> src/library.rs:31:12 | 31 | impl ErrorHandling for CargoCacheResult { | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 31 - impl ErrorHandling for CargoCacheResult { 31 + impl ErrorHandling for CargoCacheResult { | warning: unnecessary qualification --> src/library.rs:294:6 | 294 | impl std::fmt::Display for CargoCachePaths { | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 294 - impl std::fmt::Display for CargoCachePaths { 294 + impl fmt::Display for CargoCachePaths { | warning: unnecessary qualification --> src/date.rs:191:34 | 191 | let naive_datetime = chrono::DateTime::::from(access_time).naive_local(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 191 - let naive_datetime = chrono::DateTime::::from(access_time).naive_local(); 191 + let naive_datetime = DateTime::::from(access_time).naive_local(); | warning: unnecessary qualification --> src/main.rs:276:23 | 276 | let res = crate::date::remove_files_by_dates( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 276 - let res = crate::date::remove_files_by_dates( 276 + let res = date::remove_files_by_dates( | warning: unnecessary qualification --> src/main.rs:388:13 | 388 | std::process::exit(0); | ^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 388 - std::process::exit(0); 388 + process::exit(0); | warning: unnecessary qualification --> src/main.rs:438:13 | 438 | std::process::exit(0); | ^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 438 - std::process::exit(0); 438 + process::exit(0); | warning: unnecessary qualification --> src/main.rs:501:17 | 501 | std::process::exit(1) | ^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 501 - std::process::exit(1) 501 + process::exit(1) | warning: unnecessary qualification --> src/main.rs:503:17 | 503 | std::process::exit(0); | ^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 503 - std::process::exit(0); 503 + process::exit(0); | warning: method `files_sorted` is never used --> src/cache/caches.rs:37:8 | 15 | pub(crate) trait Cache { | ----- method in this trait ... 37 | fn files_sorted(&mut self) -> &[PathBuf]; | ^^^^^^^^^^^^ | note: the lint level is defined here --> src/main.rs:20:5 | 20 | unused, | ^^^^^^ = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` warning: method `files_sorted` is never used --> src/cache/caches.rs:115:8 | 90 | pub(crate) trait RegistrySubCache { | ---------------- method in this trait ... 115 | fn files_sorted(&mut self) -> &[PathBuf]; | ^^^^^^^^^^^^ warning: struct `File` is never constructed --> src/commands/toolchains.rs:21:8 | 21 | struct File { | ^^^^ warning: `cargo-cache` (bin "cargo-cache") generated 17 warnings (run `cargo fix --bin "cargo-cache" -p cargo-cache` to apply 14 suggestions) Finished `release` profile [optimized] target(s) in 4m 48s