Skip to content

version 1.1.0 would disappear from installed location after running foreman list #66

@kangni-wang

Description

@kangni-wang

foreman installed by cargo install and direct download from release page would disappear after running foreman list. The foreman list command also errors out. See detailed errors below. This is run on a Windows x64 laptop via Powershell. This doesn't seem to be an issue with second-latest release.

I didn't try other commands, not sure this bug only happens for foremanl list, or other commands as well.

This bug doesn't happen for version 1.0.5.

C:\Users\XXX\.cargo\bin> ls

    Directory: C:\Users\XXX\.cargo\bin

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---            1/9/2023  3:18 PM       10077696 cargo-clippy.exe
-a---            1/9/2023  3:18 PM       10077696 cargo-fmt.exe
-a---            1/9/2023  3:18 PM       10077696 cargo-miri.exe
-a---            1/9/2023  3:18 PM       10077696 cargo.exe
-a---            1/9/2023  3:18 PM       10077696 clippy-driver.exe
-a---           1/10/2023  4:50 PM        5712896 foreman.exe
-a---            1/9/2023  3:18 PM       10077696 rls.exe
-a---            1/9/2023  3:18 PM       10077696 rust-gdb.exe
-a---            1/9/2023  3:18 PM       10077696 rust-gdbgui.exe
-a---            1/9/2023  3:18 PM       10077696 rust-lldb.exe
-a---            1/9/2023  3:18 PM       10077696 rustc.exe
-a---            1/9/2023  3:18 PM       10077696 rustdoc.exe
-a---            1/9/2023  3:18 PM       10077696 rustfmt.exe
-a---            1/9/2023  3:18 PM       10077696 rustup.exe

C:\Users\XXX\.cargo\bin> foreman list
ResourceUnavailable: Program 'foreman.exe' failed to run: Access is denied.At line:1 char:1
+ foreman list
+ ~~~~~~~~~~~~.
C:\Users\XXX\.cargo\bin> ls

    Directory: C:\Users\XXX\.cargo\bin

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---            1/9/2023  3:18 PM       10077696 cargo-clippy.exe
-a---            1/9/2023  3:18 PM       10077696 cargo-fmt.exe
-a---            1/9/2023  3:18 PM       10077696 cargo-miri.exe
-a---            1/9/2023  3:18 PM       10077696 cargo.exe
-a---            1/9/2023  3:18 PM       10077696 clippy-driver.exe
-a---            1/9/2023  3:18 PM       10077696 rls.exe
-a---            1/9/2023  3:18 PM       10077696 rust-gdb.exe
-a---            1/9/2023  3:18 PM       10077696 rust-gdbgui.exe
-a---            1/9/2023  3:18 PM       10077696 rust-lldb.exe
-a---            1/9/2023  3:18 PM       10077696 rustc.exe
-a---            1/9/2023  3:18 PM       10077696 rustdoc.exe
-a---            1/9/2023  3:18 PM       10077696 rustfmt.exe
-a---            1/9/2023  3:18 PM       10077696 rustup.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions