{"record":{"id":"cb5a68d897ab5cfe","repo":"wasmerio/wasmer","slug":"failed-to-create-temporary-wee8-unpack-directory-i","errorCode":null,"errorMessage":"failed to create temporary wee8 unpack directory in {}: {err}","messagePattern":"failed to create temporary wee8 unpack directory in (.+?): (.+?)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/api/build.rs","lineNumber":107,"sourceCode":"            });\n            archive_tmp.persist(&archive_path).unwrap_or_else(|err| {\n                panic!(\n                    \"failed to finalize v8 archive cache {} from temporary file {}: {}\",\n                    archive_path.display(),\n                    err.file.path().display(),\n                    err.error\n                )\n            });\n        }\n\n        let tar_data = fs::read(&archive_path).unwrap_or_else(|err| {\n            panic!(\n                \"failed to read v8 archive cache {}: {err}\",\n                archive_path.display()\n            )\n        });\n        let unpack_tmp = tempfile::TempDir::new_in(&cache_dir).unwrap_or_else(|err| {\n            panic!(\n                \"failed to create temporary wee8 unpack directory in {}: {err}\",\n                cache_dir.display()\n            )\n        });\n        let tar = xz::read::XzDecoder::new(tar_data.as_slice());\n        let mut archive = tar::Archive::new(tar);\n        archive.unpack(unpack_tmp.path()).unwrap_or_else(|err| {\n            let _ = fs::remove_file(&archive_path);\n            panic!(\n                \"failed to unpack v8 archive cache {} into {} (cache removed so the next build can re-download): {err}\",\n                archive_path.display(),\n                unpack_tmp.path().display()\n            )\n        });\n        let staged_lib = unpack_tmp.path().join(\"lib\");\n        if !staged_lib.is_dir() {\n            let _ = fs::remove_file(&archive_path);\n            panic!(","sourceCodeStart":89,"sourceCodeEnd":125,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/api/build.rs#L89-L125","documentation":"Error \"failed to create temporary wee8 unpack directory in {}: {err}\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/api/build.rs:107 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5","analyzedAt":"2026-09-01T23:06:31.009Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}