Build Information
Failed to build MotoSwift with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/Igor-Palaguta/MotoSwift.git
Reference: 0.6.0
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/Igor-Palaguta/MotoSwift
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 9a15413 Merge pull request #6 from Igor-Palaguta/ArgumentParser
Cloned https://github.com/Igor-Palaguta/MotoSwift.git
Revision (git rev-parse @):
9a1541313503b090bcf7aeab572d2d20f213283a
SUCCESS checkout https://github.com/Igor-Palaguta/MotoSwift.git at 0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/Igor-Palaguta/MotoSwift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/kylef/Spectre
[1/1404] Fetching pathkit
[1405/2425] Fetching pathkit, spectre
[2426/6433] Fetching pathkit, spectre, stencilswiftkit
[3028/11617] Fetching pathkit, spectre, stencilswiftkit, stencil
[3236/14383] Fetching pathkit, spectre, stencilswiftkit, stencil, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.38s)
[8212/23043] Fetching pathkit, spectre, stencilswiftkit, stencil, swift-argument-parser
Fetched https://github.com/stencilproject/Stencil.git from cache (0.77s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.78s)
[3387/6433] Fetching pathkit, spectre, stencilswiftkit
Fetched https://github.com/kylef/Spectre from cache (2.05s)
Fetched https://github.com/kylef/PathKit.git from cache (2.05s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (2.10s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.46s)
Computing version for https://github.com/kylef/Spectre
Computed https://github.com/kylef/Spectre at 0.9.0 (1.29s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.6 (1.32s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.7.2 (0.47s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.13.1 (0.46s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.48s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.4
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.7.2
Creating working copy for https://github.com/kylef/Spectre
Working copy of https://github.com/kylef/Spectre resolved at 0.9.0
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.13.1
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/49] Emitting module ArgumentParser
[10/52] Compiling SWXMLHash shim.swift
[11/52] Compiling ArgumentParser ArgumentDefinition.swift
[12/52] Compiling ArgumentParser ArgumentSet.swift
[13/52] Compiling ArgumentParser ArgumentSetSequence.swift
[14/52] Compiling ArgumentParser CommandParser.swift
[15/52] Compiling ArgumentParser NameSpecification.swift
[16/52] Compiling ArgumentParser Option.swift
[17/52] Compiling ArgumentParser OptionGroup.swift
[18/52] Compiling ArgumentParser CommandConfiguration.swift
[19/52] 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 {
^~~~~~~~~~~~~~~~~
[20/52] Compiling ArgumentParser InputOrigin.swift
[21/52] Compiling ArgumentParser Name.swift
[22/52] Compiling ArgumentParser Parsed.swift
[23/52] Compiling ArgumentParser HelpCommand.swift
[24/52] Compiling ArgumentParser HelpGenerator.swift
[25/52] Compiling ArgumentParser MessageInfo.swift
[26/52] Compiling ArgumentParser ParsedValues.swift
[27/52] Compiling ArgumentParser ParserError.swift
[28/52] Compiling ArgumentParser SplitArguments.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/52] 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 {
^~~~~~~~~~~~~~~~~
[30/52] 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)
^~~~~~~~~~~~~~~~~~~~
[31/52] Compiling ArgumentParser UsageGenerator.swift
[32/52] Compiling ArgumentParser StringExtensions.swift
[33/52] Compiling ArgumentParser Tree.swift
[34/52] Compiling ArgumentParser ExpressibleByArgument.swift
[35/52] Compiling ArgumentParser ParsableArguments.swift
[36/52] Compiling ArgumentParser ParsableCommand.swift
[37/52] Compiling ArgumentParser ArgumentDecoder.swift
[38/52] Compiling ArgumentParser Argument.swift
[39/52] Compiling ArgumentParser ArgumentHelp.swift
[40/52] Compiling ArgumentParser Errors.swift
[41/52] Compiling ArgumentParser Flag.swift
error: fatalError
[43/53] Emitting module PathKit
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/16] 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 {
^~~~~~~~~~~~~~~~~
[3/16] 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)
^~~~~~~~~~~~~~~~~~~~
[4/16] 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 {
^~~~~~~~~~~~~~~~~
error: fatalError
[5/16] Emitting module PathKit
BUILD FAILURE 5.10 linux