{"record":{"id":"4bb5eb05b05f7cee","repo":"jdx/mise","slug":"no-asset-released","errorCode":null,"errorMessage":"no asset released","messagePattern":"no asset released","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/backend/aqua.rs","lineNumber":5125,"sourceCode":"    if let Some(\"github_tag\") = pkg.version_source.as_deref() {\n        // Tags don't have created_at timestamps or a prerelease flag\n        let versions = github::list_tags(&format!(\"{}/{}\", pkg.repo_owner, pkg.repo_name)).await?;\n        return Ok(versions.into_iter().map(|v| (v, None, None)).collect());\n    }\n    let repo = format!(\"{}/{}\", pkg.repo_owner, pkg.repo_name);\n    let releases = github::list_releases_including_prereleases(&repo).await?;\n    Ok(releases\n        .into_iter()\n        .map(|r| {\n            let released_at = r.released_at().to_string();\n            (r.tag_name, Some(released_at), Some(r.prerelease))\n        })\n        .collect())\n}\n\nfn validate(pkg: &AquaPackage, version: &str) -> Result<()> {\n    if pkg.no_asset.unwrap_or(false) {\n        bail!(\"no asset released\");\n    }\n    if let Some(message) = &pkg.error_message {\n        bail!(\"{}\", message);\n    }\n    if !is_platform_supported(&pkg.supported_envs, os(), arch()) {\n        bail!(\n            \"unsupported env: {}/{} (supported: {:?})\",\n            os(),\n            arch(),\n            pkg.supported_envs\n        );\n    }\n    match pkg.package_type() {\n        AquaPackageType::Cargo => {\n            bail!(\n                \"package type `cargo` is not supported in the aqua backend. Use the cargo backend instead{}.\",\n                pkg.crate_name\n                    .as_deref()","sourceCodeStart":5107,"sourceCodeEnd":5143,"githubUrl":"https://github.com/jdx/mise/blob/533346cc374382b41ec5ff70536252b2e96e725c/src/backend/aqua.rs#L5107-L5143","documentation":"Aqua registry entries can be marked `no_asset: true` to indicate that a given version has no downloadable release asset. `validate()` is called before resolving/downloading a package and immediately rejects such packages. This is not a network failure — the registry explicitly says nothing is published for this version.","triggerScenarios":"Installing or resolving an aqua package whose registry entry (for the requested version) sets `no_asset: true`; requesting a version where the registry author recorded that no asset exists.","commonSituations":"Tools that distribute only source (no release binaries); version ranges where only some versions have assets; registry entries used purely for metadata.","solutions":["Choose a different version of the tool that publishes release assets","Install the tool via a different backend (e.g. `mise use github:owner/repo`, cargo, go) that builds from source","Check the tool's release page to confirm which versions ship binaries","If assets were recently published, update mise to refresh the bundled aqua registry"],"exampleFix":"// before (mise.toml)\n[tools]\n\"aqua:some-tool\" = \"0.1.0\"  // no assets published\n\n// after\n[tools]\n\"aqua:some-tool\" = \"0.2.0\"  // version with release assets","handlingStrategy":"fallback","validationCode":"// check the aqua registry entry before pinning\nconst entry = await registry.lookup(tool);\nif (entry.no_asset) console.warn(`${tool} publishes no release assets; choose a build-from-source backend`);","typeGuard":null,"tryCatchPattern":"catch (e) {\n  if (String(e).includes('no asset released')) {\n    console.warn('This version has no assets; falling back to a source-building backend.');\n  }\n}","preventionTips":["Confirm a tool publishes binary releases before pinning it under the aqua backend","Prefer versions with assets listed on the release page","Check mise's tool registry docs for backend recommendations per tool"],"tags":["aqua","registry","no-asset"],"backgroundTag":"empty-result-set","analyzedSha":"533346cc374382b41ec5ff70536252b2e96e725c","analyzedAt":"2026-09-17T13:35:38.149Z","contentChangedAt":"2026-09-17T13:35:38.149Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}