pub fn write_build_cache( project_root: &Path, workspace: &Path, key: &str, created_at: &str, ) -> Result<Option<BuildCacheMetadata>, String>