The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MiniDOM 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/MiniDOM/MiniDOM.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/MiniDOM/MiniDOM
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8d07401 Fix versioning issues
Cloned https://github.com/MiniDOM/MiniDOM.git
Revision (git rev-parse @):
8d0740134f93ee578ef8719291f99e5d95f6ad1a
SUCCESS checkout https://github.com/MiniDOM/MiniDOM.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/MiniDOM/MiniDOM.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling MiniDOM String+Whitespace.swift
[4/14] Compiling MiniDOM NodeList.swift
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:32:25: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private let parser: XMLParser
                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:94:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    convenience init?(parser: XMLParser?) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:102:18: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    init(parser: XMLParser) {
                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:131:51: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func popAndAppendToTopOfStack(parser: XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:140:58: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func appendToTopOfStack(child: Node, parser: XMLParser) {
                                                         ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:154:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidStartDocument(_ parser: XMLParser) {
                                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:159:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidEndDocument(_ parser: XMLParser) {
                                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:164:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:169:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:174:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCharacters string: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:179:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundProcessingInstructionWithTarget target: String, data: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:185:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundComment comment: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:191: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/Sources/MiniDOM/Parser.swift:126:28: error: cannot find type 'XMLParserDelegate' in scope
class NodeStack: NSObject, XMLParserDelegate {
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:45:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(contentsOf: url))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:71:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(data: data))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:91:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(stream: stream))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:113:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = stack
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:115:22: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
        guard parser.parse(), let document = stack.document else {
              ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:116:50: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
            let error = MiniDOMError.from(parser.parserError)
                                          ~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:121:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = nil
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:121:27: error: 'nil' requires a contextual type
        parser.delegate = nil
                          ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:133:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:142:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:195:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
[5/14] Compiling MiniDOM Parser.swift
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:32:25: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private let parser: XMLParser
                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:94:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    convenience init?(parser: XMLParser?) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:102:18: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    init(parser: XMLParser) {
                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:131:51: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func popAndAppendToTopOfStack(parser: XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:140:58: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func appendToTopOfStack(child: Node, parser: XMLParser) {
                                                         ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:154:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidStartDocument(_ parser: XMLParser) {
                                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:159:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidEndDocument(_ parser: XMLParser) {
                                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:164:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:169:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:174:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCharacters string: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:179:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundProcessingInstructionWithTarget target: String, data: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:185:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundComment comment: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:191: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/Sources/MiniDOM/Parser.swift:126:28: error: cannot find type 'XMLParserDelegate' in scope
class NodeStack: NSObject, XMLParserDelegate {
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:45:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(contentsOf: url))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:71:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(data: data))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:91:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(stream: stream))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:113:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = stack
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:115:22: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
        guard parser.parse(), let document = stack.document else {
              ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:116:50: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
            let error = MiniDOMError.from(parser.parserError)
                                          ~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:121:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = nil
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:121:27: error: 'nil' requires a contextual type
        parser.delegate = nil
                          ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:133:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:142:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:195:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/14] Compiling MiniDOM Formatter.swift
[7/14] Compiling MiniDOM Log.swift
[8/14] Emitting module MiniDOM
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:32:25: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private let parser: XMLParser
                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:94:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    convenience init?(parser: XMLParser?) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:102:18: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    init(parser: XMLParser) {
                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:131:51: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func popAndAppendToTopOfStack(parser: XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:140:58: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func appendToTopOfStack(child: Node, parser: XMLParser) {
                                                         ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:154:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidStartDocument(_ parser: XMLParser) {
                                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:159:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidEndDocument(_ parser: XMLParser) {
                                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:164:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:169:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:174:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCharacters string: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:179:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundProcessingInstructionWithTarget target: String, data: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:185:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundComment comment: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:191: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/Sources/MiniDOM/Parser.swift:126:28: error: cannot find type 'XMLParserDelegate' in scope
class NodeStack: NSObject, XMLParserDelegate {
                           ^~~~~~~~~~~~~~~~~
[9/14] Compiling MiniDOM Visitor.swift
[10/14] Compiling MiniDOM Path.swift
[11/14] Compiling MiniDOM ParserResult.swift
[12/14] Compiling MiniDOM MiniDOM.swift
[13/14] Compiling MiniDOM MiniDOMError.swift
[14/14] Compiling MiniDOM Search.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling MiniDOM NodeList.swift
[3/4] Emitting module MiniDOM
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:32:25: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private let parser: XMLParser
                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:94:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    convenience init?(parser: XMLParser?) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:102:18: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    init(parser: XMLParser) {
                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:131:51: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func popAndAppendToTopOfStack(parser: XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:140:58: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func appendToTopOfStack(child: Node, parser: XMLParser) {
                                                         ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:154:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidStartDocument(_ parser: XMLParser) {
                                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:159:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidEndDocument(_ parser: XMLParser) {
                                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:164:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:169:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:174:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCharacters string: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:179:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundProcessingInstructionWithTarget target: String, data: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:185:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundComment comment: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:191: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/Sources/MiniDOM/Parser.swift:126:28: error: cannot find type 'XMLParserDelegate' in scope
class NodeStack: NSObject, XMLParserDelegate {
                           ^~~~~~~~~~~~~~~~~
[4/4] Compiling MiniDOM Parser.swift
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:32:25: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private let parser: XMLParser
                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:94:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    convenience init?(parser: XMLParser?) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:102:18: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    init(parser: XMLParser) {
                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:131:51: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func popAndAppendToTopOfStack(parser: XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:140:58: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    private func appendToTopOfStack(child: Node, parser: XMLParser) {
                                                         ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:154:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidStartDocument(_ parser: XMLParser) {
                                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:159:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parserDidEndDocument(_ parser: XMLParser) {
                                        ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:164:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:169:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:174:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCharacters string: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:179:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundProcessingInstructionWithTarget target: String, data: String?) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:185:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundComment comment: String) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:191: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/Sources/MiniDOM/Parser.swift:126:28: error: cannot find type 'XMLParserDelegate' in scope
class NodeStack: NSObject, XMLParserDelegate {
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:45:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(contentsOf: url))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:71:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(data: data))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:91:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(stream: stream))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:113:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = stack
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:115:22: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
        guard parser.parse(), let document = stack.document else {
              ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:116:50: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
            let error = MiniDOMError.from(parser.parserError)
                                          ~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:121:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = nil
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:121:27: error: 'nil' requires a contextual type
        parser.delegate = nil
                          ^
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:133:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:142:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MiniDOM/Parser.swift:195:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
            parser.abortParsing()
            ~~~~~~ ^~~~~~~~~~~~
[5/11] Compiling MiniDOM Visitor.swift
[6/11] Compiling MiniDOM String+Whitespace.swift
[7/11] Compiling MiniDOM Path.swift
[8/11] Compiling MiniDOM Search.swift
[9/11] Compiling MiniDOM MiniDOM.swift
[10/11] Compiling MiniDOM Log.swift
[11/11] Compiling MiniDOM Formatter.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2