The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcbox with Swift 5.8 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.8-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.8
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.8-latest swift build 2>&1
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/omochi/RichJSONParser.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[12/1554] Fetching spectre, richjsonparser
[491/2959] Fetching spectre, richjsonparser, pathkit
Fetching https://github.com/kareman/SwiftShell
Fetched https://github.com/kylef/Spectre.git (0.21s)
Fetched https://github.com/omochi/RichJSONParser.git (0.21s)
Fetching https://github.com/tuist/xcodeproj.git
Fetched https://github.com/kylef/PathKit (0.21s)
Fetching https://github.com/omochi/FineJSON.git
[1/4863] Fetching swiftshell
[1023/5447] Fetching swiftshell, finejson
Fetched https://github.com/omochi/FineJSON.git (0.19s)
[2918/4863] Fetching swiftshell
Fetching https://github.com/tadija/AEXML
[4864/24761] Fetching swiftshell, xcodeproj
Fetched https://github.com/kareman/SwiftShell (0.31s)
[4179/19898] Fetching xcodeproj
[5573/21924] Fetching xcodeproj, aexml
Fetched https://github.com/tadija/AEXML (0.22s)
[8756/19898] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj.git (1.15s)
Computing version for https://github.com/omochi/FineJSON.git
Computed https://github.com/omochi/FineJSON.git at 1.10.0 (0.83s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (0.26s)
Computing version for https://github.com/omochi/RichJSONParser.git
Computed https://github.com/omochi/RichJSONParser.git at 2.3.0 (0.26s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.84s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.27s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.28s)
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/omochi/RichJSONParser.git
Working copy of https://github.com/omochi/RichJSONParser.git resolved at 2.3.0
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
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/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
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 RichJSONParser ParsedJSON.swift
[3/34] Compiling RichJSONParser SourceLocation.swift
[4/34] Compiling RichJSONParser UTF8Decoder.swift
[5/34] Compiling RichJSONParser UTF8Reader.swift
[6/34] Compiling RichJSONParser FormatExtension.swift
[7/34] Compiling RichJSONParser JSON.swift
[8/34] Compiling RichJSONParser JSONDictionary.swift
[9/34] Compiling RichJSONParser JSONParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/34] Emitting module AEXML
/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: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
                 ^
[11/34] Compiling PathKit PathKit.swift
[12/34] Emitting module PathKit
[13/34] Compiling AEXML Error.swift
[14/34] Compiling AEXML Element.swift
[15/34] Compiling AEXML Options.swift
[16/34] Compiling AEXML Document.swift
/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 {
                                      ^~~~~~~~~~~~~~~~~
[17/34] Compiling AEXML Parser.swift
/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: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:41:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let parser = XMLParser(data: data)
                     ^~~~~~~~~
[20/36] Compiling RichJSONParser JSONSerializer.swift
[21/36] Compiling RichJSONParser JSONStringEscape.swift
[22/36] Compiling RichJSONParser JSONToken.swift
[23/36] Compiling RichJSONParser JSONTokenizer.swift
[24/36] Compiling RichJSONParser Characters.swift
[25/36] Compiling RichJSONParser DecodedUnicodeChar.swift
[26/36] Compiling RichJSONParser FastJSONParser.swift
[27/36] Compiling RichJSONParser SourceLocationLite.swift
[28/36] Compiling RichJSONParser StaticBuffer.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 1