[INFO] fetching crate mntn 1.3.3... [INFO] testing mntn-1.3.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mntn 1.3.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mntn 1.3.3 [INFO] finished tweaking crates.io crate mntn 1.3.3 [INFO] tweaked toml for crates.io crate mntn 1.3.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mntn 1.3.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mntn 1.3.3 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2df17f2f53a653a8071784d59587e1523bdabfdf884fe678ef805309d72a23b1 [INFO] running `Command { std: "docker" "start" "-a" "2df17f2f53a653a8071784d59587e1523bdabfdf884fe678ef805309d72a23b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2df17f2f53a653a8071784d59587e1523bdabfdf884fe678ef805309d72a23b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df17f2f53a653a8071784d59587e1523bdabfdf884fe678ef805309d72a23b1", kill_on_drop: false }` [INFO] [stdout] 2df17f2f53a653a8071784d59587e1523bdabfdf884fe678ef805309d72a23b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a6eace5d6ec587466728512c673d14df2e9b0e11aafdc5b299f6270ca790c5f [INFO] running `Command { std: "docker" "start" "-a" "9a6eace5d6ec587466728512c673d14df2e9b0e11aafdc5b299f6270ca790c5f", kill_on_drop: false }` [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling notify v8.1.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling trash v5.2.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling plist v1.7.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mntn v1.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.92s [INFO] running `Command { std: "docker" "inspect" "9a6eace5d6ec587466728512c673d14df2e9b0e11aafdc5b299f6270ca790c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6eace5d6ec587466728512c673d14df2e9b0e11aafdc5b299f6270ca790c5f", kill_on_drop: false }` [INFO] [stdout] 9a6eace5d6ec587466728512c673d14df2e9b0e11aafdc5b299f6270ca790c5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77eddb6eef539221b9ab622e789e09bb011713e993885de00b55b5b30afb0185 [INFO] running `Command { std: "docker" "start" "-a" "77eddb6eef539221b9ab622e789e09bb011713e993885de00b55b5b30afb0185", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling plist v1.7.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mntn v1.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.72s [INFO] running `Command { std: "docker" "inspect" "77eddb6eef539221b9ab622e789e09bb011713e993885de00b55b5b30afb0185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77eddb6eef539221b9ab622e789e09bb011713e993885de00b55b5b30afb0185", kill_on_drop: false }` [INFO] [stdout] 77eddb6eef539221b9ab622e789e09bb011713e993885de00b55b5b30afb0185 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 934e60833e56f7f0f60c730b7c9d5068e23e84fccae8e30171e6d91081c012b7 [INFO] running `Command { std: "docker" "start" "-a" "934e60833e56f7f0f60c730b7c9d5068e23e84fccae8e30171e6d91081c012b7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mntn-227d9fa5e917c909) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mntn-7444aa897ea1a720) [INFO] [stderr] Doc-tests mntn [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::run (line 43) - compile ... FAILED [INFO] [stdout] test src/tasks/paths.rs - tasks::paths::get_backup_path (line 24) ... FAILED [INFO] [stdout] test src/tasks/paths.rs - tasks::paths::get_symlink_backup_path (line 43) ... FAILED [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::get_bundle_identifier (line 349) ... FAILED [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::prompt_user_to_select_app (line 93) ... FAILED [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::prompt_error (line 408) ... FAILED [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::load_config (line 238) ... FAILED [INFO] [stdout] test src/logger.rs - logger::log (line 18) ... FAILED [INFO] [stdout] test src/tasks/install.rs - tasks::install::run (line 21) ... FAILED [INFO] [stdout] test src/tasks/purge.rs - tasks::purge::run (line 28) - compile ... FAILED [INFO] [stdout] test src/tasks/clean.rs - tasks::clean::run (line 41) - compile ... FAILED [INFO] [stdout] test src/utils.rs - utils::bytes_to_human_readable (line 93) ... FAILED [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::find_related_files (line 270) ... FAILED [INFO] [stdout] test src/utils.rs - utils::get_vscode_settings_path (line 128) ... FAILED [INFO] [stdout] test src/utils.rs - utils::get_ghostty_config_path (line 188) ... FAILED [INFO] [stdout] test src/utils.rs - utils::calculate_dir_size (line 54) ... FAILED [INFO] [stdout] test src/cli.rs - cli::Cli (line 9) ... FAILED [INFO] [stdout] test src/utils.rs - utils::run_cmd (line 24) ... FAILED [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::is_homebrew_app (line 386) ... FAILED [INFO] [stdout] test src/tasks/delete.rs - tasks::delete::delete (line 149) ... FAILED [INFO] [stdout] test src/utils.rs - utils::get_vscode_keybindings_path (line 158) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::run (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `app_delete` [INFO] [stdout] --> src/tasks/delete.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 3 | app_delete::run(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `app_delete` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `app_delete`, use `cargo add app_delete` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/paths.rs - tasks::paths::get_backup_path (line 24) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_backup_path` in this scope [INFO] [stdout] --> src/tasks/paths.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 3 | let path = get_backup_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::paths::get_backup_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/paths.rs - tasks::paths::get_symlink_backup_path (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_symlink_backup_path` in this scope [INFO] [stdout] --> src/tasks/paths.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 3 | let path = get_symlink_backup_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::paths::get_symlink_backup_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::get_bundle_identifier (line 349) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tasks/delete.rs:350:32 [INFO] [stdout] | [INFO] [stdout] 3 | let id = get_bundle_identifier(Path::new("/Applications/Foo.app")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 2 + use which::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_bundle_identifier` in this scope [INFO] [stdout] --> src/tasks/delete.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 3 | let id = get_bundle_identifier(Path::new("/Applications/Foo.app")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::prompt_user_to_select_app (line 93) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `prompt_user_to_select_app` in this scope [INFO] [stdout] --> src/tasks/delete.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 3 | if let Ok(Some(app_name)) = prompt_user_to_select_app() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::prompt_error (line 408) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `err` in this scope [INFO] [stdout] --> src/tasks/delete.rs:409:55 [INFO] [stdout] | [INFO] [stdout] 3 | prompt_error("Failed to uninstall via Homebrew", Some(err)); [INFO] [stdout] | ^^^ help: a tuple variant with a similar name exists: `Err` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:558:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Err` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `prompt_error` in this scope [INFO] [stdout] --> src/tasks/delete.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 3 | prompt_error("Failed to uninstall via Homebrew", Some(err)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::load_config (line 238) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `load_config` in this scope [INFO] [stdout] --> src/tasks/delete.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = load_config(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/logger.rs - logger::log (line 18) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `log` in this scope [INFO] [stdout] --> src/logger.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 3 | log("Application started"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::logger::log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/install.rs - tasks::install::run (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `install_launch_agents` [INFO] [stdout] --> src/tasks/install.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 3 | install_launch_agents::run(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `install_launch_agents` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `install_launch_agents`, use `cargo add install_launch_agents` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/purge.rs - tasks::purge::run (line 28) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run` in crate `plist` [INFO] [stdout] --> src/tasks/purge.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 3 | plist::run(); [INFO] [stdout] | ^^^ not found in `plist` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::backup::run; [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::biometric_sudo::run; [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::clean::run; [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::delete::run; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `run`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - plist::run(); [INFO] [stdout] 3 + run(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/clean.rs - tasks::clean::run (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run` in this scope [INFO] [stdout] --> src/tasks/clean.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 3 | run(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::backup::run; [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::biometric_sudo::run; [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::clean::run; [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::tasks::delete::run; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::bytes_to_human_readable (line 93) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `bytes_to_human_readable` in this scope [INFO] [stdout] --> src/utils.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(bytes_to_human_readable(1024), "1.00 KB"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::utils::bytes_to_human_readable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bytes_to_human_readable` in this scope [INFO] [stdout] --> src/utils.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(bytes_to_human_readable(500), "500 bytes"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::utils::bytes_to_human_readable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::find_related_files (line 270) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `find_related_files` in this scope [INFO] [stdout] --> src/tasks/delete.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 3 | let matches = find_related_files("Firefox", Some("org.mozilla.firefox")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::get_vscode_settings_path (line 128) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_vscode_settings_path` in this scope [INFO] [stdout] --> src/utils.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some(path) = get_vscode_settings_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::utils::get_vscode_settings_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::get_ghostty_config_path (line 188) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_ghostty_config_path` in this scope [INFO] [stdout] --> src/utils.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some(path) = get_ghostty_config_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::utils::get_ghostty_config_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::calculate_dir_size (line 54) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `calculate_dir_size` in this scope [INFO] [stdout] --> src/utils.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 3 | let size = calculate_dir_size(Path::new("/some/path")).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::utils::calculate_dir_size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/utils.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 3 | let size = calculate_dir_size(Path::new("/some/path")).unwrap_or(0); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 2 + use which::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cli.rs - cli::Cli (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cli` [INFO] [stdout] --> src/cli.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 5 | let cli = Cli::parse(); [INFO] [stdout] | ^^^ use of undeclared type `Cli` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::cli::Cli; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Commands` [INFO] [stdout] --> src/cli.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 7 | Some(Commands::Backup) => { /* perform backup */ } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Commands` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::cli::Commands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Commands` [INFO] [stdout] --> src/cli.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 8 | Some(Commands::Clean) => { /* perform cleaning */ } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Commands` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::cli::Commands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::run_cmd (line 24) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run_cmd` in this scope [INFO] [stdout] --> src/utils.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 3 | let output = run_cmd("echo", &["hello"]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::utils::run_cmd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::is_homebrew_app (line 386) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `is_homebrew_app` in this scope [INFO] [stdout] --> src/tasks/delete.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 3 | if is_homebrew_app("firefox") { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tasks/delete.rs - tasks::delete::delete (line 149) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `delete` in this scope [INFO] [stdout] --> src/tasks/delete.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 3 | let success = delete("Visual Studio Code")?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use trash::delete; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::get_vscode_keybindings_path (line 158) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_vscode_keybindings_path` in this scope [INFO] [stdout] --> src/utils.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some(path) = get_vscode_keybindings_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mntn::utils::get_vscode_keybindings_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/cli.rs - cli::Cli (line 9) [INFO] [stdout] src/logger.rs - logger::log (line 18) [INFO] [stdout] src/tasks/clean.rs - tasks::clean::run (line 41) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::delete (line 149) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::find_related_files (line 270) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::get_bundle_identifier (line 349) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::is_homebrew_app (line 386) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::load_config (line 238) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::prompt_error (line 408) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::prompt_user_to_select_app (line 93) [INFO] [stdout] src/tasks/delete.rs - tasks::delete::run (line 43) [INFO] [stdout] src/tasks/install.rs - tasks::install::run (line 21) [INFO] [stdout] src/tasks/paths.rs - tasks::paths::get_backup_path (line 24) [INFO] [stdout] src/tasks/paths.rs - tasks::paths::get_symlink_backup_path (line 43) [INFO] [stdout] src/tasks/purge.rs - tasks::purge::run (line 28) [INFO] [stdout] src/utils.rs - utils::bytes_to_human_readable (line 93) [INFO] [stdout] src/utils.rs - utils::calculate_dir_size (line 54) [INFO] [stdout] src/utils.rs - utils::get_ghostty_config_path (line 188) [INFO] [stdout] src/utils.rs - utils::get_vscode_keybindings_path (line 158) [INFO] [stdout] src/utils.rs - utils::get_vscode_settings_path (line 128) [INFO] [stdout] src/utils.rs - utils::run_cmd (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.11s; merged doctests compilation took 0.27s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "934e60833e56f7f0f60c730b7c9d5068e23e84fccae8e30171e6d91081c012b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934e60833e56f7f0f60c730b7c9d5068e23e84fccae8e30171e6d91081c012b7", kill_on_drop: false }` [INFO] [stdout] 934e60833e56f7f0f60c730b7c9d5068e23e84fccae8e30171e6d91081c012b7