{"record":{"id":"92f9f95a9e5f1af7","repo":"Hmbown/CodeWhale","slug":"does-not-list","errorCode":null,"errorMessage":"{} does not list {}","messagePattern":"(.+?) does not list (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/cli/src/update.rs","lineNumber":1020,"sourceCode":"\n    bail!(\n        \"no release source published a usable {CHECKSUM_MANIFEST_ASSET} for this platform:\\n{}\",\n        failures.join(\"\\n\")\n    )\n}\n\nfn probe_release_source(\n    candidate: &ReleaseSourceCandidate,\n    fetch_manifest: &ManifestFetcher,\n) -> Result<HashMap<String, String>> {\n    let bytes = fetch_manifest(candidate)\n        .with_context(|| format!(\"failed to fetch {}\", candidate.manifest_url))?;\n    let text = std::str::from_utf8(&bytes)\n        .with_context(|| format!(\"{} is not valid UTF-8\", candidate.manifest_url))?;\n    let checksums = parse_checksum_manifest(text)\n        .with_context(|| format!(\"failed to parse {}\", candidate.manifest_url))?;\n    if !checksums.contains_key(&candidate.binary_name) {\n        bail!(\n            \"{} does not list {}\",\n            candidate.manifest_url,\n            candidate.binary_name\n        );\n    }\n    Ok(checksums)\n}\n\nfn ensure_supported_release_target(os: &str, arch: &str) -> Result<()> {\n    if os == \"linux\" && arch == \"riscv64\" {\n        bail!(\n            \"Linux riscv64 release assets are temporarily unavailable because \\\n             rquickjs-sys 0.12.0 does not ship riscv64gc-unknown-linux-gnu bindings. \\\n             See docs/INSTALL.md for the current platform matrix.\"\n        );\n    }\n    Ok(())\n}","sourceCodeStart":1002,"sourceCodeEnd":1038,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/73e0f67d83c59909b571efdfc88c4bc28c309cb1/crates/cli/src/update.rs#L1002-L1038","documentation":"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).","triggerScenarios":"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.","commonSituations":"Mirror serving an older release's manifest; manifest updated after binaries for a new platform were added; targeting an arch the manifest omits.","solutions":["Point the source/mirror at a release whose manifest lists your platform's asset.","Retry after the release's manifest is fixed/regenerated.","Install manually for that platform or build from source."],"exampleFix":"// before: pinned mirror serves manifest without aarch64 entry\n// after: update mirror URL to the current release manifest\nmirror = \"https://mirror.example/releases/latest/SHA256SUMS\"","handlingStrategy":"fallback","validationCode":"fn source_supports_platform(manifest_text: &str, binary_name: &str) -> bool {\n    manifest_text.lines().any(|l| l.split_whitespace().nth(1) == Some(binary_name))\n}","typeGuard":null,"tryCatchPattern":"match probe_source(mirror) {\n    Err(e) if e.to_string().ends_with(binary_name) => probe_source(default_github()),\n    other => other,\n}","preventionTips":["Keep mirror URLs pinned to releases whose manifests cover all published platforms","Test a new platform asset against the generated manifest before publishing"],"tags":["self-update","checksum-manifest","release-assets"],"backgroundTag":"checksum-mismatch","analyzedSha":"73e0f67d83c59909b571efdfc88c4bc28c309cb1","analyzedAt":"2026-09-22T01:30:00.501Z","contentChangedAt":"2026-09-22T01:30:00.501Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}