The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Saber 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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apleshkov/saber.git
Reference: master
Cloned https://github.com/apleshkov/saber.git into spi-builder-workspace
SUCCESS checkout https://github.com/apleshkov/saber.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-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/tadija/AEXML.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/kareman/SwiftShell
[1/4863] Fetching swiftshell
[1023/7599] Fetching swiftshell, swxmlhash
Fetching https://github.com/kylef/PathKit
Fetched https://github.com/drmohundro/SWXMLHash.git (0.27s)
[1/1405] Fetching pathkit
Fetched https://github.com/kylef/PathKit (0.23s)
Fetching https://github.com/jpsim/Yams.git
[1/8606] Fetching yams
Fetched https://github.com/jpsim/Yams.git (1.18s)
Fetching https://github.com/kylef/Spectre.git
[1/2026] Fetching aexml
Fetched https://github.com/tadija/AEXML.git (1.78s)
Fetching https://github.com/Quick/Quick.git
Fetched https://github.com/kareman/SwiftShell (1.78s)
Fetching https://github.com/xcode-project-manager/xcodeproj.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.21s)
Fetching https://github.com/Carthage/Commandant.git
[1/13702] Fetching quick
[2605/33090] Fetching quick, xcodeproj
[6178/35413] Fetching quick, xcodeproj, commandant
Fetched https://github.com/Carthage/Commandant.git (0.26s)
Fetching https://github.com/antitypical/Result.git
[16027/33090] Fetching quick, xcodeproj
[26693/35624] Fetching quick, xcodeproj, result
Fetched https://github.com/Quick/Quick.git (0.64s)
Fetching https://github.com/Quick/Nimble.git
[17657/21922] Fetching xcodeproj, result
Fetched https://github.com/antitypical/Result.git (0.32s)
Fetching https://github.com/jpsim/SourceKitten.git
[16868/19388] Fetching xcodeproj
[19389/34970] Fetching xcodeproj, sourcekitten
[22194/50716] Fetching xcodeproj, sourcekitten, nimble
Fetched https://github.com/xcode-project-manager/xcodeproj.git (1.33s)
[27588/31328] Fetching sourcekitten, nimble
Fetched https://github.com/Quick/Nimble.git (1.12s)
Fetched https://github.com/jpsim/SourceKitten.git (1.18s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.15.0 (0.93s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.22.0 (1.91s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (0.32s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (0.31s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (1.15s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.1 (0.27s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.6 (0.26s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.15.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.6
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.22.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
Building for debugging...
[0/17] Compiling Clang_C Clang_C.m
[1/17] Compiling SourceKit SourceKit.m
[2/17] Compiling writer.c
[3/17] Compiling reader.c
[4/17] Compiling parser.c
[5/17] Compiling api.c
[6/26] Compiling emitter.c
[7/26] Compiling scanner.c
[9/41] Compiling Result ResultProtocol.swift
[10/41] Compiling Result NoError.swift
[11/41] Compiling Result Result.swift
[12/41] Compiling Yams Node.Scalar.swift
[13/41] Compiling Yams Node.Sequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/43] Compiling SWXMLHash shim.swift
[15/43] Emitting module Result
[16/43] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:296:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:314:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.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/SWXMLHash/Source/SWXMLHash.swift:324:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:336:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:393:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:406:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.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/SWXMLHash/Source/SWXMLHash.swift:412:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428: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/SWXMLHash/Source/SWXMLHash.swift:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
[17/43] Compiling SWXMLHash SWXMLHash+TypeConversion.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
[18/43] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:180:11: error: cannot find type 'XMLParserDelegate' in scope
extension XMLParserDelegate {
          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:296:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:314:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.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/SWXMLHash/Source/SWXMLHash.swift:324:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:336:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:393:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:406:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.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/SWXMLHash/Source/SWXMLHash.swift:412:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: Foundation.XMLParser,
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
                          ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428: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/SWXMLHash/Source/SWXMLHash.swift:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
                                                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:290:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let parser = Foundation.XMLParser(data: data!)
                     ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:381:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let parser = Foundation.XMLParser(data: data)
                     ^~~~~~~~~~~~~~~~~~~~
[19/43] Compiling Result AnyError.swift
[22/45] Compiling Yams String+Yams.swift
[23/45] Compiling Yams Tag.swift
[24/45] Compiling Yams Emitter.swift
[25/45] Compiling Yams Encoder.swift
[26/45] Compiling Yams Constructor.swift
[27/45] Compiling Yams Decoder.swift
[28/45] Compiling Yams Mark.swift
[29/45] Compiling Yams Node.Mapping.swift
[30/45] Emitting module Yams
error: fatalError
[30/45] Wrapping AST for Result for debugging
BUILD FAILURE 5.9 linux

Build Machine: Linux 1