Build Information
Failed to build Braintree, reference 0.2.1 (a68181
), with Swift 6.0 for Linux on 26 Nov 2024 19:12:45 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.0-latest swift build --triple x86_64-unknown-linux-gnu -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/braintree_swift.git
Reference: 0.2.1
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
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at a68181c Update Package.swift
Cloned https://github.com/mihaelisaev/braintree_swift.git
Revision (git rev-parse @):
a68181ccfb5604b3aced01bcad1808344edcc7cf
SUCCESS checkout https://github.com/mihaelisaev/braintree_swift.git at 0.2.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
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.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/MihaelIsaev/XMLParsing.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/340] Fetching xmlparsing
[127/3160] Fetching xmlparsing, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.26s)
[1/70295] Fetching vapor
Fetched https://github.com/MihaelIsaev/XMLParsing.git from cache (1.56s)
Fetched https://github.com/vapor/vapor.git from cache (1.59s)
Computing version for https://github.com/MihaelIsaev/XMLParsing.git
Computed https://github.com/MihaelIsaev/XMLParsing.git at 0.1.0 (0.42s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (2.01s)
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/template-kit.git
[1/579] Fetching validation
[580/1498] Fetching validation, service
[691/1879] Fetching validation, service, url-encoded-form
[1862/3161] Fetching validation, service, url-encoded-form, template-kit
[2201/23851] Fetching validation, service, url-encoded-form, template-kit, routing
[3783/26375] Fetching validation, service, url-encoded-form, template-kit, routing, websocket
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.69s)
Fetched https://github.com/vapor/validation.git from cache (0.69s)
Fetched https://github.com/vapor/service.git from cache (0.69s)
Fetched https://github.com/vapor/template-kit.git from cache (0.69s)
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/websocket.git from cache (0.77s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/routing.git from cache (0.78s)
Fetching https://github.com/vapor/console.git
[1/25467] Fetching http
[766/26648] Fetching http, database-kit
[4748/46791] Fetching http, database-kit, core
[5004/48884] Fetching http, database-kit, core, multipart
[15582/54354] Fetching http, database-kit, core, multipart, console
Fetched https://github.com/vapor/database-kit.git from cache (0.34s)
[35685/53173] Fetching http, core, multipart, console
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/vapor/console.git from cache (0.32s)
[37247/47703] Fetching http, core, multipart
[37651/50489] Fetching http, core, multipart, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.27s)
Fetched https://github.com/vapor/core.git from cache (0.82s)
Fetched https://github.com/vapor/http.git from cache (0.94s)
[524/2093] Fetching multipart
Fetched https://github.com/vapor/multipart.git from cache (1.38s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.42s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/13309] Fetching swift-nio-ssl
[1199/85244] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.58s)
[51074/71935] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.81s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.43s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.48s)
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.25s)
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.41s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.45s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.42s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (1.95s)
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.19s)
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 (0.45s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.64s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.45s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.48s)
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.68s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.48s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.43s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (1.09s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.46s)
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/MihaelIsaev/XMLParsing.git
Working copy of https://github.com/MihaelIsaev/XMLParsing.git resolved at 0.1.0
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/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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.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
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/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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.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/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/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/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
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
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 shim.c
[32/45] Compiling CNIOLinux ifaddrs-android.c
[33/45] Compiling CNIOSHA1 c_nio_sha1.c
[33/45] Compiling CBcrypt blf.c
[35/45] Compiling CNIODarwin shim.c
[36/45] Write swift-version-24593BA9C3E375BF.txt
[36/45] Write sources
[38/45] Compiling CCryptoOpenSSL shim.c
[39/45] Compiling CNIOOpenSSL shims.c
[40/45] Compiling CBcrypt bcrypt.c
[41/45] Compiling CNIOOpenSSL helpers.c
[42/45] Compiling CBase32 base32.c
[43/45] Compiling CNIOHTTPParser c_nio_http_parser.c
[44/70] Compiling c-atomics.c
[46/73] Compiling NIOPriorityQueue PriorityQueue.swift
[47/73] Compiling SWXMLHash shim.swift
[48/73] Compiling Debugging SourceLocation.swift
[49/73] Emitting module NIOConcurrencyHelpers
[50/73] Compiling NIOPriorityQueue Heap.swift
[51/73] Emitting module NIOPriorityQueue
[52/73] Compiling NIOConcurrencyHelpers lock.swift
[53/73] Compiling NIOConcurrencyHelpers atomics.swift
[55/75] Emitting module COperatingSystem
[56/75] Compiling COperatingSystem libc.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/126] Compiling NIO AddressedEnvelope.swift
[60/126] Compiling NIO BaseSocket.swift
[61/126] 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
[62/127] Compiling NIO BaseSocketChannel.swift
[63/127] Compiling NIO BlockingIOThreadPool.swift
[64/127] Compiling NIO Bootstrap.swift
[65/127] Compiling NIO ByteBuffer-aux.swift
[66/127] Compiling NIO ByteBuffer-core.swift
[67/127] Compiling NIO ChannelPipeline.swift
[68/127] Compiling XMLParsing XMLKey.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/127] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[70/127] 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
[71/127] 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
[72/127] Compiling XMLParsing ISO8601DateFormatter.swift
[73/127] Compiling XMLParsing XMLReferencingEncoder.swift
/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
[74/127] Compiling Debugging Debuggable.swift
[75/127] Emitting module Debugging
BUILD FAILURE 6.0 linux