The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prelude with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.22.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JustinGuedes/prelude.git
Reference: main
Cloned https://github.com/JustinGuedes/prelude.git into spi-builder-workspace
SUCCESS checkout https://github.com/JustinGuedes/prelude.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/15] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[2/15] Compiling Prelude XMLElement.swift
[3/16] Compiling Prelude XMLParser.swift
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:25:50: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parserDidStartDocument(_ parser: XMLParser) {
                                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:29:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:36:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public 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/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:41:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public 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/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:46:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:50:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public 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/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:54:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:3:42: error: cannot find type 'XMLParserDelegate' in scope
public class XMLElementParser: NSObject, XMLParserDelegate {
                                         ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:15:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let parser = XMLParser(data: data)
                     ^~~~~~~~~
[4/16] Compiling Prelude DefaultCodable.swift
[5/16] Compiling Prelude XMLDecoder.swift
[6/16] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[7/16] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/16] Emitting module Prelude
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:25:50: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parserDidStartDocument(_ parser: XMLParser) {
                                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:29:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:36:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public 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/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:41:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public 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/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:46:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:50:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public 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/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:54:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
    public func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:3:42: error: cannot find type 'XMLParserDelegate' in scope
public class XMLElementParser: NSObject, XMLParserDelegate {
                                         ^~~~~~~~~~~~~~~~~
[9/16] Compiling Prelude Sequence.swift
[10/16] Compiling Prelude String.swift
[11/16] Compiling Prelude Array.swift
[12/16] Compiling Prelude Date.swift
[13/16] Compiling Prelude UIDevice.swift
[14/16] Compiling Prelude Default.swift
[15/16] Compiling Prelude DefaultArray.swift
[16/16] Compiling Prelude DefaultBool.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2