The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LeakDetect, reference main (2726d6), with Swift 6.3 for Wasm on 14 Apr 2026 00:30:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yume190/LeakDetect.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/yume190/LeakDetect
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2726d6c Move SyntaxParser to Parser
Cloned https://github.com/yume190/LeakDetect.git
Revision (git rev-parse @):
2726d6c55ef54392a06313fa9067db2e6ea600ef
SUCCESS checkout https://github.com/yume190/LeakDetect.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/yume190/LeakDetect.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/zonble/HumanString.git
Fetching https://github.com/yume190/TypeFill
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kylef/PathKit
[1/1452] Fetching pathkit
[74/2894] Fetching pathkit, rainbow
[2895/3259] Fetching pathkit, rainbow, humanstring
[3071/20782] Fetching pathkit, rainbow, humanstring, swift-argument-parser
[3199/22446] Fetching pathkit, rainbow, humanstring, swift-argument-parser, typefill
[4286/33997] Fetching pathkit, rainbow, humanstring, swift-argument-parser, typefill, yams
Fetched https://github.com/zonble/HumanString.git from cache (0.37s)
Fetching https://github.com/apple/swift-syntax.git
[4272/33632] Fetching pathkit, rainbow, swift-argument-parser, typefill, yams
Fetched https://github.com/yume190/TypeFill from cache (1.58s)
[31622/31968] Fetching pathkit, rainbow, swift-argument-parser, yams
Fetching https://github.com/jpsim/SourceKitten
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.59s)
[14445/14445] Fetching pathkit, rainbow, yams
[14446/89417] Fetching pathkit, rainbow, yams, swift-syntax
[23443/105617] Fetching pathkit, rainbow, yams, swift-syntax, sourcekitten
Fetched https://github.com/onevcat/Rainbow from cache (2.58s)
Fetched https://github.com/kylef/PathKit from cache (2.58s)
[45745/102723] Fetching yams, swift-syntax, sourcekitten
Fetched https://github.com/jpsim/Yams from cache (2.65s)
[37193/91172] Fetching swift-syntax, sourcekitten
Fetched https://github.com/jpsim/SourceKitten from cache (2.07s)
[68975/74972] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (7.57s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (10.38s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/zonble/HumanString.git
Computed https://github.com/zonble/HumanString.git at 0.1.1 (0.70s)
Computing version for https://github.com/yume190/TypeFill
Computed https://github.com/yume190/TypeFill at 0.4.9 (0.45s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/13341] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.95s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (2.97s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.02s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (5.20s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.1 (0.74s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.48s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.14s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.9.0 (0.96s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.79s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.79s)
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.9.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/zonble/HumanString.git
Working copy of https://github.com/zonble/HumanString.git resolved at 0.1.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/yume190/TypeFill
Working copy of https://github.com/yume190/TypeFill resolved at 0.4.9
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/48] Write sources
[10/48] Copying PrivacyInfo.xcprivacy
[11/48] Write sources
[16/48] Compiling SourceKit SourceKit.c
[16/48] Compiling Clang_C Clang_C.c
[18/48] Write sources
[20/48] Compiling writer.c
[21/48] Write swift-version-24593BA9C3E375BF.txt
[22/48] Compiling parser.c
[23/48] Compiling reader.c
[24/127] Compiling api.c
[25/133] Compiling emitter.c
[26/208] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/250] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 33 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:64:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 62 |     }
 63 |
 64 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 65 |                 didStartElement elementName: String,
 66 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:76:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 |     }
 75 |
 76 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 77 |         let current = parentStack.top()
 78 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 80 |     }
 81 |
 82 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 83 |                 didEndElement elementName: String,
 84 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:89:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 87 |     }
 88 |
 89 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 90 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 91 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:97:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 95 |     }
 96 |
 97 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 98 |         #if os(Linux) && !swift(>=4.1.50)
 99 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 33 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:66:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 64 |     }
 65 |
 66 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 67 |                 didStartElement elementName: String,
 68 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:83:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 81 |     }
 82 |
 83 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 84 |         if !onMatch() {
 85 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:93:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 91 |     }
 92 |
 93 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 94 |         if !onMatch() {
 95 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:105:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
103 |     }
104 |
105 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
106 |                 didEndElement elementName: String,
107 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
[29/253] Emitting module Yams
[30/255] Compiling Yams Tag.swift
[31/255] Compiling Yams YamlAnchorProviding.swift
[32/255] Emitting module Rainbow
[33/256] Compiling Yams Parser.swift
[34/256] Compiling Yams RedundancyAliasingStrategy.swift
[35/256] Compiling Yams Node.Sequence.swift
[36/256] Compiling Yams Node.swift
[37/256] Compiling Yams Mark.swift
[38/256] Compiling Yams Node.Alias.swift
[39/256] Compiling Yams Node.Mapping.swift
[40/256] Compiling Yams Resolver.swift
[41/256] Compiling Yams String+Yams.swift
[42/256] Compiling Yams YamlError.swift
[43/256] Compiling Yams YamlTagProviding.swift
[44/256] Compiling CryptoSwift CTR.swift
[47/261] Compiling Yams Representer.swift
[50/261] Emitting module ArgumentParserToolInfo
[51/261] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/262] Wrapping AST for ArgumentParserToolInfo for debugging
[54/308] Compiling ArgumentParser ParsedValues.swift
[55/308] Compiling ArgumentParser ParserError.swift
[56/308] Compiling ArgumentParser SplitArguments.swift
[57/308] Compiling ArgumentParser DumpHelpGenerator.swift
[58/308] Compiling ArgumentParser HelpCommand.swift
[59/308] Compiling ArgumentParser HelpGenerator.swift
[60/308] Compiling ArgumentParser MessageInfo.swift
[61/308] Compiling ArgumentParser UsageGenerator.swift
[62/308] Compiling ArgumentParser CollectionExtensions.swift
[63/308] Compiling ArgumentParser Foundation.swift
[64/308] Compiling ArgumentParser Mutex.swift
[65/308] Compiling ArgumentParser Platform.swift
[66/308] Compiling ArgumentParser SequenceExtensions.swift
[67/308] Compiling ArgumentParser StringExtensions.swift
[68/322] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[69/322] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[70/322] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/322] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[72/322] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[73/322] Compiling ArgumentParser Errors.swift
[74/322] Compiling ArgumentParser Flag.swift
[75/322] Compiling ArgumentParser ArgumentVisibility.swift
[76/322] Compiling ArgumentParser CompletionKind.swift
[77/322] Compiling ArgumentParser NameSpecification.swift
[78/322] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 33 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:64:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 62 |     }
 63 |
 64 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 65 |                 didStartElement elementName: String,
 66 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:76:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 |     }
 75 |
 76 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 77 |         let current = parentStack.top()
 78 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 80 |     }
 81 |
 82 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 83 |                 didEndElement elementName: String,
 84 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:89:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 87 |     }
 88 |
 89 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 90 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 91 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:97:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 95 |     }
 96 |
 97 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 98 |         #if os(Linux) && !swift(>=4.1.50)
 99 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:52:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         parentStack.push(root)
 51 |
 52 |         let parser = XMLParser(data: data)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 54 |         parser.delegate = self
BUILD FAILURE 6.3 wasm