[INFO] fetching crate xdbm 0.4.0... [INFO] building xdbm-0.4.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate xdbm 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate xdbm 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xdbm 0.4.0 [INFO] tweaked toml for crates.io crate xdbm 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xdbm 0.4.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xdbm 0.4.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-implement v0.57.0 [INFO] [stderr] Downloaded windows-result v0.1.2 [INFO] [stderr] Downloaded newline-converter v0.3.0 [INFO] [stderr] Downloaded windows-interface v0.57.0 [INFO] [stderr] Downloaded assert_fs v1.1.2 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded uuid v1.15.0 [INFO] [stderr] Downloaded byte-unit v5.1.6 [INFO] [stderr] Downloaded inquire v0.7.5 [INFO] [stderr] Downloaded windows-core v0.57.0 [INFO] [stderr] Downloaded clap-verbosity-flag v3.0.2 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded dyn-clone v1.0.18 [INFO] [stderr] Downloaded sysinfo v0.32.1 [INFO] [stderr] Downloaded git2 v0.19.0 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded libz-sys v1.1.21 [INFO] [stderr] Downloaded libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Downloaded windows v0.57.0 [INFO] [stderr] Downloaded openssl-src v300.4.2+3.4.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7aa8068e43d777d62b7a6715ad84c9494a821dda0a5952f0c9ff7bf87a6d36a8 [INFO] running `Command { std: "docker" "start" "-a" "7aa8068e43d777d62b7a6715ad84c9494a821dda0a5952f0c9ff7bf87a6d36a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7aa8068e43d777d62b7a6715ad84c9494a821dda0a5952f0c9ff7bf87a6d36a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa8068e43d777d62b7a6715ad84c9494a821dda0a5952f0c9ff7bf87a6d36a8", kill_on_drop: false }` [INFO] [stdout] 7aa8068e43d777d62b7a6715ad84c9494a821dda0a5952f0c9ff7bf87a6d36a8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 871fa27abf0141446bbd255bec69284ef7f2de1a3d8c3640ea51477cdfe8450a [INFO] running `Command { std: "docker" "start" "-a" "871fa27abf0141446bbd255bec69284ef7f2de1a3d8c3640ea51477cdfe8450a", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling dyn-clone v1.0.18 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling clap_complete v4.5.46 [INFO] [stderr] Compiling clap-verbosity-flag v3.0.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling sysinfo v0.32.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling xdbm v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `disk_name` is never read [INFO] [stdout] --> src/cmd_storage.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut disk_name = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/backups.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl Backups { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn get(&self, name: &String) -> Option<&Backup> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_unique_name` is never used [INFO] [stdout] --> src/cmd_storage.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn ask_unique_name(storages: &Storages, target: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_credential` is never used [INFO] [stdout] --> src/git.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn get_credential<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilePathCompleter` is never constructed [INFO] [stdout] --> src/inquire_filepath_completer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FilePathCompleter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_input` and `longest_common_prefix` are never used [INFO] [stdout] --> src/inquire_filepath_completer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilePathCompleter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 15 | fn update_input(&mut self, input: &str) -> Result<(), CustomUserError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn longest_common_prefix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/storages.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait StorageExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 139 | fn has_alias(&self, device: &devices::Device) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/storages.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Storages { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn remove(mut self, storage: Storage) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_note` and `mount_path` are never used [INFO] [stdout] --> src/storages/directory.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Directory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn update_note(self, notes: String) -> Directory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn mount_path(&self, device: &devices::Device, storages: &Storages) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bind_device` is never used [INFO] [stdout] --> src/storages/physical_drive_partition.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PhysicalDrivePartition { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn bind_device(&mut self, disk: &sysinfo::Disk, config_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | fn find_last_commit(repo: &Repository) -> Result, git2::Error> { [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] 140 | fn find_last_commit(repo: &Repository) -> Result>, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.20s [INFO] running `Command { std: "docker" "inspect" "871fa27abf0141446bbd255bec69284ef7f2de1a3d8c3640ea51477cdfe8450a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871fa27abf0141446bbd255bec69284ef7f2de1a3d8c3640ea51477cdfe8450a", kill_on_drop: false }` [INFO] [stdout] 871fa27abf0141446bbd255bec69284ef7f2de1a3d8c3640ea51477cdfe8450a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98bbc88437cef88026a073a4572a1bfde53e22282970fe5e6cf3d33c41a8b6b9 [INFO] running `Command { std: "docker" "start" "-a" "98bbc88437cef88026a073a4572a1bfde53e22282970fe5e6cf3d33c41a8b6b9", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling xdbm v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.2 [INFO] [stdout] warning: value assigned to `disk_name` is never read [INFO] [stdout] --> src/cmd_storage.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut disk_name = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/backups.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl Backups { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn get(&self, name: &String) -> Option<&Backup> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_unique_name` is never used [INFO] [stdout] --> src/cmd_storage.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn ask_unique_name(storages: &Storages, target: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_credential` is never used [INFO] [stdout] --> src/git.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn get_credential<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilePathCompleter` is never constructed [INFO] [stdout] --> src/inquire_filepath_completer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FilePathCompleter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_input` and `longest_common_prefix` are never used [INFO] [stdout] --> src/inquire_filepath_completer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilePathCompleter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 15 | fn update_input(&mut self, input: &str) -> Result<(), CustomUserError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn longest_common_prefix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/storages.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait StorageExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 139 | fn has_alias(&self, device: &devices::Device) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/storages.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Storages { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn remove(mut self, storage: Storage) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_note` and `mount_path` are never used [INFO] [stdout] --> src/storages/directory.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Directory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn update_note(self, notes: String) -> Directory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn mount_path(&self, device: &devices::Device, storages: &Storages) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bind_device` is never used [INFO] [stdout] --> src/storages/physical_drive_partition.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PhysicalDrivePartition { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn bind_device(&mut self, disk: &sysinfo::Disk, config_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | fn find_last_commit(repo: &Repository) -> Result, git2::Error> { [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] 140 | fn find_last_commit(repo: &Repository) -> Result>, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disk_name` is never read [INFO] [stdout] --> src/cmd_storage.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut disk_name = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/backups.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl Backups { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn get(&self, name: &String) -> Option<&Backup> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_unique_name` is never used [INFO] [stdout] --> src/cmd_storage.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn ask_unique_name(storages: &Storages, target: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_credential` is never used [INFO] [stdout] --> src/git.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn get_credential<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilePathCompleter` is never constructed [INFO] [stdout] --> src/inquire_filepath_completer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FilePathCompleter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_input` and `longest_common_prefix` are never used [INFO] [stdout] --> src/inquire_filepath_completer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilePathCompleter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 15 | fn update_input(&mut self, input: &str) -> Result<(), CustomUserError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn longest_common_prefix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/storages.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait StorageExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 139 | fn has_alias(&self, device: &devices::Device) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/storages.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Storages { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn remove(mut self, storage: Storage) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_note` and `mount_path` are never used [INFO] [stdout] --> src/storages/directory.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Directory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn update_note(self, notes: String) -> Directory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn mount_path(&self, device: &devices::Device, storages: &Storages) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bind_device` is never used [INFO] [stdout] --> src/storages/physical_drive_partition.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PhysicalDrivePartition { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn bind_device(&mut self, disk: &sysinfo::Disk, config_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | fn find_last_commit(repo: &Repository) -> Result, git2::Error> { [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] 140 | fn find_last_commit(repo: &Repository) -> Result>, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "98bbc88437cef88026a073a4572a1bfde53e22282970fe5e6cf3d33c41a8b6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98bbc88437cef88026a073a4572a1bfde53e22282970fe5e6cf3d33c41a8b6b9", kill_on_drop: false }` [INFO] [stdout] 98bbc88437cef88026a073a4572a1bfde53e22282970fe5e6cf3d33c41a8b6b9