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-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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omochi/xcbox.git
Reference: 1.0.1
Cloned https://github.com/omochi/xcbox.git into spi-builder-workspace
SUCCESS checkout https://github.com/omochi/xcbox.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/omochi/RichJSONParser.git
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/omochi/FineJSON.git
[1/533] Fetching richjsonparser
[534/1117] Fetching richjsonparser, finejson
[1118/3143] Fetching richjsonparser, finejson, aexml
Fetching https://github.com/kylef/PathKit
Fetched https://github.com/omochi/RichJSONParser.git (0.25s)
Fetched https://github.com/omochi/FineJSON.git (0.25s)
Fetching https://github.com/tuist/xcodeproj.git
Fetched https://github.com/tadija/AEXML (0.25s)
Fetching https://github.com/kylef/Spectre.git
[1/1405] Fetching pathkit
[1406/2426] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit (0.22s)
Fetching https://github.com/kareman/SwiftShell
Fetched https://github.com/kylef/Spectre.git (0.23s)
[1/19898] Fetching xcodeproj
[6966/24761] Fetching xcodeproj, swiftshell
Fetched https://github.com/kareman/SwiftShell (0.34s)
[16516/19898] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj.git (1.18s)
Computing version for https://github.com/omochi/FineJSON.git
Computed https://github.com/omochi/FineJSON.git at 1.10.0 (0.90s)
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.24s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.90s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.26s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.25s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.26s)
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/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.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/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.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
Building for debugging...
[1/32] Compiling AEXML Options.swift
[2/32] 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/32] Compiling AEXML Error.swift
[4/32] Compiling RichJSONParser JSONDictionary.swift
[5/32] Compiling RichJSONParser JSONParser.swift
[6/32] Compiling RichJSONParser ParsedJSON.swift
[7/32] Compiling RichJSONParser SourceLocation.swift
[8/32] Compiling RichJSONParser JSONSerializer.swift
[9/32] Compiling RichJSONParser JSONStringEscape.swift
[10/32] Compiling RichJSONParser JSONToken.swift
[11/32] Compiling RichJSONParser JSONTokenizer.swift
[12/32] Compiling RichJSONParser SourceLocationLite.swift
[13/32] Compiling RichJSONParser StaticBuffer.swift
[14/32] Emitting module RichJSONParser
[15/34] Compiling AEXML Element.swift
[16/34] Compiling RichJSONParser Characters.swift
[17/34] Compiling RichJSONParser DecodedUnicodeChar.swift
[18/34] Compiling RichJSONParser FastJSONParser.swift
[19/34] Compiling RichJSONParser FormatExtension.swift
[20/34] Compiling RichJSONParser JSON.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/34] Compiling AEXML Document.swift
[22/34] 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 {
                                      ^~~~~~~~~~~~~~~~~
[23/34] Compiling PathKit PathKit.swift
[24/34] Emitting module PathKit
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1