williamboman / mason.nvim

Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
Apache License 2.0
7.3k stars 261 forks source link

Rust Analyzer Nightly always suggests updating to latest stable release #1524

Open wonbyte opened 9 months ago

wonbyte commented 9 months ago

I've searched open issues for similar requests

I've manually reviewed logs to find potential errors

I've recently downloaded the latest plugin version of mason.nvim

Problem description

After installing Rust Analyzer with :MasonInstall rust-analyzer@nightly:

Screenshot 2023-10-12 at 10 23 01 AM

Opening the GUI, I am always prompted to update to the latest stable release of Rust Analyzer

Screenshot 2023-10-12 at 10 24 18 AM

Expected behavior

When using the "nightly" tag, I would expect to get recommended updates to the "nightly" version and not the stable release. I did notice that https://mason-registry.dev/registry/list only has the pkg:github/rust-lang/rust-analyzer@2023-10-09 version available.

Steps to reproduce

  1. :MasonInstall rust-analyzer@nightly
  2. Close neovim
  3. Open neovim and :Mason. Expect to see a suggested update for the nightly version to the stable one.

Affected packages

rust-analyzer

Neovim version (>= 0.7)

NVIM v0.9.4 Build type: Release LuaJIT 2.1.0-beta3

Operating system/version

Darwin Kernel Version 22.6.0

Healthcheck

==============================================================================
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.8.1
- OK PATH: prepend
- OK Providers: 
  mason.providers.registry-api
  mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2023-10-12-loose-pea` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.21.4 built on darwin22.4.0.`
- OK curl: `curl 8.1.2 (x86_64-apple-darwin22.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0`
- OK gzip: `Apple gzip 403.100.6`
- OK tar: `bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8 `
- OK bash: `GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin22)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING Go: not available
  - ADVICE:
    - spawn: go failed with exit code - and signal -. go is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING luarocks: not available
  - ADVICE:
    - spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- OK Ruby: `ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]`
- WARNING javac: not available
  - ADVICE:
    - spawn: javac failed with exit code 1 and signal 0. The operation couldn’t be completed. Unable to locate a Java Runtime.
      Please visit http://www.java.com for information on installing Java.

- WARNING java: not available
  - ADVICE:
    - spawn: java failed with exit code 1 and signal 0. The operation couldn’t be completed. Unable to locate a Java Runtime.
      Please visit http://www.java.com for information on installing Java.

- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.11.6`
- OK cargo: `cargo 1.73.0 (9c4383fb5 2023-08-26)`
- OK node: `v18.18.0`
- OK RubyGem: `3.0.3.1`
- OK pip: `pip 23.2.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)`
- OK npm: `9.8.1`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 5000. Limit: 5000. Reset: Thu Oct 12 11:31:56 2023.

Screenshots or recordings

No response

wonbyte commented 9 months ago

@williamboman happy to try and help fix if you are able to point me in the general direction of what the issue may be...