[INFO] fetching crate xdbm 0.4.0... [INFO] testing xdbm-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate xdbm 0.4.0 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xdbm 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de0164cf803dcac2faac38b6a00185ef292e40649dff126a984349ce13022dd4 [INFO] running `Command { std: "docker" "start" "-a" "de0164cf803dcac2faac38b6a00185ef292e40649dff126a984349ce13022dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de0164cf803dcac2faac38b6a00185ef292e40649dff126a984349ce13022dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0164cf803dcac2faac38b6a00185ef292e40649dff126a984349ce13022dd4", kill_on_drop: false }` [INFO] [stdout] de0164cf803dcac2faac38b6a00185ef292e40649dff126a984349ce13022dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 503fc7613296107fce1527b07bdff205a81a90826d38bb84f8a384f62abea185 [INFO] running `Command { std: "docker" "start" "-a" "503fc7613296107fce1527b07bdff205a81a90826d38bb84f8a384f62abea185", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling dyn-clone v1.0.18 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling indexmap v2.7.1 [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 mio v0.8.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.106 [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 synstructure v0.13.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 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 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 sysinfo v0.32.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling chrono v0.4.40 [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 58.89s [INFO] running `Command { std: "docker" "inspect" "503fc7613296107fce1527b07bdff205a81a90826d38bb84f8a384f62abea185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503fc7613296107fce1527b07bdff205a81a90826d38bb84f8a384f62abea185", kill_on_drop: false }` [INFO] [stdout] 503fc7613296107fce1527b07bdff205a81a90826d38bb84f8a384f62abea185 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 508e70b8eb277c09c643e342746a4976143bdab7efa340def1709594ed03f5e9 [INFO] running `Command { std: "docker" "start" "-a" "508e70b8eb277c09c643e342746a4976143bdab7efa340def1709594ed03f5e9", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [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 predicates-core v1.0.9 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [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 23.10s [INFO] running `Command { std: "docker" "inspect" "508e70b8eb277c09c643e342746a4976143bdab7efa340def1709594ed03f5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508e70b8eb277c09c643e342746a4976143bdab7efa340def1709594ed03f5e9", kill_on_drop: false }` [INFO] [stdout] 508e70b8eb277c09c643e342746a4976143bdab7efa340def1709594ed03f5e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5cd9158d89203a8bd150439bffe1b4d1ea294cc851352a74e3c4ce1c2fea3716 [INFO] running `Command { std: "docker" "start" "-a" "5cd9158d89203a8bd150439bffe1b4d1ea294cc851352a74e3c4ce1c2fea3716", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `disk_name` is never read [INFO] [stderr] --> src/cmd_storage.rs:302:13 [INFO] [stderr] | [INFO] [stderr] 302 | let mut disk_name = String::new(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/backups.rs:222:12 [INFO] [stderr] | [INFO] [stderr] 214 | impl Backups { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 222 | pub fn get(&self, name: &String) -> Option<&Backup> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `ask_unique_name` is never used [INFO] [stderr] --> src/cmd_storage.rs:301:4 [INFO] [stderr] | [INFO] [stderr] 301 | fn ask_unique_name(storages: &Storages, target: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_credential` is never used [INFO] [stderr] --> src/git.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) fn get_credential<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FilePathCompleter` is never constructed [INFO] [stderr] --> src/inquire_filepath_completer.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct FilePathCompleter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `update_input` and `longest_common_prefix` are never used [INFO] [stderr] --> src/inquire_filepath_completer.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 14 | impl FilePathCompleter { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] 15 | fn update_input(&mut self, input: &str) -> Result<(), CustomUserError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | fn longest_common_prefix(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `has_alias` is never used [INFO] [stderr] --> src/storages.rs:139:8 [INFO] [stderr] | [INFO] [stderr] 130 | pub trait StorageExt { [INFO] [stderr] | ---------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 139 | fn has_alias(&self, device: &devices::Device) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `remove` is never used [INFO] [stderr] --> src/storages.rs:205:12 [INFO] [stderr] | [INFO] [stderr] 172 | impl Storages { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 205 | pub fn remove(mut self, storage: Storage) -> Result> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `update_note` and `mount_path` are never used [INFO] [stderr] --> src/storages/directory.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Directory { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn update_note(self, notes: String) -> Directory { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | fn mount_path(&self, device: &devices::Device, storages: &Storages) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `bind_device` is never used [INFO] [stderr] --> src/storages/physical_drive_partition.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl PhysicalDrivePartition { [INFO] [stderr] | --------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn bind_device(&mut self, disk: &sysinfo::Disk, config_dir: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:140:27 [INFO] [stderr] | [INFO] [stderr] 140 | fn find_last_commit(repo: &Repository) -> Result, git2::Error> { [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 140 | fn find_last_commit(repo: &Repository) -> Result>, git2::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `xdbm` (bin "xdbm") generated 11 warnings (run `cargo fix --bin "xdbm"` to apply 1 suggestion) [INFO] [stderr] warning: `xdbm` (bin "xdbm" test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xdbm-563eb88ab7a2c5ff) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test cmd_backup::test::test_new_backup ... ok [INFO] [stdout] test devices::tests::get_name ... ok [INFO] [stdout] test storages::directory::test::name ... ok [INFO] [stdout] test cmd_status::test::test_parent_backups ... ok [INFO] [stdout] test storages::local_info::localinfo ... ok [INFO] [stdout] test util::test::test_expand_tilde ... ok [INFO] [stdout] test util::test::test_min_parent_storage ... ok [INFO] [stdout] test storages::physical_drive_partition::test::test_new ... ok [INFO] [stdout] test verify_cli ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-d07b8112c2f052ea) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test integrated_test::directory_without_parent ... FAILED [INFO] [stdout] test integrated_test::two_devices ... FAILED [INFO] [stdout] test integrated_test::two_devices_with_same_name ... FAILED [INFO] [stdout] test integrated_test::single_device ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- integrated_test::directory_without_parent stdout ---- [INFO] [stdout] Failed to get git global config [INFO] [stdout] Set env var `XDBM_ENABLE_OVERWRITE_GITCONFIG` to set automatically (mainly for CI) [INFO] [stdout] Error: failed to get git global config [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::__private::format_err [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/lib.rs:691:13 [INFO] [stdout] 2: cli::integrated_test::setup_gitconfig [INFO] [stdout] at ./tests/cli.rs:41:28 [INFO] [stdout] 3: cli::integrated_test::directory_without_parent [INFO] [stdout] at ./tests/cli.rs:234:9 [INFO] [stdout] 4: cli::integrated_test::directory_without_parent::{{closure}} [INFO] [stdout] at ./tests/cli.rs:231:38 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 11: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 12: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 17: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 18: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 23: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 25: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] [INFO] [stdout] ---- integrated_test::two_devices stdout ---- [INFO] [stdout] Failed to get git global config [INFO] [stdout] Set env var `XDBM_ENABLE_OVERWRITE_GITCONFIG` to set automatically (mainly for CI) [INFO] [stdout] Error: failed to get git global config [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::__private::format_err [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/lib.rs:691:13 [INFO] [stdout] 2: cli::integrated_test::setup_gitconfig [INFO] [stdout] at ./tests/cli.rs:41:28 [INFO] [stdout] 3: cli::integrated_test::two_devices [INFO] [stdout] at ./tests/cli.rs:269:9 [INFO] [stdout] 4: cli::integrated_test::two_devices::{{closure}} [INFO] [stdout] at ./tests/cli.rs:264:25 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 11: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 12: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 17: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 18: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 23: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 25: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] [INFO] [stdout] ---- integrated_test::two_devices_with_same_name stdout ---- [INFO] [stdout] Failed to get git global config [INFO] [stdout] Set env var `XDBM_ENABLE_OVERWRITE_GITCONFIG` to set automatically (mainly for CI) [INFO] [stdout] Error: failed to get git global config [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::__private::format_err [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/lib.rs:691:13 [INFO] [stdout] 2: cli::integrated_test::setup_gitconfig [INFO] [stdout] at ./tests/cli.rs:41:28 [INFO] [stdout] 3: cli::integrated_test::two_devices_with_same_name [INFO] [stdout] at ./tests/cli.rs:185:9 [INFO] [stdout] 4: cli::integrated_test::two_devices_with_same_name::{{closure}} [INFO] [stdout] at ./tests/cli.rs:182:40 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 11: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 12: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 17: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 18: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 23: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 25: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] [INFO] [stdout] ---- integrated_test::single_device stdout ---- [INFO] [stdout] Failed to get git global config [INFO] [stdout] Set env var `XDBM_ENABLE_OVERWRITE_GITCONFIG` to set automatically (mainly for CI) [INFO] [stdout] Error: failed to get git global config [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::__private::format_err [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.96/src/lib.rs:691:13 [INFO] [stdout] 2: cli::integrated_test::setup_gitconfig [INFO] [stdout] at ./tests/cli.rs:41:28 [INFO] [stdout] 3: cli::integrated_test::single_device [INFO] [stdout] at ./tests/cli.rs:89:9 [INFO] [stdout] 4: cli::integrated_test::single_device::{{closure}} [INFO] [stdout] at ./tests/cli.rs:87:27 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 11: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 12: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 17: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 18: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 23: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 25: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] integrated_test::directory_without_parent [INFO] [stdout] integrated_test::single_device [INFO] [stdout] integrated_test::two_devices [INFO] [stdout] integrated_test::two_devices_with_same_name [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] running `Command { std: "docker" "inspect" "5cd9158d89203a8bd150439bffe1b4d1ea294cc851352a74e3c4ce1c2fea3716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd9158d89203a8bd150439bffe1b4d1ea294cc851352a74e3c4ce1c2fea3716", kill_on_drop: false }` [INFO] [stdout] 5cd9158d89203a8bd150439bffe1b4d1ea294cc851352a74e3c4ce1c2fea3716