[INFO] fetching crate forge-rs 0.5.0... [INFO] checking forge-rs-0.5.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate forge-rs 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate forge-rs 0.5.0 [INFO] finished tweaking crates.io crate forge-rs 0.5.0 [INFO] tweaked toml for crates.io crate forge-rs 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate forge-rs 0.5.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate forge-rs 0.5.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82a2492c9b2b33efc9ebfc8c72c3b131d0a3642c5612d1863bbc6c0f3d798e33 [INFO] running `Command { std: "docker" "start" "-a" "82a2492c9b2b33efc9ebfc8c72c3b131d0a3642c5612d1863bbc6c0f3d798e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82a2492c9b2b33efc9ebfc8c72c3b131d0a3642c5612d1863bbc6c0f3d798e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a2492c9b2b33efc9ebfc8c72c3b131d0a3642c5612d1863bbc6c0f3d798e33", kill_on_drop: false }` [INFO] [stdout] 82a2492c9b2b33efc9ebfc8c72c3b131d0a3642c5612d1863bbc6c0f3d798e33 [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1462c108911b2c46fef1ba58e2648148639a01ac621f5fe72e2b5ab3a72f88c [INFO] running `Command { std: "docker" "start" "-a" "d1462c108911b2c46fef1ba58e2648148639a01ac621f5fe72e2b5ab3a72f88c", kill_on_drop: false }` [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling roff v0.2.2 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking assert_fs v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling clap_mangen v0.2.29 [INFO] [stderr] Compiling forge-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking rusqlite v0.30.0 [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/cli/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_args() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heat_command` is never used [INFO] [stdout] --> src/cli/commands.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn heat_command(files: &[PathBuf]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forge_command` is never used [INFO] [stdout] --> src/cli/commands.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn forge_command() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cool_command` is never used [INFO] [stdout] --> src/cli/commands.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn cool_command(files: &[PathBuf], _skip_confirm: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `purge_command` is never used [INFO] [stdout] --> src/cli/commands.rs:1247:8 [INFO] [stdout] | [INFO] [stdout] 1247 | pub fn purge_command(folder: &Path, recursive: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_dir` is never read [INFO] [stdout] --> src/config/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | config_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/config/mod.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_default_path_file(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn set_default_path(&self, path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn add_filetypes(&self, extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn remove_filetypes(&self, extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn list_filetypes(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn add_ignored_paths(&self, paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn remove_ignored_paths(&self, paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn list_ignored_paths(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_managed_folders_file(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn is_managed_folder(&self, path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn get_managed_folder_by_name(&self, name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn file_exists>(&self, file_path: P, item: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn remove_item_from_list>(&self, file_path: P, item: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | fn list_items>(&self, file_path: P, header: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_default_path` is never used [INFO] [stdout] --> src/config/mod.rs:732:8 [INFO] [stdout] | [INFO] [stdout] 732 | pub fn set_default_path(path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_filetypes` is never used [INFO] [stdout] --> src/config/mod.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn add_filetypes(extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_filetypes` is never used [INFO] [stdout] --> src/config/mod.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 752 | pub fn remove_filetypes(extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_filetypes` is never used [INFO] [stdout] --> src/config/mod.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn list_filetypes() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_ignored_paths` is never used [INFO] [stdout] --> src/config/mod.rs:762:8 [INFO] [stdout] | [INFO] [stdout] 762 | pub fn add_ignored_paths(paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_ignored_paths` is never used [INFO] [stdout] --> src/config/mod.rs:767:8 [INFO] [stdout] | [INFO] [stdout] 767 | pub fn remove_ignored_paths(paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_ignored_paths` is never used [INFO] [stdout] --> src/config/mod.rs:772:8 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn list_ignored_paths() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_managed_folders` is never used [INFO] [stdout] --> src/config/mod.rs:784:8 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn get_managed_folders() -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_managed_folder` is never used [INFO] [stdout] --> src/config/mod.rs:789:8 [INFO] [stdout] | [INFO] [stdout] 789 | pub fn is_managed_folder(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_managed_folder_by_name` is never used [INFO] [stdout] --> src/config/mod.rs:794:8 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn get_managed_folder_by_name(name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_status`, `is_linked`, and `is_unlinked` are never used [INFO] [stdout] --> src/dotfile/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl DotFile { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(source: PathBuf, target: PathBuf, profile: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_status(&mut self, status: DotFileStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_linked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_unlinked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backup_file` is never used [INFO] [stdout] --> src/dotfile/backup.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn backup_file>(path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link_file` is never used [INFO] [stdout] --> src/dotfile/link.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn link_file, Q: AsRef>(source: P, target: Q) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlink_file` is never used [INFO] [stdout] --> src/dotfile/unlink.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn unlink_file>(target: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_directory` is never used [INFO] [stdout] --> src/scanner/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn scan_directory>(dir: P) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_symlink_target` is never used [INFO] [stdout] --> src/symlink/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_symlink_target>(path: P) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_old_symlinks` is never used [INFO] [stdout] --> src/symlink/mod.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn remove_old_symlinks>(target_dir: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_version` is never used [INFO] [stdout] --> src/utils/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_version() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_man_page` is never used [INFO] [stdout] --> src/utils/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_man_page() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_absolute` is never used [INFO] [stdout] --> src/utils/path_utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn is_absolute>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_warning` is never used [INFO] [stdout] --> src/utils/ui.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn show_warning(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/cli/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_args() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heat_command` is never used [INFO] [stdout] --> src/cli/commands.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn heat_command(files: &[PathBuf]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forge_command` is never used [INFO] [stdout] --> src/cli/commands.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn forge_command() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cool_command` is never used [INFO] [stdout] --> src/cli/commands.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn cool_command(files: &[PathBuf], _skip_confirm: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `purge_command` is never used [INFO] [stdout] --> src/cli/commands.rs:1247:8 [INFO] [stdout] | [INFO] [stdout] 1247 | pub fn purge_command(folder: &Path, recursive: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_dir` is never read [INFO] [stdout] --> src/config/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | config_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/config/mod.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_default_path_file(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn set_default_path(&self, path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn add_filetypes(&self, extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn remove_filetypes(&self, extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn list_filetypes(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn add_ignored_paths(&self, paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn remove_ignored_paths(&self, paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn list_ignored_paths(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_managed_folders_file(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn is_managed_folder(&self, path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn get_managed_folder_by_name(&self, name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn file_exists>(&self, file_path: P, item: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn remove_item_from_list>(&self, file_path: P, item: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | fn list_items>(&self, file_path: P, header: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_default_path` is never used [INFO] [stdout] --> src/config/mod.rs:732:8 [INFO] [stdout] | [INFO] [stdout] 732 | pub fn set_default_path(path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_filetypes` is never used [INFO] [stdout] --> src/config/mod.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn add_filetypes(extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_filetypes` is never used [INFO] [stdout] --> src/config/mod.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 752 | pub fn remove_filetypes(extensions: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_filetypes` is never used [INFO] [stdout] --> src/config/mod.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn list_filetypes() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_ignored_paths` is never used [INFO] [stdout] --> src/config/mod.rs:762:8 [INFO] [stdout] | [INFO] [stdout] 762 | pub fn add_ignored_paths(paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_ignored_paths` is never used [INFO] [stdout] --> src/config/mod.rs:767:8 [INFO] [stdout] | [INFO] [stdout] 767 | pub fn remove_ignored_paths(paths: &[String]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_ignored_paths` is never used [INFO] [stdout] --> src/config/mod.rs:772:8 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn list_ignored_paths() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_managed_folders` is never used [INFO] [stdout] --> src/config/mod.rs:784:8 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn get_managed_folders() -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_managed_folder` is never used [INFO] [stdout] --> src/config/mod.rs:789:8 [INFO] [stdout] | [INFO] [stdout] 789 | pub fn is_managed_folder(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_managed_folder_by_name` is never used [INFO] [stdout] --> src/config/mod.rs:794:8 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn get_managed_folder_by_name(name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_status`, `is_linked`, and `is_unlinked` are never used [INFO] [stdout] --> src/dotfile/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl DotFile { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(source: PathBuf, target: PathBuf, profile: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_status(&mut self, status: DotFileStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_linked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_unlinked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backup_file` is never used [INFO] [stdout] --> src/dotfile/backup.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn backup_file>(path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link_file` is never used [INFO] [stdout] --> src/dotfile/link.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn link_file, Q: AsRef>(source: P, target: Q) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlink_file` is never used [INFO] [stdout] --> src/dotfile/unlink.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn unlink_file>(target: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_directory` is never used [INFO] [stdout] --> src/scanner/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn scan_directory>(dir: P) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_symlink_target` is never used [INFO] [stdout] --> src/symlink/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_symlink_target>(path: P) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_old_symlinks` is never used [INFO] [stdout] --> src/symlink/mod.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn remove_old_symlinks>(target_dir: P) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_version` is never used [INFO] [stdout] --> src/utils/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_version() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_man_page` is never used [INFO] [stdout] --> src/utils/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_man_page() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_absolute` is never used [INFO] [stdout] --> src/utils/path_utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn is_absolute>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_warning` is never used [INFO] [stdout] --> src/utils/ui.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn show_warning(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.64s [INFO] running `Command { std: "docker" "inspect" "d1462c108911b2c46fef1ba58e2648148639a01ac621f5fe72e2b5ab3a72f88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1462c108911b2c46fef1ba58e2648148639a01ac621f5fe72e2b5ab3a72f88c", kill_on_drop: false }` [INFO] [stdout] d1462c108911b2c46fef1ba58e2648148639a01ac621f5fe72e2b5ab3a72f88c