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 XMLParsing with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/dingwilson/XMLParsing.git
Reference: master
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/dingwilson/XMLParsing
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4bdaa51 Updated podspec to 0.0.2
Cloned https://github.com/dingwilson/XMLParsing.git
Revision (git rev-parse @):
4bdaa51c4871654f8cae31f6683e3eaa635b36df
SUCCESS checkout https://github.com/dingwilson/XMLParsing.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dingwilson/XMLParsing.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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/14] Compiling XMLParsing XMLKey.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] Emitting module XMLParsing
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/DecodingErrorExtension.swift:22:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
20 |     /// - parameter reality: The value that was encountered instead of the expected type.
21 |     /// - returns: A `DecodingError` with the appropriate path and debug description.
22 |     internal static func _typeMismatch(at path: [CodingKey], expectation: Any.Type, reality: Any) -> DecodingError {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
23 |         let description = "Expected to decode \(expectation) but found \(_typeDescription(of: reality)) instead."
24 |         return .typeMismatch(expectation, Context(codingPath: path, debugDescription: description))
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/DecodingErrorExtension.swift:32:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
30 |     /// - returns: A string describing `value`.
31 |     /// - precondition: `value` is one of the types below.
32 |     internal static func _typeDescription(of value: Any) -> String {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
33 |         if value is NSNull {
34 |             return "a null value"
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/EncodingErrorExtension.swift:21:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
19 |     /// - parameter path: The path of `CodingKey`s taken to encode this value.
20 |     /// - returns: An `EncodingError` with the appropriate path and debug description.
21 |     internal static func _invalidFloatingPointValue<T : FloatingPoint>(_ value: T, at codingPath: [CodingKey]) -> EncodingError {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
22 |         let valueDescription: String
23 |         if value == T.infinity {
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/XMLEncoder.swift:29:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     // MARK: Options
 18 |     /// The formatting of the output XML data.
 19 |     public struct OutputFormatting : OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 20 |         /// The format's default value.
 21 |         public let rawValue: UInt
    :
 27 |
 28 |         /// Produce human-readable XML with indented output.
 29 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
    |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Produce XML with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/XMLEncoder.swift:33:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     // MARK: Options
 18 |     /// The formatting of the output XML data.
 19 |     public struct OutputFormatting : OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 20 |         /// The format's default value.
 21 |         public let rawValue: UInt
    :
 31 |         /// Produce XML with dictionary keys sorted in lexicographic order.
 32 |         @available(OSX 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
 33 |         public static let sortedKeys    = OutputFormatting(rawValue: 1 << 1)
    |                           |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |     }
 35 |
/host/spi-builder-workspace/Sources/XMLParsing/ISO8601DateFormatter.swift:17:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
16 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | internal var _iso8601Formatter: ISO8601DateFormatter = {
   |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     let formatter = ISO8601DateFormatter()
19 |     formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/XMLParsing/XMLStackParser.swift:243:43: error: cannot find type 'XMLParserDelegate' in scope
241 | }
242 |
243 | internal class _XMLStackParser: NSObject, XMLParserDelegate {
    |                                           `- error: cannot find type 'XMLParserDelegate' in scope
244 |     var root: _XMLElement?
245 |     var stack = [_XMLElement]()
/host/spi-builder-workspace/Sources/XMLParsing/XMLStackParser.swift:278:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
276 |     }
277 |
278 |     func parserDidStartDocument(_ parser: XMLParser) {
    |                                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
279 |         root = nil
280 |         stack = [_XMLElement]()
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/XMLParsing/XMLStackParser.swift:283:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
281 |     }
282 |
283 |     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.
284 |         let node = _XMLElement(key: elementName)
285 |         node.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/XMLParsing/XMLStackParser.swift:298:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
296 |     }
297 |
298 |     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.
299 |         if let poppedNode = stack.popLast(){
300 |             if let content = poppedNode.value?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) {
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/XMLParsing/XMLStackParser.swift:317:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 |     }
316 |
317 |     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.
318 |         currentNode?.value = (currentNode?.value ?? "") + string
319 |     }
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/XMLParsing/XMLStackParser.swift:321:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
319 |     }
320 |
321 |     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.
322 |         if let string = String(data: CDATABlock, encoding: .utf8) {
323 |             currentNode?.value = (currentNode?.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/XMLParsing/XMLStackParser.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 |     }
326 |
327 |     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.
328 |         print(parseError)
329 |     }
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
[5/15] Compiling XMLParsing XMLReferencingEncoder.swift
[6/15] Compiling XMLParsing ISO8601DateFormatter.swift
/host/spi-builder-workspace/Sources/XMLParsing/ISO8601DateFormatter.swift:17:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
16 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | internal var _iso8601Formatter: ISO8601DateFormatter = {
   |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     let formatter = ISO8601DateFormatter()
19 |     formatter.formatOptions = .withInternetDateTime
[7/15] Compiling XMLParsing XMLDecodingStorage.swift
[8/15] Compiling XMLParsing XMLKeyedDecodingContainer.swift
[9/15] Compiling XMLParsing DecodingErrorExtension.swift
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/DecodingErrorExtension.swift:22:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
20 |     /// - parameter reality: The value that was encountered instead of the expected type.
21 |     /// - returns: A `DecodingError` with the appropriate path and debug description.
22 |     internal static func _typeMismatch(at path: [CodingKey], expectation: Any.Type, reality: Any) -> DecodingError {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
23 |         let description = "Expected to decode \(expectation) but found \(_typeDescription(of: reality)) instead."
24 |         return .typeMismatch(expectation, Context(codingPath: path, debugDescription: description))
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/DecodingErrorExtension.swift:32:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
30 |     /// - returns: A string describing `value`.
31 |     /// - precondition: `value` is one of the types below.
32 |     internal static func _typeDescription(of value: Any) -> String {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
33 |         if value is NSNull {
34 |             return "a null value"
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:353:26: error: cannot find 'kCFBooleanTrue' in scope
351 |         let number = NSNumber(value: value)
352 |
353 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
354 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
355 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:353:53: error: cannot find 'kCFBooleanFalse' in scope
351 |         let number = NSNumber(value: value)
352 |
353 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
354 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
355 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:376:26: error: cannot find 'kCFBooleanTrue' in scope
374 |         let number = NSNumber(value: value)
375 |
376 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
377 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
378 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:376:53: error: cannot find 'kCFBooleanFalse' in scope
374 |         let number = NSNumber(value: value)
375 |
376 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
377 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
378 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:399:26: error: cannot find 'kCFBooleanTrue' in scope
397 |         let number = NSNumber(value: value)
398 |
399 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
400 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
401 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:399:53: error: cannot find 'kCFBooleanFalse' in scope
397 |         let number = NSNumber(value: value)
398 |
399 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
400 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
401 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:422:26: error: cannot find 'kCFBooleanTrue' in scope
420 |         let number = NSNumber(value: value)
421 |
422 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
423 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
424 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:422:53: error: cannot find 'kCFBooleanFalse' in scope
420 |         let number = NSNumber(value: value)
421 |
422 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
423 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
424 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:445:26: error: cannot find 'kCFBooleanTrue' in scope
443 |         let number = NSNumber(value: value)
444 |
445 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
446 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
447 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:445:53: error: cannot find 'kCFBooleanFalse' in scope
443 |         let number = NSNumber(value: value)
444 |
445 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
446 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
447 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:468:26: error: cannot find 'kCFBooleanTrue' in scope
466 |         let number = NSNumber(value: value)
467 |
468 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
469 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
470 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:468:53: error: cannot find 'kCFBooleanFalse' in scope
466 |         let number = NSNumber(value: value)
467 |
468 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
469 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
470 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:491:26: error: cannot find 'kCFBooleanTrue' in scope
489 |         let number = NSNumber(value: value)
490 |
491 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
492 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
493 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:491:53: error: cannot find 'kCFBooleanFalse' in scope
489 |         let number = NSNumber(value: value)
490 |
491 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
492 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
493 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:514:26: error: cannot find 'kCFBooleanTrue' in scope
512 |         let number = NSNumber(value: value)
513 |
514 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
515 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
516 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:514:53: error: cannot find 'kCFBooleanFalse' in scope
512 |         let number = NSNumber(value: value)
513 |
514 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
515 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
516 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:537:26: error: cannot find 'kCFBooleanTrue' in scope
535 |         let number = NSNumber(value: value)
536 |
537 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
538 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
539 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:537:53: error: cannot find 'kCFBooleanFalse' in scope
535 |         let number = NSNumber(value: value)
536 |
537 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
538 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
539 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:560:26: error: cannot find 'kCFBooleanTrue' in scope
558 |         let number = NSNumber(value: value)
559 |
560 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
561 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
562 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:560:53: error: cannot find 'kCFBooleanFalse' in scope
558 |         let number = NSNumber(value: value)
559 |
560 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
561 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
562 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:580:30: error: cannot find 'kCFBooleanTrue' in scope
578 |             let number = NSNumber(value: value)
579 |
580 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                              `- error: cannot find 'kCFBooleanTrue' in scope
581 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
582 |             }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:580:57: error: cannot find 'kCFBooleanFalse' in scope
578 |             let number = NSNumber(value: value)
579 |
580 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                         `- error: cannot find 'kCFBooleanFalse' in scope
581 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
582 |             }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:610:30: error: cannot find 'kCFBooleanTrue' in scope
608 |         if let number = Decimal(string: string) as NSDecimalNumber? {
609 |
610 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                              `- error: cannot find 'kCFBooleanTrue' in scope
611 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
612 |             }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:610:57: error: cannot find 'kCFBooleanFalse' in scope
608 |         if let number = Decimal(string: string) as NSDecimalNumber? {
609 |
610 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                         `- error: cannot find 'kCFBooleanFalse' in scope
611 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
612 |             }
/host/spi-builder-workspace/Sources/XMLParsing/ISO8601DateFormatter.swift:17:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
16 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | internal var _iso8601Formatter: ISO8601DateFormatter = {
   |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     let formatter = ISO8601DateFormatter()
19 |     formatter.formatOptions = .withInternetDateTime
[10/15] Compiling XMLParsing XMLDecoder.swift
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/DecodingErrorExtension.swift:22:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
20 |     /// - parameter reality: The value that was encountered instead of the expected type.
21 |     /// - returns: A `DecodingError` with the appropriate path and debug description.
22 |     internal static func _typeMismatch(at path: [CodingKey], expectation: Any.Type, reality: Any) -> DecodingError {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
23 |         let description = "Expected to decode \(expectation) but found \(_typeDescription(of: reality)) instead."
24 |         return .typeMismatch(expectation, Context(codingPath: path, debugDescription: description))
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/DecodingErrorExtension.swift:32:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
30 |     /// - returns: A string describing `value`.
31 |     /// - precondition: `value` is one of the types below.
32 |     internal static func _typeDescription(of value: Any) -> String {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
33 |         if value is NSNull {
34 |             return "a null value"
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:353:26: error: cannot find 'kCFBooleanTrue' in scope
351 |         let number = NSNumber(value: value)
352 |
353 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
354 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
355 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:353:53: error: cannot find 'kCFBooleanFalse' in scope
351 |         let number = NSNumber(value: value)
352 |
353 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
354 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
355 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:376:26: error: cannot find 'kCFBooleanTrue' in scope
374 |         let number = NSNumber(value: value)
375 |
376 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
377 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
378 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:376:53: error: cannot find 'kCFBooleanFalse' in scope
374 |         let number = NSNumber(value: value)
375 |
376 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
377 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
378 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:399:26: error: cannot find 'kCFBooleanTrue' in scope
397 |         let number = NSNumber(value: value)
398 |
399 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
400 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
401 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:399:53: error: cannot find 'kCFBooleanFalse' in scope
397 |         let number = NSNumber(value: value)
398 |
399 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
400 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
401 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:422:26: error: cannot find 'kCFBooleanTrue' in scope
420 |         let number = NSNumber(value: value)
421 |
422 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
423 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
424 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:422:53: error: cannot find 'kCFBooleanFalse' in scope
420 |         let number = NSNumber(value: value)
421 |
422 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
423 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
424 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:445:26: error: cannot find 'kCFBooleanTrue' in scope
443 |         let number = NSNumber(value: value)
444 |
445 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
446 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
447 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:445:53: error: cannot find 'kCFBooleanFalse' in scope
443 |         let number = NSNumber(value: value)
444 |
445 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
446 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
447 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:468:26: error: cannot find 'kCFBooleanTrue' in scope
466 |         let number = NSNumber(value: value)
467 |
468 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
469 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
470 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:468:53: error: cannot find 'kCFBooleanFalse' in scope
466 |         let number = NSNumber(value: value)
467 |
468 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
469 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
470 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:491:26: error: cannot find 'kCFBooleanTrue' in scope
489 |         let number = NSNumber(value: value)
490 |
491 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
492 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
493 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:491:53: error: cannot find 'kCFBooleanFalse' in scope
489 |         let number = NSNumber(value: value)
490 |
491 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
492 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
493 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:514:26: error: cannot find 'kCFBooleanTrue' in scope
512 |         let number = NSNumber(value: value)
513 |
514 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
515 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
516 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:514:53: error: cannot find 'kCFBooleanFalse' in scope
512 |         let number = NSNumber(value: value)
513 |
514 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
515 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
516 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:537:26: error: cannot find 'kCFBooleanTrue' in scope
535 |         let number = NSNumber(value: value)
536 |
537 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
538 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
539 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:537:53: error: cannot find 'kCFBooleanFalse' in scope
535 |         let number = NSNumber(value: value)
536 |
537 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
538 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
539 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:560:26: error: cannot find 'kCFBooleanTrue' in scope
558 |         let number = NSNumber(value: value)
559 |
560 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                          `- error: cannot find 'kCFBooleanTrue' in scope
561 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
562 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:560:53: error: cannot find 'kCFBooleanFalse' in scope
558 |         let number = NSNumber(value: value)
559 |
560 |         guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
561 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
562 |         }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:580:30: error: cannot find 'kCFBooleanTrue' in scope
578 |             let number = NSNumber(value: value)
579 |
580 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                              `- error: cannot find 'kCFBooleanTrue' in scope
581 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
582 |             }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:580:57: error: cannot find 'kCFBooleanFalse' in scope
578 |             let number = NSNumber(value: value)
579 |
580 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                         `- error: cannot find 'kCFBooleanFalse' in scope
581 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
582 |             }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:610:30: error: cannot find 'kCFBooleanTrue' in scope
608 |         if let number = Decimal(string: string) as NSDecimalNumber? {
609 |
610 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                              `- error: cannot find 'kCFBooleanTrue' in scope
611 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
612 |             }
/host/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLDecoder.swift:610:57: error: cannot find 'kCFBooleanFalse' in scope
608 |         if let number = Decimal(string: string) as NSDecimalNumber? {
609 |
610 |             guard number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
    |                                                         `- error: cannot find 'kCFBooleanFalse' in scope
611 |                 throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
612 |             }
/host/spi-builder-workspace/Sources/XMLParsing/ISO8601DateFormatter.swift:17:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
16 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | internal var _iso8601Formatter: ISO8601DateFormatter = {
   |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     let formatter = ISO8601DateFormatter()
19 |     formatter.formatOptions = .withInternetDateTime
[11/15] Compiling XMLParsing XMLUnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/EncodingErrorExtension.swift:21:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
19 |     /// - parameter path: The path of `CodingKey`s taken to encode this value.
20 |     /// - returns: An `EncodingError` with the appropriate path and debug description.
21 |     internal static func _invalidFloatingPointValue<T : FloatingPoint>(_ value: T, at codingPath: [CodingKey]) -> EncodingError {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
22 |         let valueDescription: String
23 |         if value == T.infinity {
[12/15] Compiling XMLParsing EncodingErrorExtension.swift
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/EncodingErrorExtension.swift:21:5: warning: 'internal' modifier is redundant for static method declared in an internal extension
19 |     /// - parameter path: The path of `CodingKey`s taken to encode this value.
20 |     /// - returns: An `EncodingError` with the appropriate path and debug description.
21 |     internal static func _invalidFloatingPointValue<T : FloatingPoint>(_ value: T, at codingPath: [CodingKey]) -> EncodingError {
   |     `- warning: 'internal' modifier is redundant for static method declared in an internal extension
22 |         let valueDescription: String
23 |         if value == T.infinity {
[13/15] Compiling XMLParsing XMLEncoder.swift
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/XMLEncoder.swift:29:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     // MARK: Options
 18 |     /// The formatting of the output XML data.
 19 |     public struct OutputFormatting : OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 20 |         /// The format's default value.
 21 |         public let rawValue: UInt
    :
 27 |
 28 |         /// Produce human-readable XML with indented output.
 29 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
    |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Produce XML with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/XMLEncoder.swift:33:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     // MARK: Options
 18 |     /// The formatting of the output XML data.
 19 |     public struct OutputFormatting : OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 20 |         /// The format's default value.
 21 |         public let rawValue: UInt
    :
 31 |         /// Produce XML with dictionary keys sorted in lexicographic order.
 32 |         @available(OSX 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
 33 |         public static let sortedKeys    = OutputFormatting(rawValue: 1 << 1)
    |                           |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |     }
 35 |
/host/spi-builder-workspace/Sources/XMLParsing/ISO8601DateFormatter.swift:17:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
16 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | internal var _iso8601Formatter: ISO8601DateFormatter = {
   |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     let formatter = ISO8601DateFormatter()
19 |     formatter.formatOptions = .withInternetDateTime
[14/15] Compiling XMLParsing XMLEncodingStorage.swift
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/XMLEncoder.swift:29:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     // MARK: Options
 18 |     /// The formatting of the output XML data.
 19 |     public struct OutputFormatting : OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 20 |         /// The format's default value.
 21 |         public let rawValue: UInt
    :
 27 |
 28 |         /// Produce human-readable XML with indented output.
 29 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
    |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Produce XML with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/XMLParsing/Encoder/XMLEncoder.swift:33:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     // MARK: Options
 18 |     /// The formatting of the output XML data.
 19 |     public struct OutputFormatting : OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 20 |         /// The format's default value.
 21 |         public let rawValue: UInt
    :
 31 |         /// Produce XML with dictionary keys sorted in lexicographic order.
 32 |         @available(OSX 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
 33 |         public static let sortedKeys    = OutputFormatting(rawValue: 1 << 1)
    |                           |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |     }
 35 |
/host/spi-builder-workspace/Sources/XMLParsing/ISO8601DateFormatter.swift:17:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
16 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | internal var _iso8601Formatter: ISO8601DateFormatter = {
   |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     let formatter = ISO8601DateFormatter()
19 |     formatter.formatOptions = .withInternetDateTime
[15/15] Compiling XMLParsing XMLStackParser.swift
/host/spi-builder-workspace/Sources/XMLParsing/XMLStackParser.swift:243:43: error: cannot find type 'XMLParserDelegate' in scope
241 | }
242 |
243 | internal class _XMLStackParser: NSObject, XMLParserDelegate {
    |                                           `- error: cannot find type 'XMLParserDelegate' in scope
244 |     var root: _XMLElement?
245 |     var stack = [_XMLElement]()
/host/spi-builder-workspace/Sources/XMLParsing/XMLStackParser.swift:278:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
276 |     }
277 |
278 |     func parserDidStartDocument(_ parser: XMLParser) {
    |                                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
279 |         root = nil
280 |         stack = [_XMLElement]()
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/XMLParsing/XMLStackParser.swift:283:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
281 |     }
282 |
283 |     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.
284 |         let node = _XMLElement(key: elementName)
285 |         node.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/XMLParsing/XMLStackParser.swift:298:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
296 |     }
297 |
298 |     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.
299 |         if let poppedNode = stack.popLast(){
300 |             if let content = poppedNode.value?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) {
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/XMLParsing/XMLStackParser.swift:317:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 |     }
316 |
317 |     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.
318 |         currentNode?.value = (currentNode?.value ?? "") + string
319 |     }
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/XMLParsing/XMLStackParser.swift:321:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
319 |     }
320 |
321 |     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.
322 |         if let string = String(data: CDATABlock, encoding: .utf8) {
323 |             currentNode?.value = (currentNode?.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/XMLParsing/XMLStackParser.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 |     }
326 |
327 |     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.
328 |         print(parseError)
329 |     }
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/XMLParsing/XMLStackParser.swift:266:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
264 |
265 |     func parse(with data: Data) throws -> _XMLElement?  {
266 |         let xmlParser = XMLParser(data: data)
    |                         `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
267 |         xmlParser.delegate = self
268 |
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.