Roblox / foreman

Toolchain manager for Roblox projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

version `1.1.0` would disappear from installed location after running `foreman list`

LazyConi opened this issue · comments

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