The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcbox with Swift 5.7 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.7-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.7
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.7-latest swift build 2>&1
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/kylef/PathKit
[1/4863] Fetching swiftshell
[1023/6268] Fetching swiftshell, pathkit
[6269/26166] Fetching swiftshell, pathkit, xcodeproj
Fetched https://github.com/kylef/PathKit (1.10s)
Fetching https://github.com/omochi/FineJSON.git
Fetched https://github.com/kareman/SwiftShell (1.10s)
Fetching https://github.com/omochi/RichJSONParser.git
Fetched https://github.com/tuist/xcodeproj.git (1.12s)
Fetching https://github.com/kylef/Spectre.git
[1/533] Fetching richjsonparser
[534/1117] Fetching richjsonparser, finejson
[1118/2138] Fetching richjsonparser, finejson, spectre
Fetched https://github.com/omochi/RichJSONParser.git (0.20s)
Fetching https://github.com/tadija/AEXML
Fetched https://github.com/omochi/FineJSON.git (0.21s)
Computing version for https://github.com/omochi/FineJSON.git
Fetched https://github.com/kylef/Spectre.git (0.21s)
[1/2026] Fetching aexml
Fetched https://github.com/tadija/AEXML (0.24s)
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.25s)
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.86s)
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.25s)
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/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/omochi/RichJSONParser.git
Working copy of https://github.com/omochi/RichJSONParser.git resolved at 2.3.0
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
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 Characters.swift
[4/34] Compiling RichJSONParser DecodedUnicodeChar.swift
[5/34] Compiling RichJSONParser FastJSONParser.swift
[6/34] Compiling AEXML Error.swift
[7/34] Compiling AEXML Options.swift
[8/34] Compiling RichJSONParser ParsedJSON.swift
[9/34] Compiling RichJSONParser SourceLocation.swift
[10/34] Compiling RichJSONParser UTF8Decoder.swift
[11/34] Compiling RichJSONParser UTF8Reader.swift
[12/34] Compiling RichJSONParser JSONToken.swift
[13/34] Compiling RichJSONParser JSONTokenizer.swift
[14/34] Compiling RichJSONParser JSONSerializer.swift
[15/34] Compiling RichJSONParser JSONStringEscape.swift
[16/34] Compiling AEXML Document.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[17/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 {
                                      ^~~~~~~~~~~~~~~~~
[18/34] Compiling AEXML Element.swift
[19/34] Compiling RichJSONParser SourceLocationLite.swift
[20/34] Compiling RichJSONParser StaticBuffer.swift
[21/34] Emitting module PathKit
[22/34] Compiling PathKit PathKit.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 1