wasmerio/wasmer · error
failed to read v8 archive cache {}: {err}
Error message
failed to read v8 archive cache {}: {err} What it means
Error "failed to read v8 archive cache {}: {err}" thrown in wasmerio/wasmer.
Source
Thrown at lib/api/build.rs:101
});
archive_tmp.write_all(&tar_data).unwrap_or_else(|err| {
panic!(
"failed to write temporary v8 archive download file {}: {err}",
archive_tmp.path().display()
)
});
archive_tmp.persist(&archive_path).unwrap_or_else(|err| {
panic!(
"failed to finalize v8 archive cache {} from temporary file {}: {}",
archive_path.display(),
err.file.path().display(),
err.error
)
});
}
let tar_data = fs::read(&archive_path).unwrap_or_else(|err| {
panic!(
"failed to read v8 archive cache {}: {err}",
archive_path.display()
)
});
let unpack_tmp = tempfile::TempDir::new_in(&cache_dir).unwrap_or_else(|err| {
panic!(
"failed to create temporary wee8 unpack directory in {}: {err}",
cache_dir.display()
)
});
let tar = xz::read::XzDecoder::new(tar_data.as_slice());
let mut archive = tar::Archive::new(tar);
archive.unpack(unpack_tmp.path()).unwrap_or_else(|err| {
let _ = fs::remove_file(&archive_path);
panic!(
"failed to unpack v8 archive cache {} into {} (cache removed so the next build can re-download): {err}",
archive_path.display(),
unpack_tmp.path().display()View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/api/build.rs:101 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of wasmerio/wasmer@8c4b9ee9d3 (2026-09-01).
Data as JSON: /api/errors/f4b454c3f0698fda.
Report an issue: GitHub.