[INFO] fetching crate forge-rs 0.5.0...
[INFO] building forge-rs-0.5.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate forge-rs 0.5.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate forge-rs 0.5.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-case v3.3.1
[INFO] [stderr]   Downloaded test-case-core v3.3.1
[INFO] [stderr]   Downloaded test-case-macros v3.3.1
[INFO] [stderr]   Downloaded roff v0.2.2
[INFO] [stderr]   Downloaded clap_mangen v0.2.29
[INFO] [stderr]   Downloaded globwalk v0.9.1
[INFO] [stderr]   Downloaded assert_fs v1.1.3
[INFO] [stderr]   Downloaded ignore v0.4.23
[INFO] [stderr]   Downloaded float-cmp v0.10.0
[INFO] [stderr]   Downloaded rusqlite v0.30.0
[INFO] [stderr]   Downloaded cc v1.2.31
[INFO] [stderr]   Downloaded bzip2-sys v0.1.13+1.0.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b3c675c6a8e10822f086d591b8db33cdfbe0e00891ff42f58841568c50af6250
[INFO] running `Command { std: "docker" "start" "-a" "b3c675c6a8e10822f086d591b8db33cdfbe0e00891ff42f58841568c50af6250", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b3c675c6a8e10822f086d591b8db33cdfbe0e00891ff42f58841568c50af6250", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3c675c6a8e10822f086d591b8db33cdfbe0e00891ff42f58841568c50af6250", kill_on_drop: false }`
[INFO] [stdout] b3c675c6a8e10822f086d591b8db33cdfbe0e00891ff42f58841568c50af6250
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7cd3bfe0303e9b9dd6c5fef90c0d5d683c5abefae8301e325bb1711ae82dcb3f
[INFO] running `Command { std: "docker" "start" "-a" "7cd3bfe0303e9b9dd6c5fef90c0d5d683c5abefae8301e325bb1711ae82dcb3f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling roff v0.2.2
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling clap_builder v4.5.42
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling cc v1.2.31
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[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]    Compiling hashlink v0.8.4
[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 bzip2 v0.4.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[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]    Compiling globset v0.4.16
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling ignore v0.4.23
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling globwalk v0.9.1
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling assert_fs v1.1.3
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub fn get_managed_folder_by_name(&self, name: &str) -> io::Result<Option<PathBuf>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn file_exists<P: AsRef<Path>>(&self, file_path: P, item: &str) -> io::Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     fn remove_item_from_list<P: AsRef<Path>>(&self, file_path: P, item: &str) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 419 |     fn list_items<P: AsRef<Path>>(&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<Vec<(String, PathBuf)>> {
[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<bool> {
[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<Option<PathBuf>> {
[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<String>) -> 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<P: AsRef<Path>>(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<P: AsRef<Path>, Q: AsRef<Path>>(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<P: AsRef<Path>>(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<P: AsRef<Path>>(dir: P) -> io::Result<Vec<PathBuf>> {
[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<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[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<P: AsRef<Path>>(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<PathBuf> {
[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<P: AsRef<Path>>(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 55.45s
[INFO] running `Command { std: "docker" "inspect" "7cd3bfe0303e9b9dd6c5fef90c0d5d683c5abefae8301e325bb1711ae82dcb3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cd3bfe0303e9b9dd6c5fef90c0d5d683c5abefae8301e325bb1711ae82dcb3f", kill_on_drop: false }`
[INFO] [stdout] 7cd3bfe0303e9b9dd6c5fef90c0d5d683c5abefae8301e325bb1711ae82dcb3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9cefbc800cc792303b72cf3b86b436735d1bfc24c4e263205db5025b6887bf32
[INFO] running `Command { std: "docker" "start" "-a" "9cefbc800cc792303b72cf3b86b436735d1bfc24c4e263205db5025b6887bf32", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling assert_cmd v2.0.17
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]    Compiling globset v0.4.16
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling ignore v0.4.23
[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]    Compiling globwalk v0.9.1
[INFO] [stderr]    Compiling assert_fs v1.1.3
[INFO] [stderr]    Compiling test-case v3.3.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[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]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[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)]` (part of `#[warn(unused)]`) 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<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub fn get_managed_folder_by_name(&self, name: &str) -> io::Result<Option<PathBuf>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn file_exists<P: AsRef<Path>>(&self, file_path: P, item: &str) -> io::Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     fn remove_item_from_list<P: AsRef<Path>>(&self, file_path: P, item: &str) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 419 |     fn list_items<P: AsRef<Path>>(&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<Vec<(String, PathBuf)>> {
[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<bool> {
[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<Option<PathBuf>> {
[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<String>) -> 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<P: AsRef<Path>>(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<P: AsRef<Path>, Q: AsRef<Path>>(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<P: AsRef<Path>>(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<P: AsRef<Path>>(dir: P) -> io::Result<Vec<PathBuf>> {
[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<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[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<P: AsRef<Path>>(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<PathBuf> {
[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<P: AsRef<Path>>(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 `test` profile [unoptimized + debuginfo] target(s) in 26.10s
[INFO] running `Command { std: "docker" "inspect" "9cefbc800cc792303b72cf3b86b436735d1bfc24c4e263205db5025b6887bf32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cefbc800cc792303b72cf3b86b436735d1bfc24c4e263205db5025b6887bf32", kill_on_drop: false }`
[INFO] [stdout] 9cefbc800cc792303b72cf3b86b436735d1bfc24c4e263205db5025b6887bf32
