The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Toybox with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/toybox.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/giginet/toybox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b30d04c Merge pull request #30 from giginet/macos-default-template
Cloned https://github.com/giginet/toybox.git
Revision (git rev-parse @):
b30d04ce827d27f4d47bc504fd103cfd391d7b84
SUCCESS checkout https://github.com/giginet/toybox.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/giginet/toybox.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Carthage/Commandant.git
[1/2323] Fetching commandant
[2324/5089] Fetching commandant, swxmlhash
[5090/19298] Fetching commandant, swxmlhash, quick
[19299/36589] Fetching commandant, swxmlhash, quick, nimble
Fetched https://github.com/Carthage/Commandant.git from cache (1.57s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.57s)
Computing version for https://github.com/Carthage/Commandant.git
Fetched https://github.com/Quick/Quick.git from cache (1.58s)
Fetched https://github.com/Quick/Nimble.git from cache (1.60s)
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.44s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (1.27s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (1.29s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.0.0 (0.47s)
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.0.0
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/25] Compiling Commandant Result+Additions.swift
[7/26] Compiling Commandant OrderedSet.swift
[8/26] Compiling Commandant Switch.swift
[9/26] Compiling Commandant Argument.swift
[10/26] Compiling Commandant ArgumentParser.swift
[11/26] Compiling Commandant Errors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/26] Compiling SWXMLHash shim.swift
[13/26] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
[14/26] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
[15/26] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/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
        let parser = Foundation.XMLParser(data: data!)
                     ^~~~~~~~~~~~~~~~~~~~
/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
        let parser = Foundation.XMLParser(data: data)
                     ^~~~~~~~~~~~~~~~~~~~
[16/26] Compiling Commandant HelpCommand.swift
[17/26] Emitting module Commandant
[18/26] Compiling Commandant ArgumentProtocol.swift
[19/26] Compiling Commandant Command.swift
[20/26] Compiling Commandant Option.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/11] Emitting module Commandant
[3/12] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
[4/12] Wrapping AST for Commandant for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
[7/12] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/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
        let parser = Foundation.XMLParser(data: data!)
                     ^~~~~~~~~~~~~~~~~~~~
/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
        let parser = Foundation.XMLParser(data: data)
                     ^~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux