Build Information
Failed to build Prelude, reference 0.0.6 (cf08b0
), with Swift 6.1 for Linux on 27 Apr 2025 21:23:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/JustinGuedes/prelude.git
https://github.com/JustinGuedes/prelude.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Prelude",
"name" : "Prelude",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Prelude",
"targets" : [
"Prelude"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PreludeTests",
"module_type" : "SwiftTarget",
"name" : "PreludeTests",
"path" : "Tests/PreludeTests",
"sources" : [
"Extensions/SequenceTests.swift"
],
"target_dependencies" : [
"Prelude"
],
"type" : "test"
},
{
"c99name" : "Prelude",
"module_type" : "SwiftTarget",
"name" : "Prelude",
"path" : "Sources/Prelude",
"product_memberships" : [
"Prelude"
],
"sources" : [
"Extensions/Array.swift",
"Extensions/Date.swift",
"Extensions/Sequence.swift",
"Extensions/String.swift",
"Extensions/UIDevice.swift",
"PropertyWrappers/Default/Default.swift",
"PropertyWrappers/Default/DefaultArray.swift",
"PropertyWrappers/Default/DefaultBool.swift",
"PropertyWrappers/Default/DefaultCodable.swift",
"Utilities/XMLDecoder/XMLDecoder.swift",
"Utilities/XMLDecoder/XMLDecoderKeyedDecodingContainer.swift",
"Utilities/XMLDecoder/XMLDecoderSingleValueDecodingContainer.swift",
"Utilities/XMLDecoder/XMLDecoderUnkeyedDecodingContainer.swift",
"Utilities/XMLDecoder/XMLElement.swift",
"Utilities/XMLDecoder/XMLParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Prelude DefaultCodable.swift
[4/17] Compiling Prelude XMLDecoder.swift
[5/18] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[6/18] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
[7/18] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[8/18] Compiling Prelude XMLElement.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/18] Compiling Prelude UIDevice.swift
[10/18] Compiling Prelude Default.swift
[11/18] Compiling Prelude Sequence.swift
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:10:19: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | var result: [T] = []
10 | try await withThrowingTaskGroup(of: Optional<T>.self) { group in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | for element in self {
12 | group.addTask {
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:23: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | var result: [T] = []
10 | try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 | for element in self {
12 | group.addTask {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | try await transform(element)
14 | }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:29:19: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 | var result: [T] = []
29 | try await withThrowingTaskGroup(of: Array<T>.self) { group in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 | for element in self {
31 | group.addTask {
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:23: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 | var result: [T] = []
29 | try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 | for element in self {
31 | group.addTask {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | try await transform(element)
33 | }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
10 | try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 | for element in self {
12 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 | try await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
14 | }
15 | }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 | for element in self {
31 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | try await transform(element)
| | `- note: closure captures non-Sendable 'element'
| `- note: closure captures non-Sendable 'transform'
33 | }
34 | }
[12/18] Compiling Prelude String.swift
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:10:19: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | var result: [T] = []
10 | try await withThrowingTaskGroup(of: Optional<T>.self) { group in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | for element in self {
12 | group.addTask {
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:23: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | var result: [T] = []
10 | try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 | for element in self {
12 | group.addTask {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | try await transform(element)
14 | }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:29:19: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 | var result: [T] = []
29 | try await withThrowingTaskGroup(of: Array<T>.self) { group in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 | for element in self {
31 | group.addTask {
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:23: warning: type 'T' does not conform to the 'Sendable' protocol; 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] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 | var result: [T] = []
29 | try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 | for element in self {
31 | group.addTask {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | try await transform(element)
33 | }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
10 | try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 | for element in self {
12 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 | try await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
14 | }
15 | }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 | for element in self {
31 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | try await transform(element)
| | `- note: closure captures non-Sendable 'element'
| `- note: closure captures non-Sendable 'transform'
33 | }
34 | }
[13/18] Compiling Prelude Array.swift
[14/18] Compiling Prelude Date.swift
[15/18] Compiling Prelude DefaultArray.swift
[16/18] Compiling Prelude DefaultBool.swift
[17/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
[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()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Prelude DefaultCodable.swift
[3/16] Compiling Prelude XMLDecoder.swift
[4/16] Compiling Prelude DefaultArray.swift
[5/16] Compiling Prelude DefaultBool.swift
[6/17] Compiling Prelude UIDevice.swift
[7/17] Compiling Prelude Default.swift
[8/17] Compiling Prelude Sequence.swift
[9/17] Compiling Prelude String.swift
[10/17] 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()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/17] Compiling Prelude Array.swift
[12/17] Compiling Prelude Date.swift
[13/17] 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/17] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[15/17] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
[16/17] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[17/17] Compiling Prelude XMLElement.swift
BUILD FAILURE 6.1 linux