pub fn cache( cfg: &Config, output: &mut impl Write, raw_cache_path: Option<&str>, ) -> Result<(), String>