Build Information
Failed to build Braintree, reference master (5325cc
), with Swift 6.2 (beta) for Linux on 17 Jun 2025 20:53:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/braintree_swift.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/mihaelisaev/braintree_swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5325cc5 Update README.md
Cloned https://github.com/mihaelisaev/braintree_swift.git
Revision (git rev-parse @):
5325cc5a4d75db211f40c1b859b1fff4896a3b55
SUCCESS checkout https://github.com/mihaelisaev/braintree_swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/mihaelisaev/braintree_swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/MihaelIsaev/XMLParsing.git
Fetching https://github.com/vapor/vapor.git
[1/340] Fetching xmlparsing
[127/3160] Fetching xmlparsing, swxmlhash
Fetched https://github.com/MihaelIsaev/XMLParsing.git from cache (0.39s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.40s)
[1/74546] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.57s)
Computing version for https://github.com/MihaelIsaev/XMLParsing.git
Computed https://github.com/MihaelIsaev/XMLParsing.git at 0.1.0 (3.17s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (3.17s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
[1/579] Fetching validation
[580/1861] Fetching validation, template-kit
[1862/2780] Fetching validation, template-kit, service
[2552/3161] Fetching validation, template-kit, service, url-encoded-form
[2606/24013] Fetching validation, template-kit, service, url-encoded-form, routing
[3944/26622] Fetching validation, template-kit, service, url-encoded-form, routing, websocket
Fetched https://github.com/vapor/validation.git from cache (0.30s)
Fetching https://github.com/vapor/multipart.git
[8683/26043] Fetching template-kit, service, url-encoded-form, routing, websocket
Fetched https://github.com/vapor/template-kit.git from cache (0.31s)
Fetching https://github.com/vapor/http.git
[8027/24761] Fetching service, url-encoded-form, routing, websocket
Fetched https://github.com/vapor/websocket.git from cache (0.39s)
[14801/22152] Fetching service, url-encoded-form, routing
Fetching https://github.com/vapor/database-kit.git
[17513/47619] Fetching service, url-encoded-form, routing, http
[20015/51072] Fetching service, url-encoded-form, routing, http, multipart
[32382/52253] Fetching service, url-encoded-form, routing, http, multipart, database-kit
Fetched https://github.com/vapor/database-kit.git from cache (0.34s)
[43587/51072] Fetching service, url-encoded-form, routing, http, multipart
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.95s)
Fetched https://github.com/vapor/service.git from cache (0.95s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/routing.git from cache (0.97s)
[22506/28920] Fetching http, multipart
[25309/31706] Fetching http, multipart, crypto
[29877/51849] Fetching http, multipart, crypto, core
[31489/57867] Fetching http, multipart, crypto, core, console
Fetched https://github.com/vapor/crypto.git from cache (0.50s)
[29908/55081] Fetching http, multipart, core, console
Fetched https://github.com/vapor/http.git from cache (1.10s)
Fetched https://github.com/vapor/console.git from cache (0.46s)
[17939/23596] Fetching multipart, core
Fetched https://github.com/vapor/multipart.git from cache (1.68s)
Fetched https://github.com/vapor/core.git from cache (1.03s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (2.44s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/14890] Fetching swift-nio-ssl
[1490/91217] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.74s)
[54956/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.67s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (5.10s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.52s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.34s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.89s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.63s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.73s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.61s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.40s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (3.67s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (3.47s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.41s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.41s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.59s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.43s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.71s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.50s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.45s)
Creating working copy for https://github.com/MihaelIsaev/XMLParsing.git
Working copy of https://github.com/MihaelIsaev/XMLParsing.git resolved at 0.1.0
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/45] Write sources
[30/45] Compiling CNIOZlib empty.c
[31/45] Compiling CNIOLinux ifaddrs-android.c
[32/45] Compiling CNIODarwin shim.c
[33/45] Compiling CNIOSHA1 c_nio_sha1.c
[34/45] Compiling CNIOLinux shim.c
[35/45] Write swift-version-24593BA9C3E375BF.txt
[36/45] Compiling CBcrypt bcrypt.c
[37/45] Compiling CBcrypt blf.c
[38/45] Compiling CBase32 base32.c
[39/45] Compiling CNIOHTTPParser c_nio_http_parser.c
[40/68] Compiling CCryptoOpenSSL shim.c
[41/68] Compiling CNIOOpenSSL helpers.c
[41/68] Compiling CNIOOpenSSL shims.c
[43/68] Write sources
[44/70] Compiling c-atomics.c
[46/73] Compiling Debugging SourceLocation.swift
[47/73] Compiling SWXMLHash shim.swift
[48/73] Compiling NIOPriorityQueue PriorityQueue.swift
[49/73] Emitting module NIOConcurrencyHelpers
[50/73] Compiling NIOConcurrencyHelpers atomics.swift
[51/73] Compiling NIOConcurrencyHelpers lock.swift
[53/74] Compiling COperatingSystem libc.swift
[54/74] Emitting module COperatingSystem
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/75] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
183 | #if os(Linux)
184 |
185 | extension XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
186 | func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
187 | func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | 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/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | 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/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | 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.
328 | if !onMatch() {
329 | 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/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | 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/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | 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/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
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/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | 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/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | 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.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | 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/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | 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.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | 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
[57/75] Emitting module NIOPriorityQueue
[58/75] Compiling NIOPriorityQueue Heap.swift
[59/75] Compiling Debugging Demangler.swift
[60/75] Compiling XMLParsing XMLUnkeyedDecodingContainer.swift
[61/75] Compiling XMLParsing EncodingErrorExtension.swift
[62/77] Compiling XMLParsing DecodingErrorExtension.swift
[63/77] Compiling XMLParsing XMLDecoder.swift
[64/77] Compiling XMLParsing XMLDecodingStorage.swift
[65/77] Compiling XMLParsing XMLKeyedDecodingContainer.swift
[66/77] Emitting module Debugging
[67/77] Compiling Debugging Debuggable.swift
[68/78] Compiling XMLParsing XMLReferencingEncoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/78] Compiling XMLParsing ISO8601DateFormatter.swift
[70/78] Emitting module XMLParsing
/host/spi-builder-workspace/.build/checkouts/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:255:43: error: cannot find type 'XMLParserDelegate' in scope
253 | }
254 |
255 | internal class _XMLStackParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
256 | var root: _XMLElement?
257 | var stack = [_XMLElement]()
/host/spi-builder-workspace/.build/checkouts/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:290:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
288 | }
289 |
290 | func parserDidStartDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | root = nil
292 | stack = [_XMLElement]()
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:295:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
293 | }
294 |
295 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
296 | let node = _XMLElement(key: elementName)
297 | node.attributes = attributeDict
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:310:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
308 | }
309 |
310 | func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
311 | if let poppedNode = stack.popLast(){
312 | if let content = poppedNode.value?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) {
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:329:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
327 | }
328 |
329 | 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.
330 | currentNode?.value = (currentNode?.value ?? "") + string
331 | }
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:333:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
331 | }
332 |
333 | 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.
334 | if let string = String(data: CDATABlock, encoding: .utf8) {
335 | currentNode?.value = (currentNode?.value ?? "") + 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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:339:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | 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.
340 | print(parseError)
341 | }
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
[71/78] Compiling XMLParsing XMLKey.swift
[72/78] Compiling XMLParsing XMLEncoder.swift
[73/78] Compiling XMLParsing XMLEncodingStorage.swift
[76/78] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[77/78] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
183 | #if os(Linux)
184 |
185 | extension XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
186 | func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
187 | func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | 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/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | 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/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | 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.
328 | if !onMatch() {
329 | 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/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | 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/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | 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/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
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/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | 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/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | 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.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | 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/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | 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.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | 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/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
292 |
293 | self.ops = ops
294 | let parser = Foundation.XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
295 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
296 | parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
381 | parentStack.push(root)
382 |
383 | let parser = Foundation.XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
384 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
385 | parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:255:43: error: cannot find type 'XMLParserDelegate' in scope
253 | }
254 |
255 | internal class _XMLStackParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
256 | var root: _XMLElement?
257 | var stack = [_XMLElement]()
/host/spi-builder-workspace/.build/checkouts/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:290:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
288 | }
289 |
290 | func parserDidStartDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | root = nil
292 | stack = [_XMLElement]()
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:295:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
293 | }
294 |
295 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
296 | let node = _XMLElement(key: elementName)
297 | node.attributes = attributeDict
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:310:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
308 | }
309 |
310 | func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
311 | if let poppedNode = stack.popLast(){
312 | if let content = poppedNode.value?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) {
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:329:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
327 | }
328 |
329 | 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.
330 | currentNode?.value = (currentNode?.value ?? "") + string
331 | }
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/XMLParsing/Sources/XMLParsing/XMLStackParser.swift:333:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
331 | }
332 |
333 | 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.
334 | if let string = String(data: CDATABlock, encoding: .utf8) {
335 | currentNode?.value = (currentNode?.value ?? "") + 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
BUILD FAILURE 6.2 linux