Hmbown/CodeWhale · error

does not list

Error message

{} does not list {}

What it means

probe_release_source fetches the checksum manifest from a candidate source's manifest_url, parses it, and requires that it contains an entry for the platform's binary_name. If the parsed manifest lacks that key, this error is raised and the candidate source is rejected (its error joins the aggregate failure list).

Solutions

  1. Point the source/mirror at a release whose manifest lists your platform's asset.
  2. Retry after the release's manifest is fixed/regenerated.
  3. Install manually for that platform or build from source.

Example fix

// before: pinned mirror serves manifest without aarch64 entry
// after: update mirror URL to the current release manifest
mirror = "https://mirror.example/releases/latest/SHA256SUMS"
Defensive patterns

Strategy: fallback

Validate before calling

fn source_supports_platform(manifest_text: &str, binary_name: &str) -> bool {
    manifest_text.lines().any(|l| l.split_whitespace().nth(1) == Some(binary_name))
}

Try / catch

match probe_source(mirror) {
    Err(e) if e.to_string().ends_with(binary_name) => probe_source(default_github()),
    other => other,
}

Prevention

When it happens

Trigger: select_release_source -> probe_release_source with a parsed manifest whose map has no `candidate.binary_name` key — i.e. the manifest at that URL does not cover the current platform's asset.

Common situations: Mirror serving an older release's manifest; manifest updated after binaries for a new platform were added; targeting an arch the manifest omits.

Understand the failure class

Background: Checksum mismatch errors: "checksum verification failed", "digest mismatch", "expected vs actual checksum" — what they mean and how to fix them — this error's family across 41 libraries.

Related errors


AI-assisted analysis of Hmbown/CodeWhale@73e0f67d83 (2026-09-22). Data as JSON: /api/errors/92f9f95a9e5f1af7. Report an issue: GitHub.

Appendix: source

Thrown at crates/cli/src/update.rs:1020

    bail!(
        "no release source published a usable {CHECKSUM_MANIFEST_ASSET} for this platform:\n{}",
        failures.join("\n")
    )
}

fn probe_release_source(
    candidate: &ReleaseSourceCandidate,
    fetch_manifest: &ManifestFetcher,
) -> Result<HashMap<String, String>> {
    let bytes = fetch_manifest(candidate)
        .with_context(|| format!("failed to fetch {}", candidate.manifest_url))?;
    let text = std::str::from_utf8(&bytes)
        .with_context(|| format!("{} is not valid UTF-8", candidate.manifest_url))?;
    let checksums = parse_checksum_manifest(text)
        .with_context(|| format!("failed to parse {}", candidate.manifest_url))?;
    if !checksums.contains_key(&candidate.binary_name) {
        bail!(
            "{} does not list {}",
            candidate.manifest_url,
            candidate.binary_name
        );
    }
    Ok(checksums)
}

fn ensure_supported_release_target(os: &str, arch: &str) -> Result<()> {
    if os == "linux" && arch == "riscv64" {
        bail!(
            "Linux riscv64 release assets are temporarily unavailable because \
             rquickjs-sys 0.12.0 does not ship riscv64gc-unknown-linux-gnu bindings. \
             See docs/INSTALL.md for the current platform matrix."
        );
    }
    Ok(())
}

View on GitHub (pinned to 73e0f67d83)