fn optional_max( out: &mut Option<u64>, compatibility: &mut u64, v: &Value, key: &str, first: bool, ) -> Result<()>