Skip to content

[BUG] (Enter your description here) #3654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
studoot opened this issue May 9, 2025 · 4 comments
Closed
4 tasks done

[BUG] (Enter your description here) #3654

studoot opened this issue May 9, 2025 · 4 comments
Assignees
Labels
bug Something isn't working needs-author-answer

Comments

@studoot
Copy link

studoot commented May 9, 2025

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.2.0

Windows version, edition, and architecture

Windows 11 Enterprise 24H2, build 26100.3915

Describe your issue

The 'Discover Packages' tab doesn't seem to find (some) Cargo packages, despite the Cargo logs indicating that cargo did find the package.

Steps to reproduce the issue

Start UniGetUI, enter 'cargo-machete' in the filter text box on the Discover Packages page. Observe that no package named cargo-machete is found for Cargo.

UniGetUI Log

[09/05/2025 17:02:58]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.2.0
[09/05/2025 17:02:58]
[09/05/2025 17:02:58] Build 90
[09/05/2025 17:02:58] Data directory C:\Users\u404261\AppData\Local\UniGetUI
[09/05/2025 17:02:58] Encoding Code Page set to 850
[09/05/2025 17:02:59] Loaded language locale: en
[09/05/2025 17:02:59] Randomly-generated background API auth token: 44ik68ee187opslnt8bwt3gbmn7za5zqnc8skvb6bknjk6hycynvi580wkqkwus0
[09/05/2025 17:02:59] Api running on http://localhost:7058
[09/05/2025 17:02:59] Lang files were updated successfully from GitHub
[09/05/2025 17:03:00] Downloaded new icons and screenshots successfully!
[09/05/2025 17:03:01] Command vcpkg was not found on the system
[09/05/2025 17:03:01] Command npm was not found on the system
[09/05/2025 17:03:01] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:01] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: cargo.exe
                      █ Executable path: D:\Packages\cargo\bin\cargo.exe
                      █ Call arguments: 
                      █ Version: 
                      █   cargo 1.86.0 (adf9b6ad1 2025-02-28)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:01] UniGetUI Chocolatey was found in the path
[09/05/2025 17:03:01] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:01] Command vcpkg was not found on the system
[09/05/2025 17:03:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:02] Command vcpkg was not found on the system
[09/05/2025 17:03:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: vcpkg
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:03] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\u404261\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.10.390
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:04] Starting scoop cleanup...
[09/05/2025 17:03:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: scoop
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                      █ Version: 
                      █   Current Scoop version:
                      █   859d1db5 chore(release): Bump to version 0.5.2 (#6080)
                      █   
                      █   'main' bucket:
                      █   348839197 scala-cli: Update to version 1.8.0
                      █   
                      █   'extras' bucket:
                      █   9d7bee7b45 vrcx: Update to version 2025.05.09
                      █   
                      █   'nerd-fonts' bucket:
                      █   c7c4ee25 Add Pixel-Code manifest
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[09/05/2025 17:03:06] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[09/05/2025 17:03:07] Dependency Scoop-Search for manager Scoop is present
[09/05/2025 17:03:08] Found 0 available updates from Cargo
[09/05/2025 17:03:08] Found 2 installed packages from Cargo
[09/05/2025 17:03:08] Dependency Git for manager Scoop is present
[09/05/2025 17:03:09] Dependency cargo-update for manager Cargo is present
[09/05/2025 17:03:09] Dependency cargo-binstall for manager Cargo is present
[09/05/2025 17:03:09] Scoop cleanup finished!
[09/05/2025 17:03:09] Found 6 installed packages from Scoop
[09/05/2025 17:03:13] Found 0 available packages from Scoop with the query cargo-machete
[09/05/2025 17:03:14] Found 0 available packages from Cargo with the query cargo-machete
[09/05/2025 17:03:26] Found 0 available packages from Winget with the query cargo-machete
[09/05/2025 17:03:31] Found 6 installed packages from Scoop

Package Managers Logs

Manager Cargo with version:
cargo 1.86.0 (adf9b6ad1 2025-02-28)

——————————————————————————————————————————


Logged subprocess-based task on manager Cargo. Task type is OtherTask
Subprocess executable: "D:\Packages\cargo\bin\cargo.exe"
Command-line arguments: " install-update --list"
Process start time: 09/05/2025 17:03:06
Process end time:   09/05/2025 17:03:08

-- Process STDOUT
  Other task: Call the install-update command
      Polling registry 'https://index.crates.io/'..
  Package         Installed  Latest   Needs update
  cargo-binstall  v1.12.4    v1.12.4  No
  cargo-update    v16.3.0    v16.3.0  No

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Cargo. Task type is FindPackages
Subprocess executable: "D:\Packages\cargo\bin\cargo.exe"
Command-line arguments: " search -q --color=never cargo-machete"
Process start time: 09/05/2025 17:03:12
Process end time:   09/05/2025 17:03:14

-- Process STDOUT
  cargo-machete = "0.8.0"       # Find unused dependencies with this one weird trick!
  cargo-machete-nk = "0.9.2"    # Find unused dependencies with this one weird trick!

-- Process STDERR
  Response status code does not indicate success: 404 (Not Found).
  Response status code does not indicate success: 404 (Not Found).

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information

I disabled all package managers except WinGet, Scoop and Cargo in the logs here, but the same thing happens with all the other package managers enabled as well.

Additionally, my RUSTUP_HOME and CARGO_HOME environment variables are defined to point at a non-default location.

Screenshots and videos

No response

@studoot studoot added the bug Something isn't working label May 9, 2025
@marticliment
Copy link
Owner

Cargo through UniGetUI does only allow listing crates that contains binaries. Libraries are not listed on UniGetUI. Could this be the reason for which some packages are missing?

@mrixner
Copy link
Contributor

mrixner commented May 10, 2025

Why are libraries not listed? Pip, npm, and vcpkg all show libraries in the list.

@marticliment
Copy link
Owner

Because libraries can't be globally installed in cargo

@studoot
Copy link
Author

studoot commented May 12, 2025

Cargo through UniGetUI does only allow listing crates that contains binaries. Libraries are not listed on UniGetUI. Could this be the reason for which some packages are missing?

That's what I was missing - thanks for the quick reply!

@studoot studoot closed this as completed May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-author-answer
Projects
None yet
Development

No branches or pull requests

3 participants