Build Information
Successful build of XMLCoder, reference main (efda1c
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 16:04:32 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CoreOffice/XMLCoder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CoreOffice/XMLCoder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at efda1cc Update unit tests to newer Swift versions (#270)
Cloned https://github.com/CoreOffice/XMLCoder.git
Revision (git rev-parse @):
efda1cc8e0a97d198b6d16d53ff73751bd93f801
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CoreOffice/XMLCoder.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "xmlcoder",
"name": "XMLCoder",
"url": "https://github.com/CoreOffice/XMLCoder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLCoder",
"dependencies": [
]
}
]
}
Fetching https://github.com/CoreOffice/XMLCoder.git
[1/10011] Fetching xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (1.23s)
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at main (efda1cc)
warning: '.resolve-product-dependencies': dependency 'xmlcoder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/CoreOffice/XMLCoder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/49] Emitting module XMLCoder
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A node's encoding type. Specifies how a node will be encoded.
42 | public enum NodeEncoding {
| `- note: consider making enum 'NodeEncoding' conform to the 'Sendable' protocol
43 | case attribute
44 | case element
45 | case both
46 |
47 | public static let `default`: NodeEncoding = .element
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
48 | }
49 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:261:20: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
261 | static let defaultEncoder: XMLEncodingClosure = { codableType, _ in
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
262 | guard let dynamicType = codableType as? DynamicNodeEncoding.Type else {
263 | return { _ in nil }
[4/54] Compiling XMLCoder XMLStackParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[5/54] Compiling XMLCoder DecodingErrorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[6/54] Compiling XMLCoder DynamicNodeDecoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[7/54] Compiling XMLCoder SingleValueDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[8/54] Compiling XMLCoder XMLChoiceDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[9/54] Compiling XMLCoder ISO8601DateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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/54] Compiling XMLCoder KeyedStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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/54] Compiling XMLCoder Metatypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[12/54] Compiling XMLCoder String+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[13/54] Compiling XMLCoder Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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/54] Compiling XMLCoder NullBox.swift
[15/54] Compiling XMLCoder SharedBox.swift
[16/54] Compiling XMLCoder SingleKeyedBox.swift
[17/54] Compiling XMLCoder StringBox.swift
[18/54] Compiling XMLCoder UIntBox.swift
[19/54] Compiling XMLCoder XMLChoiceCodingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
[20/54] Compiling XMLCoder XMLCoderElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
[21/54] Compiling XMLCoder XMLDocumentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
[22/54] Compiling XMLCoder XMLHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
[23/54] Compiling XMLCoder XMLKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
[24/54] Compiling XMLCoder URLBox.swift
[25/54] Compiling XMLCoder UnkeyedBox.swift
[26/54] Compiling XMLCoder ValueBox.swift
[27/54] Compiling XMLCoder Element.swift
[28/54] Compiling XMLCoder ElementAndAttribute.swift
[29/54] Compiling XMLCoder DynamicNodeEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A node's encoding type. Specifies how a node will be encoded.
42 | public enum NodeEncoding {
| `- note: consider making enum 'NodeEncoding' conform to the 'Sendable' protocol
43 | case attribute
44 | case element
45 | case both
46 |
47 | public static let `default`: NodeEncoding = .element
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
48 | }
49 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:261:20: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
261 | static let defaultEncoder: XMLEncodingClosure = { codableType, _ in
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
262 | guard let dynamicType = codableType as? DynamicNodeEncoding.Type else {
263 | return { _ in nil }
[30/54] Compiling XMLCoder EncodingErrorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A node's encoding type. Specifies how a node will be encoded.
42 | public enum NodeEncoding {
| `- note: consider making enum 'NodeEncoding' conform to the 'Sendable' protocol
43 | case attribute
44 | case element
45 | case both
46 |
47 | public static let `default`: NodeEncoding = .element
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
48 | }
49 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:261:20: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
261 | static let defaultEncoder: XMLEncodingClosure = { codableType, _ in
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
262 | guard let dynamicType = codableType as? DynamicNodeEncoding.Type else {
263 | return { _ in nil }
[31/54] Compiling XMLCoder SingleValueEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A node's encoding type. Specifies how a node will be encoded.
42 | public enum NodeEncoding {
| `- note: consider making enum 'NodeEncoding' conform to the 'Sendable' protocol
43 | case attribute
44 | case element
45 | case both
46 |
47 | public static let `default`: NodeEncoding = .element
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
48 | }
49 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:261:20: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
261 | static let defaultEncoder: XMLEncodingClosure = { codableType, _ in
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
262 | guard let dynamicType = codableType as? DynamicNodeEncoding.Type else {
263 | return { _ in nil }
[32/54] Compiling XMLCoder XMLChoiceEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A node's encoding type. Specifies how a node will be encoded.
42 | public enum NodeEncoding {
| `- note: consider making enum 'NodeEncoding' conform to the 'Sendable' protocol
43 | case attribute
44 | case element
45 | case both
46 |
47 | public static let `default`: NodeEncoding = .element
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
48 | }
49 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:261:20: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
261 | static let defaultEncoder: XMLEncodingClosure = { codableType, _ in
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
262 | guard let dynamicType = codableType as? DynamicNodeEncoding.Type else {
263 | return { _ in nil }
[33/54] Compiling XMLCoder XMLEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:26: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
24 |
25 | /// Produce human-readable XML with indented output.
26 | 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
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:29: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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
27 |
28 | /// Produce XML with keys sorted in lexicographic order.
29 | 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
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:32:27: warning: static property 'noEmptyElements' 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
14 |
15 | /// The formatting of the output XML data.
16 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
17 | /// The format's default value.
18 | public let rawValue: UInt
:
30 |
31 | /// Produce XML with no short-hand annotation for empty elements, e.g., use `<p></p>` over `</p>`
32 | public static let noEmptyElements = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'noEmptyElements' 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 'noEmptyElements' 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A node's encoding type. Specifies how a node will be encoded.
42 | public enum NodeEncoding {
| `- note: consider making enum 'NodeEncoding' conform to the 'Sendable' protocol
43 | case attribute
44 | case element
45 | case both
46 |
47 | public static let `default`: NodeEncoding = .element
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.NodeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
48 | }
49 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:261:20: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
261 | static let defaultEncoder: XMLEncodingClosure = { codableType, _ in
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
262 | guard let dynamicType = codableType as? DynamicNodeEncoding.Type else {
263 | return { _ in nil }
[34/54] Compiling XMLCoder XMLEncoderImplementation.swift
[35/54] Compiling XMLCoder XMLEncodingStorage.swift
[36/54] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[37/54] Compiling XMLCoder XMLReferencingEncoder.swift
[38/54] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[39/54] Compiling XMLCoder DecimalBox.swift
[40/54] Compiling XMLCoder DoubleBox.swift
[41/54] Compiling XMLCoder FloatBox.swift
[42/54] Compiling XMLCoder IntBox.swift
[43/54] Compiling XMLCoder KeyedBox.swift
[44/54] Compiling XMLCoder Attribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[45/54] Compiling XMLCoder BoolBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[46/54] Compiling XMLCoder Box.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[47/54] Compiling XMLCoder ChoiceBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[48/54] Compiling XMLCoder DataBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[49/54] Compiling XMLCoder DateBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// we better not hit this code path on an older OS.
16 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
17 | var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated 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
[50/54] Compiling XMLCoder XMLDecoder.swift
[51/54] Compiling XMLCoder XMLDecoderImplementation.swift
[52/54] Compiling XMLCoder XMLDecodingStorage.swift
[53/54] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[54/54] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
Build complete! (16.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "XMLCoder",
"name" : "XMLCoder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "XMLCoder",
"targets" : [
"XMLCoder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XMLCoderTests",
"module_type" : "SwiftTarget",
"name" : "XMLCoderTests",
"path" : "Tests/XMLCoderTests",
"sources" : [
"AdvancedFeatures/AttributedEnumIntrinsicTest.swift",
"AdvancedFeatures/AttributedIntrinsicLegacyTest.swift",
"AdvancedFeatures/AttributedIntrinsicTest.swift",
"AdvancedFeatures/CompositeChoiceTests.swift",
"AdvancedFeatures/DynamicNodeDecodingLegacyTest.swift",
"AdvancedFeatures/DynamicNodeDecodingTest.swift",
"AdvancedFeatures/DynamicNodeEncodingTest.swift",
"AdvancedFeatures/ErrorContextTest.swift",
"AdvancedFeatures/InlinePropertyTests.swift",
"AdvancedFeatures/MixedChoiceAndNonChoiceTests.swift",
"AdvancedFeatures/NestedAttributeChoiceTests.swift",
"AdvancedFeatures/NestedChoiceArrayTest.swift",
"AdvancedFeatures/NestedChoiceTests.swift",
"AdvancedFeatures/PropertyWrappersTest.swift",
"AdvancedFeatures/SimpleChoiceTests.swift",
"Auxiliary/String+ExtensionsTests.swift",
"Auxiliary/XMLElementTests.swift",
"Auxiliary/XMLHeaderTests.swift",
"Auxiliary/XMLKeyTests.swift",
"Auxiliary/XMLStackParserTests.swift",
"BenchmarkTests.swift",
"Box/BoolBoxTests.swift",
"Box/DataBoxTests.swift",
"Box/DateBoxTests.swift",
"Box/DecimalBoxTests.swift",
"Box/FloatBoxTests.swift",
"Box/IntBoxTests.swift",
"Box/KeyedBoxTests.swift",
"Box/NullBoxTests.swift",
"Box/SharedBoxTests.swift",
"Box/StringBoxTests.swift",
"Box/UIntBoxTests.swift",
"Box/URLBoxTests.swift",
"Box/UnkeyedBoxTests.swift",
"CDATAMixedUsageTest.swift",
"CDATATest.swift",
"ClassTests.swift",
"CombineTests.swift",
"DecodingContainerTests.swift",
"DocTypeTests.swift",
"EmptyArrayTest.swift",
"EmptyElementEmptyStringTests.swift",
"EndToEnd/BooksTest.swift",
"EndToEnd/BorderTest.swift",
"EndToEnd/BreakfastTest.swift",
"EndToEnd/CDCatalog.swift",
"EndToEnd/CDTest.swift",
"EndToEnd/NoteTest.swift",
"EndToEnd/PlantCatalog.swift",
"EndToEnd/PlantTest.swift",
"EndToEnd/RJISample.swift",
"EndToEnd/RJITest.swift",
"EndToEnd/RelationshipsTest.swift",
"EscapedCharactersTest.swift",
"IntOrString.swift",
"KeyDecodingAndEncodingStrategyTests.swift",
"Minimal/BoolTests.swift",
"Minimal/BoxTreeTests.swift",
"Minimal/DataTests.swift",
"Minimal/DateTests.swift",
"Minimal/DecimalTests.swift",
"Minimal/EmptyTests.swift",
"Minimal/FloatTests.swift",
"Minimal/IntTests.swift",
"Minimal/KeyedIntTests.swift",
"Minimal/KeyedTests.swift",
"Minimal/MixedContentTests.swift",
"Minimal/NestedStringList.swift",
"Minimal/NullTests.swift",
"Minimal/OptionalTests.swift",
"Minimal/StringTests.swift",
"Minimal/UIntTests.swift",
"Minimal/URLTests.swift",
"Minimal/UnkeyedIntTests.swift",
"Minimal/UnkeyedTests.swift",
"MixedContainerTest.swift",
"NamespaceTest.swift",
"NestingTests.swift",
"NodeEncodingStrategyTests.swift",
"PrettyPrintTest.swift",
"RootLevelAttributeTest.swift",
"RootLevetExtraAttributesTests.swift",
"SingleChildTests.swift",
"SpacePreserveTest.swift"
],
"target_dependencies" : [
"XMLCoder"
],
"type" : "test"
},
{
"c99name" : "XMLCoder",
"module_type" : "SwiftTarget",
"name" : "XMLCoder",
"path" : "Sources/XMLCoder",
"product_memberships" : [
"XMLCoder"
],
"sources" : [
"Auxiliaries/Attribute.swift",
"Auxiliaries/Box/BoolBox.swift",
"Auxiliaries/Box/Box.swift",
"Auxiliaries/Box/ChoiceBox.swift",
"Auxiliaries/Box/DataBox.swift",
"Auxiliaries/Box/DateBox.swift",
"Auxiliaries/Box/DecimalBox.swift",
"Auxiliaries/Box/DoubleBox.swift",
"Auxiliaries/Box/FloatBox.swift",
"Auxiliaries/Box/IntBox.swift",
"Auxiliaries/Box/KeyedBox.swift",
"Auxiliaries/Box/NullBox.swift",
"Auxiliaries/Box/SharedBox.swift",
"Auxiliaries/Box/SingleKeyedBox.swift",
"Auxiliaries/Box/StringBox.swift",
"Auxiliaries/Box/UIntBox.swift",
"Auxiliaries/Box/URLBox.swift",
"Auxiliaries/Box/UnkeyedBox.swift",
"Auxiliaries/Box/ValueBox.swift",
"Auxiliaries/Element.swift",
"Auxiliaries/ElementAndAttribute.swift",
"Auxiliaries/ISO8601DateFormatter.swift",
"Auxiliaries/KeyedStorage.swift",
"Auxiliaries/Metatypes.swift",
"Auxiliaries/String+Extensions.swift",
"Auxiliaries/Utils.swift",
"Auxiliaries/XMLChoiceCodingKey.swift",
"Auxiliaries/XMLCoderElement.swift",
"Auxiliaries/XMLDocumentType.swift",
"Auxiliaries/XMLHeader.swift",
"Auxiliaries/XMLKey.swift",
"Auxiliaries/XMLStackParser.swift",
"Decoder/DecodingErrorExtension.swift",
"Decoder/DynamicNodeDecoding.swift",
"Decoder/SingleValueDecodingContainer.swift",
"Decoder/XMLChoiceDecodingContainer.swift",
"Decoder/XMLDecoder.swift",
"Decoder/XMLDecoderImplementation.swift",
"Decoder/XMLDecodingStorage.swift",
"Decoder/XMLKeyedDecodingContainer.swift",
"Decoder/XMLUnkeyedDecodingContainer.swift",
"Encoder/DynamicNodeEncoding.swift",
"Encoder/EncodingErrorExtension.swift",
"Encoder/SingleValueEncodingContainer.swift",
"Encoder/XMLChoiceEncodingContainer.swift",
"Encoder/XMLEncoder.swift",
"Encoder/XMLEncoderImplementation.swift",
"Encoder/XMLEncodingStorage.swift",
"Encoder/XMLKeyedEncodingContainer.swift",
"Encoder/XMLReferencingEncoder.swift",
"Encoder/XMLUnkeyedEncodingContainer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/coreoffice/xmlcoder/main
Repository: CoreOffice/XMLCoder
Swift version used: 6.0
Target: XMLCoder
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'XMLCoder'...
Finished extracting symbol information for 'XMLCoder'. (3.41s)
Building documentation for 'XMLCoder'...
warning: External name 'withRootKey' used to document parameter
--> Sources/XMLCoder/Encoder/XMLEncoder.swift:346:21-346:32
344 | ///
345 | /// - parameter value: The value to encode.
346 + /// - parameter withRootKey: the key used to wrap the encoded values. The
| ╰─suggestion: Replace 'withRootKey' with 'rootKey'
347 | /// default value is inferred from the name of the root type.
348 | /// - parameter rootAttributes: the list of attributes to be added to the root node
warning: Parameter 'doctype' is missing documentation
--> Sources/XMLCoder/Encoder/XMLEncoder.swift:349:75-349:75
347 | /// default value is inferred from the name of the root type.
348 | /// - parameter rootAttributes: the list of attributes to be added to the root node
349 + /// - parameter header: the XML header to start the encoded data with.
| ╰─suggestion: Document 'doctype' parameter
350 | /// - returns: A new `Data` value containing the encoded XML data.
351 | /// - throws: `EncodingError.invalidValue` if a non-conformingFinished building documentation for 'XMLCoder' (0.19s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/coreoffice/xmlcoder/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.74s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Emitting module SymbolKit
[21/57] Compiling SymbolKit SourceRange.swift
[22/57] Compiling SymbolKit Metadata.swift
[23/57] Compiling SymbolKit Module.swift
[24/57] Compiling SymbolKit OperatingSystem.swift
[25/57] Compiling SymbolKit Platform.swift
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit DeclarationFragments.swift
[31/57] Compiling SymbolKit Fragment.swift
[32/57] Compiling SymbolKit FragmentKind.swift
[33/57] Compiling SymbolKit FunctionParameter.swift
[34/57] Compiling SymbolKit FunctionSignature.swift
[35/57] Compiling SymbolKit Relationship.swift
[36/57] Compiling SymbolKit RelationshipKind.swift
[37/57] Compiling SymbolKit SourceOrigin.swift
[38/57] Compiling SymbolKit GenericConstraints.swift
[39/57] Compiling SymbolKit Swift.swift
[40/57] Compiling SymbolKit Symbol.swift
[41/57] Compiling SymbolKit SymbolKind.swift
[42/57] Compiling SymbolKit SymbolGraph.swift
[43/57] Compiling SymbolKit GraphCollector.swift
[44/57] Compiling SymbolKit GenericConstraint.swift
[45/57] Compiling SymbolKit GenericParameter.swift
[46/57] Compiling SymbolKit Generics.swift
[47/57] Compiling SymbolKit Namespace.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.65s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/48] Compiling XMLCoder NullBox.swift
[3/48] Compiling XMLCoder SharedBox.swift
[4/48] Compiling XMLCoder SingleKeyedBox.swift
[5/48] Compiling XMLCoder StringBox.swift
[6/48] Compiling XMLCoder UIntBox.swift
[7/53] Compiling XMLCoder Attribute.swift
[8/53] Compiling XMLCoder BoolBox.swift
[9/53] Compiling XMLCoder Box.swift
[10/53] Compiling XMLCoder ChoiceBox.swift
[11/53] Compiling XMLCoder DataBox.swift
[12/53] Compiling XMLCoder DateBox.swift
[13/53] Compiling XMLCoder URLBox.swift
[14/53] Compiling XMLCoder UnkeyedBox.swift
[15/53] Compiling XMLCoder ValueBox.swift
[16/53] Compiling XMLCoder Element.swift
[17/53] Compiling XMLCoder ElementAndAttribute.swift
[18/53] Compiling XMLCoder DecimalBox.swift
[19/53] Compiling XMLCoder DoubleBox.swift
[20/53] Compiling XMLCoder FloatBox.swift
[21/53] Compiling XMLCoder IntBox.swift
[22/53] Compiling XMLCoder KeyedBox.swift
[23/53] Compiling XMLCoder XMLStackParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[24/53] Compiling XMLCoder DecodingErrorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[25/53] Compiling XMLCoder DynamicNodeDecoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[26/53] Compiling XMLCoder SingleValueDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[27/53] Compiling XMLCoder XMLChoiceDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[28/53] Compiling XMLCoder ISO8601DateFormatter.swift
[29/53] Compiling XMLCoder KeyedStorage.swift
[30/53] Compiling XMLCoder Metatypes.swift
[31/53] Compiling XMLCoder String+Extensions.swift
[32/53] Compiling XMLCoder Utils.swift
[33/53] Emitting module XMLCoder
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:22:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
20 | }
21 |
22 | public func decode(_: Decimal.Type) throws -> Decimal {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Decimal.Type) throws -> Decimal'
| `- note: move 'decode' to another extension to silence this warning
23 | return try unbox(try topContainer())
24 | }
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift:46:17: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
44 | }
45 |
46 | public func decode(_: String.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(String.Type) throws -> Date'
| `- note: move 'decode' to another extension to silence this warning
47 | return try unbox(try topContainer())
48 | }
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 | func decode(_ type: UInt64.Type) throws -> UInt64
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | func decode(_ type: UInt128.Type) throws -> UInt128
| `- note: requirement 'decode' declared here
22 | func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[34/53] Compiling XMLCoder XMLChoiceCodingKey.swift
[35/53] Compiling XMLCoder XMLCoderElement.swift
[36/53] Compiling XMLCoder XMLDocumentType.swift
[37/53] Compiling XMLCoder XMLHeader.swift
[38/53] Compiling XMLCoder XMLKey.swift
[39/53] Compiling XMLCoder DynamicNodeEncoding.swift
[40/53] Compiling XMLCoder EncodingErrorExtension.swift
[41/53] Compiling XMLCoder SingleValueEncodingContainer.swift
[42/53] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[43/53] Compiling XMLCoder XMLEncoder.swift
[44/53] Compiling XMLCoder XMLDecoder.swift
[45/53] Compiling XMLCoder XMLDecoderImplementation.swift
[46/53] Compiling XMLCoder XMLDecodingStorage.swift
[47/53] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[48/53] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[49/53] Compiling XMLCoder XMLEncoderImplementation.swift
[50/53] Compiling XMLCoder XMLEncodingStorage.swift
[51/53] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[52/53] Compiling XMLCoder XMLReferencingEncoder.swift
[53/53] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
Build of target: 'XMLCoder' complete! (1.18s)
472
4 /Users/admin/builder/spi-builder-workspace/.docs/coreoffice/xmlcoder/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/coreoffice/xmlcoder/main
File count: 472
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-coreoffice-xmlcoder-main-64a18a23.zip to s3://spi-docs-inbox/prod-coreoffice-xmlcoder-main-64a18a23.zip
Copying... [16%]
Copying... [24%]
Copying... [32%]
Copying... [48%]
Copying... [56%]
Copying... [63%]
Copying... [71%]
Copying... [87%]
Copying... [95%]
Copying... [100%]
Done.