This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Prelude with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path:  $workDir
https://github.com/JustinGuedes/prelude.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 UIDevice.swift
[6/18] Compiling Prelude Default.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/18] Compiling Prelude Array.swift
[8/18] Compiling Prelude Date.swift
[9/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:13:31: warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |             for element in self {
12 |                 group.addTask {
13 |                     try await transform(element)
   |                               |- warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
14 |                 }
15 |             }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:13:41: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |             for element in self {
12 |                 group.addTask {
13 |                     try await transform(element)
   |                                         `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 |                 }
15 |             }
/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:32:31: warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> [T]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |             for element in self {
31 |                 group.addTask {
32 |                     try await transform(element)
   |                               |- warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> [T]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 |                 }
34 |             }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:32:41: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |             for element in self {
31 |                 group.addTask {
32 |                     try await transform(element)
   |                                         `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |                 }
34 |             }
[10/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:13:31: warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |             for element in self {
12 |                 group.addTask {
13 |                     try await transform(element)
   |                               |- warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
14 |                 }
15 |             }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:13:41: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |             for element in self {
12 |                 group.addTask {
13 |                     try await transform(element)
   |                                         `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 |                 }
15 |             }
/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:32:31: warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> [T]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |             for element in self {
31 |                 group.addTask {
32 |                     try await transform(element)
   |                               |- warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> [T]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 |                 }
34 |             }
/host/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:32:41: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |             for element in self {
31 |                 group.addTask {
32 |                     try await transform(element)
   |                                         `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |                 }
34 |             }
[11/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
[12/18] Compiling Prelude DefaultArray.swift
[13/18] Compiling Prelude DefaultBool.swift
[14/18] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[15/18] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
[16/18] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[17/18] Compiling Prelude XMLElement.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.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.