Build Information
Failed to build Saber 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/apleshkov/saber.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/apleshkov/saber
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 31e012b additional tests
Cloned https://github.com/apleshkov/saber.git
Revision (git rev-parse @):
31e012b672ce1a86526d45d08b4ca5c3e77053c6
SUCCESS checkout https://github.com/apleshkov/saber.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/apleshkov/saber.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/drmohundro/SWXMLHash.git
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/Carthage/Commandant.git
[1/2323] Fetching commandant
[257/3727] Fetching commandant, pathkit
[1464/5822] Fetching commandant, pathkit, aexml
[5321/8355] Fetching commandant, pathkit, aexml, result
[5745/11121] Fetching commandant, pathkit, aexml, result, swxmlhash
[11122/28412] Fetching commandant, pathkit, aexml, result, swxmlhash, nimble
Fetched https://github.com/Carthage/Commandant.git from cache (1.34s)
Fetching https://github.com/xcode-project-manager/xcodeproj.git
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.34s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/kylef/PathKit from cache (1.34s)
Fetching https://github.com/kareman/SwiftShell
Fetched https://github.com/tadija/AEXML.git from cache (1.34s)
Fetched https://github.com/antitypical/Result.git from cache (1.34s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/Quick/Quick.git
Fetched https://github.com/Quick/Nimble.git from cache (1.37s)
Fetching https://github.com/kylef/Spectre.git
[1/4863] Fetching swiftshell
[1509/5884] Fetching swiftshell, spectre
[2393/20093] Fetching swiftshell, spectre, quick
[4550/28922] Fetching swiftshell, spectre, quick, yams
[8689/44777] Fetching swiftshell, spectre, quick, yams, sourcekitten
[9132/65150] Fetching swiftshell, spectre, quick, yams, sourcekitten, xcodeproj
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
[11779/64129] Fetching swiftshell, quick, yams, sourcekitten, xcodeproj
Fetched https://github.com/kareman/SwiftShell from cache (0.40s)
[15686/59266] Fetching quick, yams, sourcekitten, xcodeproj
Fetched https://github.com/Quick/Quick.git from cache (0.81s)
[34902/45057] Fetching yams, sourcekitten, xcodeproj
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.48s)
Computing version for https://github.com/Carthage/Commandant.git
Fetched https://github.com/jpsim/Yams.git from cache (1.48s)
Fetched https://github.com/xcode-project-manager/xcodeproj.git from cache (1.68s)
Computed https://github.com/Carthage/Commandant.git at 0.15.0 (1.28s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.22.0 (0.46s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (0.46s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (0.47s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (1.28s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.1 (0.45s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.6 (0.44s)
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.22.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.15.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.6
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
Building for debugging...
[0/27] Write sources
[8/27] Compiling Clang_C Clang_C.m
[9/27] Compiling writer.c
[10/27] Compiling reader.c
[11/27] Compiling parser.c
[12/27] Compiling api.c
[13/27] Compiling SourceKit SourceKit.m
[14/27] Write swift-version-24593BA9C3E375BF.txt
[15/27] Compiling emitter.c
[16/36] Compiling scanner.c
[18/51] Emitting module Result
[19/51] Compiling Result NoError.swift
[20/51] Compiling Result ResultProtocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/51] Compiling SWXMLHash shim.swift
[22/51] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:296: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:314: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:324: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:336: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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:393: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:406: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:412: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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
[23/51] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:296: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:314: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:324: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:336: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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:393: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:406: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:412: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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:290: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:381:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let parser = Foundation.XMLParser(data: data)
^~~~~~~~~~~~~~~~~~~~
[24/51] Compiling SWXMLHash SWXMLHash+TypeConversion.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
^~~~~~~~~~~~~~~~~
[25/51] Compiling Yams Emitter.swift
[26/51] Compiling Yams Encoder.swift
[27/51] Compiling Yams Mark.swift
[28/51] Compiling Yams Node.Mapping.swift
[29/53] Compiling Result AnyError.swift
[30/53] Compiling Result Result.swift
[32/54] Compiling Yams Constructor.swift
[33/54] Compiling Yams Decoder.swift
[34/54] Emitting module Yams
[35/54] Compiling Yams Node.swift
[36/54] Compiling Yams Parser.swift
[37/54] Compiling Yams Node.Scalar.swift
[38/54] Compiling Yams Node.Sequence.swift
[39/54] Compiling Yams String+Yams.swift
[40/54] Compiling Yams Tag.swift
[41/54] Compiling Yams Representer.swift
[42/54] Compiling Yams Resolver.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/18] Emitting module Result
[3/19] Compiling Yams shim.swift
[4/21] Wrapping AST for Result for debugging
[6/30] Compiling Yams String+Yams.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/30] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:296: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:314: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:324: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:336: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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:393: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:406: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:412: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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
[8/30] Compiling SWXMLHash SWXMLHash+TypeConversion.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
^~~~~~~~~~~~~~~~~
[9/30] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:296: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:314: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:324: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:336: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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:393: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:406: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:412: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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:290: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:381: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