Build Information
Failed to build ParserAutograph, reference master (a2a0aa
), with Swift 6.1 for Wasm on 27 May 2025 11:49:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RedMadRobot/parser-autograph.git
Reference: master
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/RedMadRobot/parser-autograph
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a2a0aa4 Initial commit.
Cloned https://github.com/RedMadRobot/parser-autograph.git
Revision (git rev-parse @):
a2a0aa4997c8fe083cd8d6a1f2440bf23097a1c8
SUCCESS checkout https://github.com/RedMadRobot/parser-autograph.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/RedMadRobot/parser-autograph.git
https://github.com/RedMadRobot/parser-autograph.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "autograph",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RedMadRobot/autograph"
}
],
"manifest_display_name" : "ParserAutograph",
"name" : "ParserAutograph",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ParserAutograph",
"targets" : [
"ParserAutograph"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ParserAutographTests",
"module_type" : "SwiftTarget",
"name" : "ParserAutographTests",
"path" : "Tests/ParserAutographTests",
"sources" : [
"ParserAutographTestCase.swift"
],
"target_dependencies" : [
"ParserAutograph"
],
"type" : "test"
},
{
"c99name" : "ParserAutograph",
"module_type" : "SwiftTarget",
"name" : "ParserAutograph",
"path" : "Sources/ParserAutograph",
"product_dependencies" : [
"Autograph"
],
"product_memberships" : [
"ParserAutograph"
],
"sources" : [
"App.swift",
"Model/Extensible.swift",
"Model/Model.swift",
"Utility/String.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/RedMadRobot/autograph
[1/37] Fetching autograph
Fetched https://github.com/RedMadRobot/autograph from cache (0.26s)
Computing version for https://github.com/RedMadRobot/autograph
Computed https://github.com/RedMadRobot/autograph at 1.1.1 (0.82s)
Fetching https://github.com/RedMadRobot/synopsis
[1/109] Fetching synopsis
Fetched https://github.com/RedMadRobot/synopsis from cache (0.27s)
Computing version for https://github.com/RedMadRobot/synopsis
Computed https://github.com/RedMadRobot/synopsis at 1.1.1 (2.47s)
Fetching https://github.com/jpsim/SourceKitten
[1/16112] Fetching sourcekitten
Fetched https://github.com/jpsim/SourceKitten from cache (1.71s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.0 (4.53s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
[2821/13477] Fetching swxmlhash, yams
[8576/28828] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.36s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.37s)
Fetched https://github.com/jpsim/Yams.git from cache (1.40s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (2.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.00s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (2.17s)
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.0
Creating working copy for https://github.com/RedMadRobot/synopsis
Working copy of https://github.com/RedMadRobot/synopsis resolved at 1.1.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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.5.0
Creating working copy for https://github.com/RedMadRobot/autograph
Working copy of https://github.com/RedMadRobot/autograph resolved at 1.1.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/24] Compiling SourceKit SourceKit.c
[2/24] Compiling Clang_C Clang_C.c
[3/24] Write sources
[9/24] Compiling writer.c
[10/24] Compiling reader.c
[11/24] Compiling parser.c
[12/24] Compiling api.c
[13/24] Compiling emitter.c
[14/24] Write swift-version-24593BA9C3E375BF.txt
[15/24] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/68] 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
[18/71] Emitting module Yams
[19/73] Compiling Yams Tag.swift
[20/73] Compiling Yams YamlAnchorProviding.swift
[21/73] Compiling Yams YamlError.swift
[22/73] Compiling Yams YamlTagProviding.swift
[23/73] Compiling Yams AliasDereferencingStrategy.swift
[24/73] Compiling Yams Anchor.swift
[25/73] Compiling Yams Constructor.swift
[26/73] Compiling Yams Resolver.swift
[27/73] Compiling Yams String+Yams.swift
[28/73] Compiling Yams Parser.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.
[29/73] Compiling Yams RedundancyAliasingStrategy.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.
[30/73] Compiling Yams Representer.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.
[35/73] Compiling SWXMLHash TextElement.swift
[36/73] Compiling SWXMLHash XMLAttribute.swift
[37/73] Compiling Yams Node.Scalar.swift
[38/73] Compiling Yams Node.Sequence.swift
[39/73] Compiling Yams Node.swift
[40/73] Compiling Yams Mark.swift
[41/73] Compiling Yams Node.Alias.swift
[42/73] Compiling Yams Node.Mapping.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
/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
/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
[46/73] Compiling SWXMLHash XMLHashOptions.swift
[47/73] Compiling SWXMLHash XMLIndexer.swift
[48/73] Compiling SWXMLHash shim.swift
[53/73] Compiling Yams Decoder.swift
/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
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 |
59 | self.ops = ops
60 | let parser = XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
62 | parser.delegate = self
[54/73] Compiling Yams Emitter.swift
/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
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 |
59 | self.ops = ops
60 | let parser = XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
62 | parser.delegate = self
[55/73] Compiling Yams Encoder.swift
/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
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 |
59 | self.ops = ops
60 | let parser = XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
62 | parser.delegate = self
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/54] 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
[4/57] Compiling SWXMLHash String+Extensions.swift
[5/57] Compiling SWXMLHash TextElement.swift
[6/57] Compiling SWXMLHash XMLAttribute.swift
[7/57] Compiling SWXMLHash IndexOp.swift
[8/57] Compiling SWXMLHash LazyXMLParser.swift
[9/59] Compiling SWXMLHash XMLValueDeserialization.swift
[10/59] Compiling SWXMLHash Bool+XMLDeserialization.swift
[11/59] Compiling SWXMLHash Double+XMLDeserialization.swift
[12/59] Compiling SWXMLHash Float+XMLDeserialization.swift
[13/59] Compiling SWXMLHash Int+XMLDeserialization.swift
[14/59] Compiling SWXMLHash String+XMLDeserialization.swift
[15/59] Compiling SWXMLHash IndexingError.swift
[16/59] Compiling SWXMLHash ParsingError.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
[17/59] Compiling SWXMLHash XMLDeserializationError.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
[18/59] Compiling SWXMLHash FullXMLParser.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
/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
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 |
59 | self.ops = ops
60 | let parser = XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
62 | parser.delegate = self
/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
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 |
59 | self.ops = ops
60 | let parser = XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
62 | parser.delegate = self
[21/59] Compiling Yams YamlError.swift
/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
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 |
59 | self.ops = ops
60 | let parser = XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
62 | parser.delegate = self
[22/59] Compiling Yams YamlTagProviding.swift
[23/59] Compiling SWXMLHash XMLElement.swift
[24/59] Compiling SWXMLHash XMLHash.swift
[25/59] Compiling SWXMLHash XMLAttributeDeserializable.swift
[26/59] Compiling SWXMLHash XMLElementDeserializable.swift
[27/59] Compiling SWXMLHash XMLIndexer+XMLDeserialization.swift
[28/59] Compiling SWXMLHash XMLObjectDeserialization.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.
/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.
/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.
[34/59] Compiling SWXMLHash XMLHashOptions.swift
[35/59] Compiling SWXMLHash XMLIndexer.swift
[36/59] Compiling SWXMLHash shim.swift
BUILD FAILURE 6.1 wasm