The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Prelude, reference main (cf08b0), with Swift 6.2 (beta) for Linux on 20 Jun 2025 14:15:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JustinGuedes/prelude.git
Reference: main
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/JustinGuedes/prelude
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cf08b07 Add support for Apple Watch
Cloned https://github.com/JustinGuedes/prelude.git
Revision (git rev-parse @):
cf08b076457a55b193ff54881a277391a0c3e1dd
SUCCESS checkout https://github.com/JustinGuedes/prelude.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/JustinGuedes/prelude.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Prelude Sequence.swift
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:8:23: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 6 | public extension Sequence {
 7 |
 8 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> T?) async rethrows -> [T] {
   |                       `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 9 |         var result: [T] = []
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:27:23: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 |     }
26 |
27 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> [T]) async rethrows -> [T] {
   |                       `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |         var result: [T] = []
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
[4/17] Compiling Prelude String.swift
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:8:23: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 6 | public extension Sequence {
 7 |
 8 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> T?) async rethrows -> [T] {
   |                       `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 9 |         var result: [T] = []
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:27:23: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 |     }
26 |
27 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> [T]) async rethrows -> [T] {
   |                       `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |         var result: [T] = []
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
[5/18] Compiling Prelude DefaultCodable.swift
[6/18] Compiling Prelude XMLDecoder.swift
[7/18] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[8/18] Compiling Prelude XMLElement.swift
[9/18] Compiling Prelude UIDevice.swift
[10/18] Compiling Prelude Default.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[12/18] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
[13/18] Compiling Prelude DefaultArray.swift
[14/18] Compiling Prelude DefaultBool.swift
[15/18] 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.
23 |     }
24 |
25 |     public func parserDidStartDocument(_ parser: XMLParser) {
   |                                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
26 |         path = [document]
27 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
27 |     }
28 |
29 |     public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
30 |         let parent = path.last
31 |         let element = XMLElement(name: elementName, attributes: attributeDict)
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
34 |     }
35 |
36 |     public func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
37 |         let element = path.last
38 |         element?.value = string
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
39 |     }
40 |
41 |     public func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
42 |         let element = path.last
43 |         element?.value = String(data: CDATABlock, encoding: .utf8)
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
44 |     }
45 |
46 |     public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
47 |         path.removeLast()
48 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
48 |     }
49 |
50 |     public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
51 |         error = parseError
52 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
52 |     }
53 |
54 |     public func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
55 |         error = validationError
56 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:3:42: error: cannot find type 'XMLParserDelegate' in scope
 1 | import Foundation
 2 |
 3 | public class XMLElementParser: NSObject, XMLParserDelegate {
   |                                          `- error: cannot find type 'XMLParserDelegate' in scope
 4 |
 5 |     private var document: XMLElement
[16/18] Compiling Prelude Array.swift
[17/18] Compiling Prelude Date.swift
[18/18] 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.
23 |     }
24 |
25 |     public func parserDidStartDocument(_ parser: XMLParser) {
   |                                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
26 |         path = [document]
27 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
27 |     }
28 |
29 |     public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
30 |         let parent = path.last
31 |         let element = XMLElement(name: elementName, attributes: attributeDict)
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
34 |     }
35 |
36 |     public func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
37 |         let element = path.last
38 |         element?.value = string
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
39 |     }
40 |
41 |     public func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
42 |         let element = path.last
43 |         element?.value = String(data: CDATABlock, encoding: .utf8)
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
44 |     }
45 |
46 |     public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
47 |         path.removeLast()
48 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
48 |     }
49 |
50 |     public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
51 |         error = parseError
52 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/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.
52 |     }
53 |
54 |     public func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
55 |         error = validationError
56 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prelude/Utilities/XMLDecoder/XMLParser.swift:3:42: error: cannot find type 'XMLParserDelegate' in scope
 1 | import Foundation
 2 |
 3 | public class XMLElementParser: NSObject, XMLParserDelegate {
   |                                          `- error: cannot find type 'XMLParserDelegate' in scope
 4 |
 5 |     private var document: XMLElement
/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
13 |
14 |     public func parse(_ data: Data) throws -> XMLElement {
15 |         let parser = XMLParser(data: data)
   |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |         parser.delegate = self
17 |         parser.parse()
BUILD FAILURE 6.2 linux