[INFO] fetching crate fox-dotfile 0.2.0... [INFO] testing fox-dotfile-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fox-dotfile 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate fox-dotfile 0.2.0 [INFO] finished tweaking crates.io crate fox-dotfile 0.2.0 [INFO] tweaked toml for crates.io crate fox-dotfile 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fox-dotfile 0.2.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 fox-dotfile 0.2.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6bb6a2792e842e2a9bfb10d24f932fc1fe55d094a002af72cd9f11ca0815c4f1 [INFO] running `Command { std: "docker" "start" "-a" "6bb6a2792e842e2a9bfb10d24f932fc1fe55d094a002af72cd9f11ca0815c4f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bb6a2792e842e2a9bfb10d24f932fc1fe55d094a002af72cd9f11ca0815c4f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb6a2792e842e2a9bfb10d24f932fc1fe55d094a002af72cd9f11ca0815c4f1", kill_on_drop: false }` [INFO] [stdout] 6bb6a2792e842e2a9bfb10d24f932fc1fe55d094a002af72cd9f11ca0815c4f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ecd07590893b3c00adc696a3982da402d87c6bfd4c5b55f7ab4dba1e0fcfe7cb [INFO] running `Command { std: "docker" "start" "-a" "ecd07590893b3c00adc696a3982da402d87c6bfd4c5b55f7ab4dba1e0fcfe7cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustix v0.38.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling memchr v2.6.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling clap-verbosity-flag v2.0.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling notify v5.2.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling fox-dotfile v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command`, `PathBuf`, and `exit` [INFO] [stdout] --> src/commands/internal.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | process::{exit, Command}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stdio` and `collections::HashMap` [INFO] [stdout] --> src/commands/reconcile.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | process::{exit, Command, Stdio}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glob::glob` [INFO] [stdout] --> src/commands/reconcile.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use glob::glob; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util` [INFO] [stdout] --> src/commands/reconcile.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui` [INFO] [stdout] --> src/commands/reconcile.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{cli::ReconcileCommands, config::Config, tui}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `os` [INFO] [stdout] --> src/util.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | env, fs, os, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::ReconcileCommands` [INFO] [stdout] --> src/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{cli::ReconcileCommands, config::Config, tui}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_line` [INFO] [stdout] --> src/main.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | InternalCommands::FindMan { command_line } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `command_line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/commands/internal.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CommandInternal { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 12 | config: Config, [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 `internal_start_watcher` is never used [INFO] [stdout] --> src/commands/internal.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn internal_start_watcher() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_find_man` is never used [INFO] [stdout] --> src/commands/internal.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn internal_find_man(command_line: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_generate` is never used [INFO] [stdout] --> src/commands/internal.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn internal_generate() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/commands/reconcile.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CommandReconcile { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 15 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/commands/reconcile.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DotfileEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 47 | pub op: DotfileEntryOp, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_man` is never used [INFO] [stdout] --> src/util.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn find_man(command_line: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/script.rs:68:84 [INFO] [stdout] | [INFO] [stdout] 68 | let entrypoint = util::get_entrypoint_sh(self.config.dotmgr_dir.to_str().unwrap().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/script.rs:70:76 [INFO] [stdout] | [INFO] [stdout] 70 | let sources = util::get_sources(&self.config.dotmgr_dir.to_str().unwrap().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.90s [INFO] running `Command { std: "docker" "inspect" "ecd07590893b3c00adc696a3982da402d87c6bfd4c5b55f7ab4dba1e0fcfe7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd07590893b3c00adc696a3982da402d87c6bfd4c5b55f7ab4dba1e0fcfe7cb", kill_on_drop: false }` [INFO] [stdout] ecd07590893b3c00adc696a3982da402d87c6bfd4c5b55f7ab4dba1e0fcfe7cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b20fa8e1dc5fd49168c35c1f2aca5e3bb560472b4d676cbd01a472a196921f23 [INFO] running `Command { std: "docker" "start" "-a" "b20fa8e1dc5fd49168c35c1f2aca5e3bb560472b4d676cbd01a472a196921f23", kill_on_drop: false }` [INFO] [stderr] Compiling fox-dotfile v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command`, `PathBuf`, and `exit` [INFO] [stdout] --> src/commands/internal.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | process::{exit, Command}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stdio` and `collections::HashMap` [INFO] [stdout] --> src/commands/reconcile.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | process::{exit, Command, Stdio}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glob::glob` [INFO] [stdout] --> src/commands/reconcile.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use glob::glob; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util` [INFO] [stdout] --> src/commands/reconcile.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui` [INFO] [stdout] --> src/commands/reconcile.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{cli::ReconcileCommands, config::Config, tui}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `os` [INFO] [stdout] --> src/util.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | env, fs, os, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::ReconcileCommands` [INFO] [stdout] --> src/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{cli::ReconcileCommands, config::Config, tui}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_line` [INFO] [stdout] --> src/main.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | InternalCommands::FindMan { command_line } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `command_line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/commands/internal.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CommandInternal { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 12 | config: Config, [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 `internal_start_watcher` is never used [INFO] [stdout] --> src/commands/internal.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn internal_start_watcher() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_find_man` is never used [INFO] [stdout] --> src/commands/internal.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn internal_find_man(command_line: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_generate` is never used [INFO] [stdout] --> src/commands/internal.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn internal_generate() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/commands/reconcile.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CommandReconcile { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 15 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/commands/reconcile.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DotfileEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 47 | pub op: DotfileEntryOp, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_man` is never used [INFO] [stdout] --> src/util.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn find_man(command_line: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/script.rs:68:84 [INFO] [stdout] | [INFO] [stdout] 68 | let entrypoint = util::get_entrypoint_sh(self.config.dotmgr_dir.to_str().unwrap().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/script.rs:70:76 [INFO] [stdout] | [INFO] [stdout] 70 | let sources = util::get_sources(&self.config.dotmgr_dir.to_str().unwrap().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dotmgr` [INFO] [stdout] --> tests/for_empty_target.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotmgr::F; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dotmgr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotmgr`, use `cargo add dotmgr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fox-dotfile` (test "for_empty_target") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `Command`, `PathBuf`, and `exit` [INFO] [stdout] --> src/commands/internal.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | process::{exit, Command}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stdio` and `collections::HashMap` [INFO] [stdout] --> src/commands/reconcile.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | process::{exit, Command, Stdio}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glob::glob` [INFO] [stdout] --> src/commands/reconcile.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use glob::glob; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util` [INFO] [stdout] --> src/commands/reconcile.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui` [INFO] [stdout] --> src/commands/reconcile.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{cli::ReconcileCommands, config::Config, tui}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `os` [INFO] [stdout] --> src/util.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | env, fs, os, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::ReconcileCommands` [INFO] [stdout] --> src/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{cli::ReconcileCommands, config::Config, tui}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_line` [INFO] [stdout] --> src/main.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | InternalCommands::FindMan { command_line } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `command_line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/commands/internal.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CommandInternal { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 12 | config: Config, [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 `internal_start_watcher` is never used [INFO] [stdout] --> src/commands/internal.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn internal_start_watcher() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_find_man` is never used [INFO] [stdout] --> src/commands/internal.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn internal_find_man(command_line: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_generate` is never used [INFO] [stdout] --> src/commands/internal.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn internal_generate() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/commands/reconcile.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CommandReconcile { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 15 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/commands/reconcile.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DotfileEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 47 | pub op: DotfileEntryOp, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/script.rs:68:84 [INFO] [stdout] | [INFO] [stdout] 68 | let entrypoint = util::get_entrypoint_sh(self.config.dotmgr_dir.to_str().unwrap().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/script.rs:70:76 [INFO] [stdout] | [INFO] [stdout] 70 | let sources = util::get_sources(&self.config.dotmgr_dir.to_str().unwrap().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b20fa8e1dc5fd49168c35c1f2aca5e3bb560472b4d676cbd01a472a196921f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20fa8e1dc5fd49168c35c1f2aca5e3bb560472b4d676cbd01a472a196921f23", kill_on_drop: false }` [INFO] [stdout] b20fa8e1dc5fd49168c35c1f2aca5e3bb560472b4d676cbd01a472a196921f23