fn validate_version_constraints( case_name: &str, field_name: &str, constraints: &[String], ) -> Result<(), String>