fn generate_case( template: &Path, temp: &Path, cargo_home: &Path, case: &Case, cargo_check: bool, ) -> Result<()>