   case invalidSyntaxData
 
   /// The SwiftSyntax parser library isn't compatible with this client
-  case hashVerificationFailed
+  case parserCompatibilityCheckFailed
 
   public var description: String {
     switch self {
     case .invalidSyntaxData:
       return "parser created invalid syntax data"
-    case .hashVerificationFailed:
+    case .parserCompatibilityCheckFailed:
       return "SwiftSyntax parser library isn't compatible"
     }
   }

    source: String,
    parseLookup: IncrementalParseLookup? = nil
  ) throws -> SourceFileSyntax {
    // Get a native UTF8 string for efficient indexing with UTF8 byte offsets.
    // If the string is backed by an NSString then such indexing will become
    // extremely slow.
    var utf8Source = source
    utf8Source.makeNativeUTF8IfNeeded()

    let rawSyntax = try parseRaw(utf8Source, parseLookup: parseLookup)

    guard let file = makeSyntax(rawSyntax) as? SourceFileSyntax else {
      throw ParserError.invalidSyntaxData

  private static func parseRaw(
    _ source: String,
    parseLookup: IncrementalParseLookup?
  ) -> RawSyntax {
    assert(source.isNativeUTF8)
    let c_parser = swiftparse_parser_create()
    defer {
      swiftparse_parser_dispose(c_parser)
