jdx/mise · error · eyre::Report

cache agent did not return a blob lookup response

Error message

cache agent did not return a blob lookup response

What it means

Error "cache agent did not return a blob lookup response" thrown in jdx/mise.

Source

Thrown at src/cache/rustc.rs:488

    }]);
    match responses.map(|responses| responses.into_iter().next()) {
        Ok(Some(AgentResponse::ActionHitRecorded)) => {}
        Ok(Some(AgentResponse::Error { message })) => {
            eprintln!("mise rustc cache warning: hit was not recorded: {message}");
        }
        Ok(_) => eprintln!("mise rustc cache warning: hit was not recorded"),
        Err(error) => {
            eprintln!("mise rustc cache warning: hit was not recorded: {error:#}");
        }
    }
}

fn find_blobs(digests: &[CacheDigest]) -> Result<Vec<PathBuf>> {
    let responses = session::request_agent(&[AgentRequest::FindBlobs {
        digests: digests.to_vec(),
    }])?;
    let Some(response) = responses.into_iter().next() else {
        bail!("cache agent did not return a blob lookup response");
    };
    match response {
        AgentResponse::Blobs { paths } if paths.len() == digests.len() => paths
            .into_iter()
            .zip(digests)
            .map(|(path, digest)| match path {
                Some(path) => Ok(path),
                None => bail!("cached rustc action is missing blob {}", digest.hash),
            })
            .collect(),
        AgentResponse::Blobs { .. } => {
            bail!("cache agent returned an incomplete blob lookup response")
        }
        AgentResponse::Blob { path: Some(path) } if digests.len() == 1 => Ok(vec![path]),
        AgentResponse::Blob { path: None } if digests.len() == 1 => {
            let digest = &digests[0];
            bail!("cached rustc action is missing blob {}", digest.hash)
        }

View on GitHub (pinned to 6f52dcdf99)

Solutions

  1. Restart the cache agent and retry; no blob lookup response was returned.
  2. Check cache agent logs for the failed blob request.

When it happens

Trigger: Thrown at src/cache/rustc.rs:488 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of jdx/mise@6f52dcdf99 (2026-08-22). Data as JSON: /api/errors/69da718e31547003. Report an issue: GitHub.