Build Information
Failed to build Prelude, reference 0.0.6 (cf08b0
), with Swift 6.2 (beta) for Android on 20 Jun 2025 14:16:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JustinGuedes/prelude.git
Reference: 0.0.6
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
* tag 0.0.6 -> FETCH_HEAD
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 0.0.6
========================================
Build
========================================
Selected platform: android
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/17] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[4/17] Compiling Prelude XMLElement.swift
[5/18] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[6/18] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
[7/18] Compiling Prelude UIDevice.swift
[8/18] Compiling Prelude Default.swift
[9/18] Compiling Prelude DefaultCodable.swift
[10/18] Compiling Prelude XMLDecoder.swift
[11/18] Compiling Prelude Array.swift
[12/18] Compiling Prelude Date.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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
[14/18] 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
[15/18] 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
[16/18] Compiling Prelude DefaultArray.swift
[17/18] Compiling Prelude DefaultBool.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 android