The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcbox with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omochi/xcbox.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/omochi/xcbox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9ef360c Update README.md
Cloned https://github.com/omochi/xcbox.git
Revision (git rev-parse @):
9ef360c70deb3b4049eac47d81723bec775022e4
SUCCESS checkout https://github.com/omochi/xcbox.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/omochi/xcbox.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/omochi/FineJSON.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/tadija/AEXML
[1/584] Fetching finejson
[545/1988] Fetching finejson, pathkit
[894/3009] Fetching finejson, pathkit, spectre
[2571/7872] Fetching finejson, pathkit, spectre, swiftshell
[4032/9967] Fetching finejson, pathkit, spectre, swiftshell, aexml
Fetched https://github.com/omochi/FineJSON.git from cache (0.29s)
Fetching https://github.com/omochi/RichJSONParser.git
[5979/9383] Fetching pathkit, spectre, swiftshell, aexml
[4673/7979] Fetching spectre, swiftshell, aexml
Fetched https://github.com/kylef/PathKit from cache (0.30s)
[5792/28352] Fetching spectre, swiftshell, aexml, xcodeproj
[4824/26257] Fetching spectre, swiftshell, xcodeproj
Fetched https://github.com/tadija/AEXML from cache (0.35s)
[11590/26790] Fetching spectre, swiftshell, xcodeproj, richjsonparser
Fetched https://github.com/omochi/RichJSONParser.git from cache (0.23s)
[13015/26257] Fetching spectre, swiftshell, xcodeproj
Fetched https://github.com/kylef/Spectre.git from cache (1.44s)
Fetched https://github.com/kareman/SwiftShell from cache (1.44s)
Fetched https://github.com/tuist/xcodeproj.git from cache (1.48s)
Computing version for https://github.com/omochi/FineJSON.git
Computed https://github.com/omochi/FineJSON.git at 1.10.0 (1.43s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (0.45s)
Computing version for https://github.com/omochi/RichJSONParser.git
Computed https://github.com/omochi/RichJSONParser.git at 2.3.0 (0.45s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (1.29s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.46s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.46s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.43s)
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/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/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
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/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.0
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/41] Emitting module RichJSONParser
[10/43] Compiling RichJSONParser UTF8Decoder.swift
[11/43] Compiling RichJSONParser UTF8Reader.swift
[12/43] Compiling RichJSONParser SourceLocationLite.swift
[13/43] Compiling RichJSONParser StaticBuffer.swift
[14/43] Compiling RichJSONParser JSONSerializer.swift
[15/43] Compiling RichJSONParser JSONStringEscape.swift
[16/43] 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)
                     ^~~~~~~~~
[17/43] Compiling AEXML Options.swift
[18/43] Compiling RichJSONParser ParsedJSON.swift
[19/43] Compiling RichJSONParser SourceLocation.swift
[20/43] Compiling AEXML Error.swift
[21/43] Compiling RichJSONParser JSONToken.swift
[22/43] Compiling RichJSONParser JSONTokenizer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/43] 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 {
                                      ^~~~~~~~~~~~~~~~~
[24/43] Compiling RichJSONParser FormatExtension.swift
[25/43] Compiling RichJSONParser JSON.swift
[26/43] Compiling RichJSONParser JSONDictionary.swift
[27/43] Compiling RichJSONParser JSONParser.swift
[28/43] Compiling RichJSONParser Characters.swift
[29/43] Compiling RichJSONParser DecodedUnicodeChar.swift
[30/43] Compiling RichJSONParser FastJSONParser.swift
[31/43] Compiling AEXML Document.swift
[32/43] Compiling AEXML Element.swift
error: fatalError
[34/44] Emitting module PathKit
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/15] 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 {
                                      ^~~~~~~~~~~~~~~~~
[3/15] 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)
                     ^~~~~~~~~
error: fatalError
[4/15] Emitting module PathKit
BUILD FAILURE 5.10 linux

Build Machine: Linux 2