The Swift Package Index logo.Swift Package Index

Build Information

Failed to build templar with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/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/spectraldragon/templar.git
Reference: 1.0.1
Cloned https://github.com/spectraldragon/templar.git into spi-builder-workspace
SUCCESS checkout https://github.com/spectraldragon/templar.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-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/tuist/xcodeproj.git
[1/4863] Fetching swiftshell
[342/9937] Fetching swiftshell, swiftcli
[9938/29325] Fetching swiftshell, swiftcli, xcodeproj
Fetching https://github.com/kylef/Spectre.git
Fetched https://github.com/jakeheis/SwiftCLI (1.10s)
Fetched https://github.com/kareman/SwiftShell (1.10s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/tuist/xcodeproj.git (1.12s)
Fetching https://github.com/tadija/AEXML
[1/2026] Fetching aexml
[1197/3047] Fetching aexml, spectre
Fetched https://github.com/kylef/Spectre.git (0.27s)
Fetching https://github.com/onevcat/Rainbow
Fetched https://github.com/tadija/AEXML (0.25s)
Fetching https://github.com/JohnSundell/Files
[1/1110] Fetching rainbow
[1111/2341] Fetching rainbow, files
Fetched https://github.com/onevcat/Rainbow (0.23s)
Fetching https://github.com/kylef/PathKit
Fetched https://github.com/JohnSundell/Files (0.24s)
[1/8606] Fetching yams
[1637/10011] Fetching yams, pathkit
Fetched https://github.com/kylef/PathKit (0.22s)
[1980/8606] Fetching yams
Fetched https://github.com/jpsim/Yams.git (1.27s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.4 (0.93s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.2.1 (0.29s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.2.2 (0.31s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.1 (0.32s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.5.0 (0.35s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.30s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.30s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (2.81s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.51s)
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/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.2.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/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.2.1
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.5.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/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.4
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Building for debugging...
[0/15] Compiling writer.c
[1/15] Compiling reader.c
[2/15] Compiling parser.c
[3/15] Compiling api.c
[4/37] Compiling emitter.c
[5/56] Compiling scanner.c
[7/71] Compiling Yams String+Yams.swift
[8/71] Compiling Yams Tag.swift
[9/71] Compiling SwiftCLI Parser.swift
[10/71] Compiling Yams Constructor.swift
[11/71] Compiling Yams Decoder.swift
[12/74] Compiling Yams Emitter.swift
[13/74] Compiling Yams Encoder.swift
[14/74] Emitting module Rainbow
[15/74] Compiling Rainbow StringGenerator.swift
[16/74] Compiling Rainbow Style.swift
[17/74] Compiling Rainbow String+Rainbow.swift
[18/74] Compiling Rainbow XcodeColorsSupport.swift
[19/74] Compiling SwiftCLI Validation.swift
[20/74] Compiling SwiftCLI VersionCommand.swift
[21/74] Compiling Yams Mark.swift
[22/74] Compiling Yams Node.Mapping.swift
[25/76] Compiling Rainbow Rainbow.swift
[26/76] Compiling Yams Node.Scalar.swift
[27/76] Compiling Yams Node.Sequence.swift
[28/76] Compiling AEXML Error.swift
[29/76] Compiling AEXML Options.swift
[30/76] Compiling Yams shim.swift
[31/76] Compiling SwiftCLI Term.swift
[33/76] Compiling SwiftCLI Path.swift
[34/76] Compiling SwiftCLI Stream.swift
[36/76] Compiling Yams Representer.swift
[37/76] Compiling Yams Resolver.swift
[38/76] 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)
                     ^~~~~~~~~
[39/76] Emitting module Yams
[42/76] Compiling Yams Node.swift
[43/76] Compiling Yams Parser.swift
[53/76] Emitting module SwiftCLI
[57/76] Compiling AEXML Element.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/79] Compiling AEXML Document.swift
[63/79] 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 {
                                      ^~~~~~~~~~~~~~~~~
[66/80] Compiling Yams YamlError.swift
error: fatalError
[69/82] Emitting module PathKit
[70/82] Compiling PathKit PathKit.swift
[70/82] Wrapping AST for Rainbow for debugging
[70/82] Wrapping AST for SwiftCLI for debugging
[71/82] Emitting module Files
BUILD FAILURE 5.9 linux

Build Machine: Linux 1