The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TrainInformationService with Swift 5.8 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dchakarov/TrainInformationService.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/dchakarov/TrainInformationService
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c87787c Merge pull request #4 from kiliszekmarcin/master
Cloned https://github.com/dchakarov/TrainInformationService.git
Revision (git rev-parse @):
c87787c3b3d1ed822b6026fa1b1f2d6c1be009bf
SUCCESS checkout https://github.com/dchakarov/TrainInformationService.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2766] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (0.29s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.4 (0.93s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.4
Building for debugging...
[1/4] Compiling SWXMLHash shim.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] 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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, 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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: 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
                 ^
[3/4] 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 {
          ^~~~~~~~~~~~~~~~~
[4/4] 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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, 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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: 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: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)
                     ^~~~~~~~~~~~~~~~~~~~
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] 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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, 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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: 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
                 ^
[2/3] 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 {
          ^~~~~~~~~~~~~~~~~
[3/3] 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:263:49: error: cannot find type 'XMLParserDelegate' in scope
class LazyXMLParser: NSObject, SimpleXmlParser, 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:362:49: error: cannot find type 'XMLParserDelegate' in scope
class FullXMLParser: 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: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)
                     ^~~~~~~~~~~~~~~~~~~~
BUILD FAILURE 5.8 linux

Build Machine: Linux 1