pub fn get_latest_versions( required_crates: &HashMap<String, Crate>) -> Result<HashMap<String, String>, String>