The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcbox with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/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/omochi/xcbox.git
Reference: master
Cloned https://github.com/omochi/xcbox.git into spi-builder-workspace
SUCCESS checkout https://github.com/omochi/xcbox.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-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/omochi/RichJSONParser.git
Fetching https://github.com/kareman/SwiftShell
[1/4863] Fetching swiftshell
[99/6889] Fetching swiftshell, aexml
[2834/7422] Fetching swiftshell, aexml, richjsonparser
Fetching https://github.com/kylef/Spectre.git
Fetched https://github.com/omochi/RichJSONParser.git (0.33s)
Fetched https://github.com/tadija/AEXML (0.33s)
Fetching https://github.com/omochi/FineJSON.git
Fetched https://github.com/kareman/SwiftShell (0.33s)
Fetching https://github.com/tuist/xcodeproj.git
[1/584] Fetching finejson
[585/1605] Fetching finejson, spectre
[766/1021] Fetching spectre
Fetched https://github.com/omochi/FineJSON.git (0.19s)
Fetching https://github.com/kylef/PathKit
Fetched https://github.com/kylef/Spectre.git (0.25s)
[1/19388] Fetching xcodeproj
[5624/20793] Fetching xcodeproj, pathkit
Fetched https://github.com/kylef/PathKit (0.22s)
[8143/19388] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj.git (1.20s)
Computing version for https://github.com/omochi/FineJSON.git
Computed https://github.com/omochi/FineJSON.git at 1.10.0 (0.93s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (0.27s)
Computing version for https://github.com/omochi/RichJSONParser.git
Computed https://github.com/omochi/RichJSONParser.git at 2.3.0 (0.29s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.96s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.32s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.27s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Creating working copy for https://github.com/omochi/RichJSONParser.git
Working copy of https://github.com/omochi/RichJSONParser.git resolved at 2.3.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/omochi/FineJSON.git
Working copy of https://github.com/omochi/FineJSON.git resolved at 1.10.0
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.0
Building for debugging...
[1/32] Emitting module RichJSONParser
[2/34] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser,
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68: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/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser,
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84: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/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
internal class AEXMLParser: NSObject, XMLParserDelegate {
                                      ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:41:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let parser = XMLParser(data: data)
                     ^~~~~~~~~
[3/34] Compiling RichJSONParser UTF8Decoder.swift
[4/34] Compiling RichJSONParser UTF8Reader.swift
[5/34] Compiling RichJSONParser SourceLocationLite.swift
[6/34] Compiling RichJSONParser StaticBuffer.swift
[7/34] Compiling RichJSONParser FormatExtension.swift
[8/34] Compiling RichJSONParser JSON.swift
[9/34] Compiling RichJSONParser JSONDictionary.swift
[10/34] Compiling RichJSONParser JSONParser.swift
[11/34] Compiling RichJSONParser JSONSerializer.swift
[12/34] Compiling RichJSONParser JSONStringEscape.swift
[13/34] Compiling RichJSONParser Characters.swift
[14/34] Compiling RichJSONParser DecodedUnicodeChar.swift
[15/34] Compiling RichJSONParser FastJSONParser.swift
[16/34] Compiling RichJSONParser JSONToken.swift
[17/34] Compiling RichJSONParser JSONTokenizer.swift
[18/34] Compiling RichJSONParser ParsedJSON.swift
[19/34] Compiling RichJSONParser SourceLocation.swift
[20/34] Compiling AEXML Error.swift
[21/34] Compiling AEXML Options.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/35] Compiling AEXML Document.swift
[23/35] Compiling AEXML Element.swift
[24/35] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser,
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68: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/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser,
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84: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/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
internal class AEXMLParser: NSObject, XMLParserDelegate {
                                      ^~~~~~~~~~~~~~~~~
[27/36] Emitting module PathKit
[28/36] Compiling PathKit PathKit.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1