Build Information
Failed to build MiniDOM with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MiniDOM/MiniDOM.git
Reference: master
Cloned https://github.com/MiniDOM/MiniDOM.git into spi-builder-workspace
SUCCESS checkout https://github.com/MiniDOM/MiniDOM.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/11] Compiling MiniDOM MiniDOM.swift
[2/11] Compiling MiniDOM MiniDOMError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/12] Compiling MiniDOM Formatter.swift
[4/12] Compiling MiniDOM Log.swift
[5/12] 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 {
^~~~~~~~~~~~~~~~~
[6/12] Compiling MiniDOM Search.swift
[7/12] Compiling MiniDOM Path.swift
[8/12] Compiling MiniDOM ParserResult.swift
[9/12] Compiling MiniDOM String+Whitespace.swift
[10/12] 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()
~~~~~~ ^~~~~~~~~~~~
[11/12] 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()
~~~~~~ ^~~~~~~~~~~~
[12/12] Compiling MiniDOM Visitor.swift
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2