[INFO] cloning repository https://github.com/omgitsmoe/backup-helper-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omgitsmoe/backup-helper-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomgitsmoe%2Fbackup-helper-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomgitsmoe%2Fbackup-helper-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9b359589b98d13120c56468e51723365ce2a69ae
[INFO] checking omgitsmoe/backup-helper-rs against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomgitsmoe%2Fbackup-helper-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/omgitsmoe/backup-helper-rs
[INFO] finished tweaking git repo https://github.com/omgitsmoe/backup-helper-rs
[INFO] tweaked toml for git repo https://github.com/omgitsmoe/backup-helper-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/omgitsmoe/backup-helper-rs on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/omgitsmoe/backup-helper-rs 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded testdir v0.9.3
[INFO] [stderr] Downloaded hashes v0.1.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2db66073ab9117d6c62b603eb3546e2293b82190d1e5575eaa29118ef6cc8fb
[INFO] running `Command { std: "docker" "start" "-a" "e2db66073ab9117d6c62b603eb3546e2293b82190d1e5575eaa29118ef6cc8fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2db66073ab9117d6c62b603eb3546e2293b82190d1e5575eaa29118ef6cc8fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2db66073ab9117d6c62b603eb3546e2293b82190d1e5575eaa29118ef6cc8fb", kill_on_drop: false }`
[INFO] [stdout] e2db66073ab9117d6c62b603eb3546e2293b82190d1e5575eaa29118ef6cc8fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26c4f3a5187bea0e81cd2b41b679d8ed7febf5bd68493825f022047048458b9f
[INFO] running `Command { std: "docker" "start" "-a" "26c4f3a5187bea0e81cd2b41b679d8ed7febf5bd68493825f022047048458b9f", kill_on_drop: false }`
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Compiling typenum v1.18.0
[INFO] [stderr] Compiling proc-macro2 v1.0.93
[INFO] [stderr] Checking memchr v2.7.4
[INFO] [stderr] Compiling unicode-ident v1.0.17
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Checking subtle v2.6.1
[INFO] [stderr] Compiling libc v0.2.169
[INFO] [stderr] Compiling serde v1.0.218
[INFO] [stderr] Compiling autocfg v1.5.0
[INFO] [stderr] Checking cpufeatures v0.2.17
[INFO] [stderr] Checking regex-syntax v0.8.5
[INFO] [stderr] Compiling semver v1.0.25
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling serde_json v1.0.139
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Checking iana-time-zone v0.1.63
[INFO] [stderr] Compiling camino v1.1.9
[INFO] [stderr] Checking log v0.4.26
[INFO] [stderr] Checking keccak v0.1.5
[INFO] [stderr] Checking aho-corasick v1.1.3
[INFO] [stderr] Checking bstr v1.12.0
[INFO] [stderr] Compiling quote v1.0.38
[INFO] [stderr] Compiling syn v2.0.98
[INFO] [stderr] Compiling object v0.36.7
[INFO] [stderr] Checking pathdiff v0.2.3
[INFO] [stderr] Checking adler2 v2.0.0
[INFO] [stderr] Compiling anyhow v1.0.96
[INFO] [stderr] Checking hex v0.4.3
[INFO] [stderr] Checking ryu v1.0.19
[INFO] [stderr] Checking itoa v1.0.14
[INFO] [stderr] Checking regex-automata v0.4.9
[INFO] [stderr] Checking filetime v0.2.25
[INFO] [stderr] Checking gimli v0.31.1
[INFO] [stderr] Checking chrono v0.4.41
[INFO] [stderr] Checking hashes v0.1.9
[INFO] [stderr] Checking miniz_oxide v0.8.5
[INFO] [stderr] Checking rustc-demangle v0.1.24
[INFO] [stderr] Checking once_cell v1.20.3
[INFO] [stderr] Checking sysinfo v0.26.9
[INFO] [stderr] Checking crypto-common v0.1.6
[INFO] [stderr] Checking block-buffer v0.10.4
[INFO] [stderr] Checking diff v0.1.13
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking yansi v1.0.1
[INFO] [stderr] Checking blake2 v0.10.6
[INFO] [stderr] Checking sha2 v0.10.8
[INFO] [stderr] Checking sha1 v0.10.6
[INFO] [stderr] Checking md-5 v0.10.6
[INFO] [stderr] Checking sha3 v0.10.8
[INFO] [stderr] Checking whoami v1.5.2
[INFO] [stderr] Checking pretty_assertions v1.4.1
[INFO] [stderr] Compiling serde_derive v1.0.218
[INFO] [stderr] Checking globset v0.4.16
[INFO] [stderr] Checking checksum_helper v0.1.0 (/opt/rustwide/workdir/checksum_helper)
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn`
[INFO] [stdout] --> checksum_helper/src/collection/mod.rs:5:11
[INFO] [stdout] |
[INFO] [stdout] 5 | use log::{debug, error, info, warn};
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout] --> checksum_helper/src/collection/parser.rs:10:24
[INFO] [stdout] |
[INFO] [stdout] 10 | use std::io::{BufRead, Cursor};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `HashType`
[INFO] [stdout] --> checksum_helper/src/collection/serialize.rs:4:35
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::hashed_file::{FileRaw, HashType};
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `HashCollectionError`
[INFO] [stdout] --> checksum_helper/src/collection/writer.rs:1:40
[INFO] [stdout] |
[INFO] [stdout] 1 | use super::{serialize, HashCollection, HashCollectionError, Result};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Glob`
[INFO] [stdout] --> checksum_helper/src/pathmatcher.rs:1:15
[INFO] [stdout] |
[INFO] [stdout] 1 | use globset::{Glob, GlobBuilder, GlobSet, GlobSetBuilder};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `StripPrefixError`
[INFO] [stdout] --> checksum_helper/src/file_tree.rs:1:43
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf, Component, StripPrefixError};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking addr2line v0.24.2
[INFO] [stdout] warning: unused variable: `ours`
[INFO] [stdout] --> checksum_helper/src/collection/mod.rs:221:22
[INFO] [stdout] |
[INFO] [stdout] 221 | Some(ours) => {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ours`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `progress`
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:72:38
[INFO] [stdout] |
[INFO] [stdout] 72 | pub fn incremental
(&mut self, progress: P) -> Result<&HashCollection>
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `include`
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:195:37
[INFO] [stdout] |
[INFO] [stdout] 195 | pub fn verify_root(&self, include: F, progress: P) -> Result<()>
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_include`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `progress`
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:195:49
[INFO] [stdout] |
[INFO] [stdout] 195 | pub fn verify_root(&self, include: F, progress: P) -> Result<()>
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `tree_root`, `relative_path`, `file_number_processed`, `file_number_total`, `size_processed_bytes`, and `size_total_bytes` are never read
[INFO] [stdout] --> checksum_helper/src/collection/mod.rs:313:5
[INFO] [stdout] |
[INFO] [stdout] 312 | pub struct VerifyProgressCommon<'a> {
[INFO] [stdout] | -------------------- fields in this struct
[INFO] [stdout] 313 | tree_root: &'a Path,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 314 | relative_path: &'a Path,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] 315 | file_number_processed: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 316 | file_number_total: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 317 | size_processed_bytes: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 318 | size_total_bytes: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `VerifyProgressCommon` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `progress` and `result` are never read
[INFO] [stdout] --> checksum_helper/src/collection/mod.rs:323:5
[INFO] [stdout] |
[INFO] [stdout] 322 | pub struct VerifyProgressPost<'a> {
[INFO] [stdout] | ------------------ fields in this struct
[INFO] [stdout] 323 | progress: VerifyProgressCommon<'a>,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 324 | result: &'a VerifyResult,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `VerifyProgressPost` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `bare` and `with_context_mut` are never used
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:143:19
[INFO] [stdout] |
[INFO] [stdout] 142 | impl FileRaw {
[INFO] [stdout] | ------------ associated items in this implementation
[INFO] [stdout] 143 | pub(crate) fn bare(filename: EntryHandle, hash_type: HashType) -> Self {
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 | pub(crate) fn with_context_mut<'a>(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `relative_path`, `fetch_size`, `fetch_mtime`, and `mtime_to_disk` are never used
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:288:8
[INFO] [stdout] |
[INFO] [stdout] 265 | impl<'a> File<'a> {
[INFO] [stdout] | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 288 | fn relative_path(&self) -> path::PathBuf {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 296 | fn fetch_size(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 | fn fetch_mtime(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 | fn mtime_to_disk(&self) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated functions `move_collection` and `copy_collection` are never used
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:203:8
[INFO] [stdout] |
[INFO] [stdout] 44 | impl ChecksumHelper {
[INFO] [stdout] | ------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 | fn move_collection() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 | fn copy_collection() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `incremental_include_unchanged_files`, `incremental_skip_unchanged`, and `all_files_matcher` are never read
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:302:5
[INFO] [stdout] |
[INFO] [stdout] 299 | pub struct ChecksumHelperOptions {
[INFO] [stdout] | --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 302 | incremental_include_unchanged_files: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 | incremental_skip_unchanged: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 326 | all_files_matcher: PathMatcher,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `is_valid` is never used
[INFO] [stdout] --> checksum_helper/src/file_tree.rs:18:4
[INFO] [stdout] |
[INFO] [stdout] 18 | fn is_valid(path: impl AsRef) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Defer` is never constructed
[INFO] [stdout] --> checksum_helper/src/utils.rs:2:12
[INFO] [stdout] |
[INFO] [stdout] 2 | pub struct Defer {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> checksum_helper/src/utils.rs:7:12
[INFO] [stdout] |
[INFO] [stdout] 6 | impl Defer {
[INFO] [stdout] | -------------------------- associated function in this implementation
[INFO] [stdout] 7 | pub fn new(cleanup: F) -> Defer {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking checksum_helper_cli v0.1.0 (/opt/rustwide/workdir/checksum_helper_cli)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout] --> checksum_helper_cli/src/main.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout] --> checksum_helper_cli/src/main.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pause` is never used
[INFO] [stdout] --> checksum_helper_cli/src/main.rs:7:4
[INFO] [stdout] |
[INFO] [stdout] 7 | fn pause() {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pause` is never used
[INFO] [stdout] --> checksum_helper_cli/src/main.rs:7:4
[INFO] [stdout] |
[INFO] [stdout] 7 | fn pause() {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking backtrace v0.3.74
[INFO] [stderr] Checking cargo-platform v0.1.8
[INFO] [stderr] Checking cargo_metadata v0.14.2
[INFO] [stderr] Checking testdir v0.9.3
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn`
[INFO] [stdout] --> checksum_helper/src/collection/mod.rs:5:11
[INFO] [stdout] |
[INFO] [stdout] 5 | use log::{debug, error, info, warn};
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `hashes::sha2::sha512`
[INFO] [stdout] --> checksum_helper/src/collection/mod.rs:472:9
[INFO] [stdout] |
[INFO] [stdout] 472 | use hashes::sha2::sha512;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Glob`
[INFO] [stdout] --> checksum_helper/src/pathmatcher.rs:1:15
[INFO] [stdout] |
[INFO] [stdout] 1 | use globset::{Glob, GlobBuilder, GlobSet, GlobSetBuilder};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `StripPrefixError`
[INFO] [stdout] --> checksum_helper/src/file_tree.rs:1:43
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf, Component, StripPrefixError};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> checksum_helper/src/collection/writer.rs:100:22
[INFO] [stdout] |
[INFO] [stdout] 100 | let (mut hc, mut ft, expected_serialization) = setup_minimal_hc(&testdir);
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> checksum_helper/src/collection/writer.rs:118:22
[INFO] [stdout] |
[INFO] [stdout] 118 | let (mut hc, mut ft, expected_serialization) = setup_minimal_hc(&testdir);
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> checksum_helper/src/collection/writer.rs:138:22
[INFO] [stdout] |
[INFO] [stdout] 138 | let (mut hc, mut ft, expected_serialization) = setup_minimal_hc(&testdir);
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> checksum_helper/src/collection/writer.rs:156:13
[INFO] [stdout] |
[INFO] [stdout] 156 | let path = testdir.join("foo.cshd");
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `expected_serialization`
[INFO] [stdout] --> checksum_helper/src/collection/writer.rs:157:30
[INFO] [stdout] |
[INFO] [stdout] 157 | let (mut hc, mut ft, expected_serialization) = setup_minimal_hc(&testdir);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_serialization`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> checksum_helper/src/collection/writer.rs:157:22
[INFO] [stdout] |
[INFO] [stdout] 157 | let (mut hc, mut ft, expected_serialization) = setup_minimal_hc(&testdir);
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ours`
[INFO] [stdout] --> checksum_helper/src/collection/mod.rs:221:22
[INFO] [stdout] |
[INFO] [stdout] 221 | Some(ours) => {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ours`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:538:14
[INFO] [stdout] |
[INFO] [stdout] 538 | let (testdir, _, _, testcontent, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:545:14
[INFO] [stdout] |
[INFO] [stdout] 545 | let (testdir, _, testfile, _, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:556:14
[INFO] [stdout] |
[INFO] [stdout] 556 | let (testdir, _, _, _, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:569:14
[INFO] [stdout] |
[INFO] [stdout] 569 | let (testdir, _testfile_name, _testfile_abs, testcontent, ft, mut raw, expected_hex) =
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:592:14
[INFO] [stdout] |
[INFO] [stdout] 592 | let (testdir, _testfile_name, _testfile_abs, _testcontent, ft, mut raw, _) =
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:604:14
[INFO] [stdout] |
[INFO] [stdout] 604 | let (testdir, _testfile_name, _testfile_abs, _testcontent, ft, mut raw, _) =
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:619:14
[INFO] [stdout] |
[INFO] [stdout] 619 | let (testdir, _testfile_name, testfile_abs, _testcontent, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:630:14
[INFO] [stdout] |
[INFO] [stdout] 630 | let (testdir, _testfile_name, testfile_abs, _testcontent, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:641:14
[INFO] [stdout] |
[INFO] [stdout] 641 | let (testdir, _testfile_name, testfile_abs, testcontent, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:654:14
[INFO] [stdout] |
[INFO] [stdout] 654 | let (testdir, _testfile_name, testfile_abs, testcontent, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `testdir`
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:669:14
[INFO] [stdout] |
[INFO] [stdout] 669 | let (testdir, _testfile_name, testfile_abs, testcontent, ft, mut raw, _) = setup_testfile();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testdir`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `progress`
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:72:38
[INFO] [stdout] |
[INFO] [stdout] 72 | pub fn incremental(&mut self, progress: P) -> Result<&HashCollection>
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `include`
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:195:37
[INFO] [stdout] |
[INFO] [stdout] 195 | pub fn verify_root(&self, include: F, progress: P) -> Result<()>
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_include`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `progress`
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:195:49
[INFO] [stdout] |
[INFO] [stdout] 195 | pub fn verify_root(&self, include: F, progress: P) -> Result<()>
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> checksum_helper/src/file_tree.rs:488:13
[INFO] [stdout] |
[INFO] [stdout] 488 | let mut ft = FileTree::new(Path::new("/foo")).unwrap();
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `with_context_mut` is never used
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:220:19
[INFO] [stdout] |
[INFO] [stdout] 142 | impl FileRaw {
[INFO] [stdout] | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 220 | pub(crate) fn with_context_mut<'a>(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `relative_path` is never used
[INFO] [stdout] --> checksum_helper/src/hashed_file.rs:288:8
[INFO] [stdout] |
[INFO] [stdout] 265 | impl<'a> File<'a> {
[INFO] [stdout] | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 288 | fn relative_path(&self) -> path::PathBuf {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated functions `move_collection` and `copy_collection` are never used
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:203:8
[INFO] [stdout] |
[INFO] [stdout] 44 | impl ChecksumHelper {
[INFO] [stdout] | ------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 | fn move_collection() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 | fn copy_collection() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `incremental_include_unchanged_files`, `incremental_skip_unchanged`, and `all_files_matcher` are never read
[INFO] [stdout] --> checksum_helper/src/checksum_helper.rs:302:5
[INFO] [stdout] |
[INFO] [stdout] 299 | pub struct ChecksumHelperOptions {
[INFO] [stdout] | --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 302 | incremental_include_unchanged_files: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 | incremental_skip_unchanged: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 326 | all_files_matcher: PathMatcher,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.24s
[INFO] running `Command { std: "docker" "inspect" "26c4f3a5187bea0e81cd2b41b679d8ed7febf5bd68493825f022047048458b9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26c4f3a5187bea0e81cd2b41b679d8ed7febf5bd68493825f022047048458b9f", kill_on_drop: false }`
[INFO] [stdout] 26c4f3a5187bea0e81cd2b41b679d8ed7febf5bd68493825f022047048458b9f