jdx/mise

Mise panicked after install air via aqua

Closed this issue · 0 comments

Describe the bug
Mise panicked after install air via aqua

To Reproduce
mise use -g aqua:air-verse/air@1.61.1

mise WARN  unable to parse aqua template: trimV .Version
mise WARN  unable to parse aqua template: trimV .Version
mise ERROR Failed to install aqua:air-verse/air@1.61.1
mise ERROR no asset found: air_<ERR>_darwin_arm64.tar.gz
Available assets:
air_1.61.1_checksums.txt
air_1.61.1_darwin_amd64
air_1.61.1_darwin_amd64.tar.gz
air_1.61.1_darwin_arm64
air_1.61.1_darwin_arm64.tar.gz
air_1.61.1_linux_386
air_1.61.1_linux_386.tar.gz
air_1.61.1_linux_amd64
air_1.61.1_linux_amd64.tar.gz
air_1.61.1_linux_arm64
air_1.61.1_linux_arm64.tar.gz
air_1.61.1_windows_386.exe
air_1.61.1_windows_386.tar.gz
air_1.61.1_windows_amd64.exe
air_1.61.1_windows_amd64.tar.gz
air_1.61.1_windows_arm64.exe
air_1.61.1_windows_arm64.tar.gz
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
The application panicked (crashed).                                                                                                                      
Message:  invalid aqua tool: air-verse-air
Location: src/backend/aqua.rs:123

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  Lazy instance has previously been poisoned
Location: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.20.2/src/lib.rs:1311

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Rayon: detected unexpected panic; aborting

mise use -g aqua:air-verse/air

The application panicked (crashed).
Message:  invalid aqua tool: air-verse-air
Location: src/backend/aqua.rs:123

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  Lazy instance has previously been poisoned
Location: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.20.2/src/lib.rs:1311

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Rayon: detected unexpected panic; aborting
The application panicked (crashed).                                                                                                                      
Message:  invalid aqua tool: air-verse-air
Location: src/backend/aqua.rs:123

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Rayon: detected unexpected panic; aborting

Expected behavior
After run 2 above command, i get stuck in panic

mise doctor output

version: 2024.11.8 macos-arm64 (d5dde8f 2024-11-12)
activated: yes
shims_on_path: no

build_info:
  Target: aarch64-apple-darwin
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Tue, 12 Nov 2024 03:07:44 +0000
  Rust Version: rustc 1.82.0 (f6e511eec 2024-10-15)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-apple-darwin23.0)

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/.cache/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims
The application panicked (crashed).
Message:  invalid aqua tool: air-verse-air
Location: src/backend/aqua.rs:123

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Rayon: detected unexpected panic; aborting
The application panicked (crashed).                                                                                                                      
Message:  invalid aqua tool: air-verse-air
Location: src/backend/aqua.rs:123

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Rayon: detected unexpected panic; aborting
The application panicked (crashed).
Message:  Lazy instance has previously been poisoned