Build Information
Successful build of XMLParsing, reference 0.1.0 (8853c2
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 21:01:46 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MihaelIsaev/XMLParsing.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MihaelIsaev/XMLParsing
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 8853c2c Update Package.swift
Cloned https://github.com/MihaelIsaev/XMLParsing.git
Revision (git rev-parse @):
8853c2c4b6332095d1f5b1db6a4a9b99431cc233
SUCCESS checkout https://github.com/MihaelIsaev/XMLParsing.git at 0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/MihaelIsaev/XMLParsing.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/14] Compiling XMLParsing XMLKey.swift
[4/15] Compiling XMLParsing XMLDecodingStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLKeyedDecodingContainer.swift:39:36: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
37 |
38 | public var allKeys: [Key] {
39 | return self.container.keys.flatMap { Key(stringValue: $0) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
40 | }
41 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/15] Compiling XMLParsing XMLKeyedDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLParsing/Decoder/XMLKeyedDecodingContainer.swift:39:36: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
37 |
38 | public var allKeys: [Key] {
39 | return self.container.keys.flatMap { Key(stringValue: $0) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
40 | }
41 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/15] Compiling XMLParsing XMLReferencingEncoder.swift
[7/15] Compiling XMLParsing EncodingErrorExtension.swift
/Users/admin/builder/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 {
[8/15] Emitting module XMLParsing
/Users/admin/builder/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))
/Users/admin/builder/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"
/Users/admin/builder/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 {
[9/15] Compiling XMLParsing XMLUnkeyedDecodingContainer.swift
[10/15] Compiling XMLParsing DecodingErrorExtension.swift
/Users/admin/builder/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))
/Users/admin/builder/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"
[11/15] Compiling XMLParsing XMLDecoder.swift
/Users/admin/builder/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))
/Users/admin/builder/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"
[12/15] Compiling XMLParsing ISO8601DateFormatter.swift
[13/15] Compiling XMLParsing XMLEncodingStorage.swift
[14/15] Compiling XMLParsing XMLEncoder.swift
[15/15] Compiling XMLParsing XMLStackParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLParsing/XMLStackParser.swift:103:52: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
101 | element.attributes = (object[_XMLElement.attributesKey] as? [String: Any])?.mapValues({ String(describing: $0) }) ?? [:]
102 |
103 | let objects: [(String, NSObject)] = object.flatMap({
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
104 | guard let key = $0 as? String, let value = $1 as? NSObject, key != _XMLElement.attributesKey else { return nil }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLParsing/XMLStackParser.swift:129:30: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
127 |
128 | fileprivate static func createElement(parentElement: _XMLElement, key: String, object: NSArray) {
129 | let objects = object.flatMap({ $0 as? NSObject })
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
130 | objects.forEach({
131 | if let dict = $0 as? NSDictionary {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.38s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "XMLParsing",
"name" : "XMLParsing",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XMLParsing",
"targets" : [
"XMLParsing"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XMLParsingTests",
"module_type" : "SwiftTarget",
"name" : "XMLParsingTests",
"path" : "Tests/XMLParsingTests",
"sources" : [
"XMLParsingTests.swift"
],
"target_dependencies" : [
"XMLParsing"
],
"type" : "test"
},
{
"c99name" : "XMLParsing",
"module_type" : "SwiftTarget",
"name" : "XMLParsing",
"path" : "Sources/XMLParsing",
"product_memberships" : [
"XMLParsing"
],
"sources" : [
"Decoder/DecodingErrorExtension.swift",
"Decoder/XMLDecoder.swift",
"Decoder/XMLDecodingStorage.swift",
"Decoder/XMLKeyedDecodingContainer.swift",
"Decoder/XMLUnkeyedDecodingContainer.swift",
"Encoder/EncodingErrorExtension.swift",
"Encoder/XMLEncoder.swift",
"Encoder/XMLEncodingStorage.swift",
"Encoder/XMLReferencingEncoder.swift",
"ISO8601DateFormatter.swift",
"XMLKey.swift",
"XMLStackParser.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.