Build Information
Successful build of XMLCoder, reference 0.17.1 (b1e944
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 16:05:37 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: 0.17.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CoreOffice/XMLCoder
* tag 0.17.1 -> FETCH_HEAD
HEAD is now at b1e944c Fix decoding of types conforming to XMLNodeDecoding (#266)
Cloned https://github.com/CoreOffice/XMLCoder.git
Revision (git rev-parse @):
b1e944cbd0ef33787b13f639a5418d55b3bed501
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CoreOffice/XMLCoder.git at 0.17.1
========================================
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.24s)
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.17.1 (b1e944c)
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/48] 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/53] Compiling XMLCoder KeyedBox.swift
[5/53] Compiling XMLCoder NullBox.swift
[6/53] Compiling XMLCoder SharedBox.swift
[7/53] Compiling XMLCoder SingleKeyedBox.swift
[8/53] Compiling XMLCoder StringBox.swift
[9/53] Compiling XMLCoder Attribute.swift
[10/53] Compiling XMLCoder BoolBox.swift
[11/53] Compiling XMLCoder Box.swift
[12/53] Compiling XMLCoder ChoiceBox.swift
[13/53] Compiling XMLCoder DataBox.swift
[14/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 | }
[15/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 | }
[16/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 | }
[17/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 | }
[18/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 | }
[19/53] Compiling XMLCoder UIntBox.swift
[20/53] Compiling XMLCoder URLBox.swift
[21/53] Compiling XMLCoder UnkeyedBox.swift
[22/53] Compiling XMLCoder ValueBox.swift
[23/53] Compiling XMLCoder Element.swift
[24/53] Compiling XMLCoder XMLEncoderImplementation.swift
[25/53] Compiling XMLCoder XMLEncodingStorage.swift
[26/53] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[27/53] Compiling XMLCoder XMLReferencingEncoder.swift
[28/53] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[29/53] 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/53] 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/53] 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/53] 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/53] 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/53] Compiling XMLCoder ElementAndAttribute.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
[35/53] 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
[36/53] 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
[37/53] 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
[38/53] 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
[39/53] 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 |
[40/53] 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 |
[41/53] 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 |
[42/53] 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 |
[43/53] 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 |
[44/53] 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
[45/53] Compiling XMLCoder DecimalBox.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/53] Compiling XMLCoder DoubleBox.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/53] Compiling XMLCoder FloatBox.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/53] Compiling XMLCoder IntBox.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/53] Compiling XMLCoder XMLDecoder.swift
[50/53] Compiling XMLCoder XMLDecoderImplementation.swift
[51/53] Compiling XMLCoder XMLDecodingStorage.swift
[52/53] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[53/53] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
Build complete! (16.63s)
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" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "11.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/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/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/0.17.1
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.75s)
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.21s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/coreoffice/xmlcoder/0.17.1
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.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.67s)
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.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
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
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit DeclarationFragments.swift
[12/57] Compiling SymbolKit Fragment.swift
[13/57] Compiling SymbolKit FragmentKind.swift
[14/57] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit FunctionSignature.swift
[16/57] Compiling SymbolKit Names.swift
[17/57] Compiling SymbolKit SPI.swift
[18/57] Compiling SymbolKit Snippet.swift
[19/57] Compiling SymbolKit Extension.swift
[20/57] Compiling SymbolKit GenericConstraint.swift
[21/57] Compiling SymbolKit GenericParameter.swift
[22/57] Compiling SymbolKit Generics.swift
[23/57] Compiling SymbolKit Namespace.swift
[24/57] Compiling SymbolKit SemanticVersion.swift
[25/57] Compiling SymbolKit AccessControl.swift
[26/57] Compiling SymbolKit Availability.swift
[27/57] Compiling SymbolKit AvailabilityItem.swift
[28/57] Compiling SymbolKit Domain.swift
[29/57] Compiling SymbolKit Mixin+Equals.swift
[30/57] Compiling SymbolKit Mixin+Hash.swift
[31/57] Compiling SymbolKit Mixin.swift
[32/57] Compiling SymbolKit LineList.swift
[33/57] Compiling SymbolKit Position.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.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] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.40s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/47] 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 | }
[3/52] Compiling XMLCoder DateBox.swift
[4/52] Compiling XMLCoder DecimalBox.swift
[5/52] Compiling XMLCoder DoubleBox.swift
[6/52] Compiling XMLCoder FloatBox.swift
[7/52] Compiling XMLCoder IntBox.swift
[8/52] Compiling XMLCoder UIntBox.swift
[9/52] Compiling XMLCoder URLBox.swift
[10/52] Compiling XMLCoder UnkeyedBox.swift
[11/52] Compiling XMLCoder ValueBox.swift
[12/52] Compiling XMLCoder Element.swift
[13/52] Compiling XMLCoder Attribute.swift
[14/52] Compiling XMLCoder BoolBox.swift
[15/52] Compiling XMLCoder Box.swift
[16/52] Compiling XMLCoder ChoiceBox.swift
[17/52] Compiling XMLCoder DataBox.swift
[18/52] Compiling XMLCoder ElementAndAttribute.swift
[19/52] Compiling XMLCoder ISO8601DateFormatter.swift
[20/52] Compiling XMLCoder KeyedStorage.swift
[21/52] Compiling XMLCoder Metatypes.swift
[22/52] Compiling XMLCoder String+Extensions.swift
[23/52] 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/52] 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/52] 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/52] 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/52] 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/52] Compiling XMLCoder KeyedBox.swift
[29/52] Compiling XMLCoder NullBox.swift
[30/52] Compiling XMLCoder SharedBox.swift
[31/52] Compiling XMLCoder SingleKeyedBox.swift
[32/52] Compiling XMLCoder StringBox.swift
[33/52] Compiling XMLCoder DynamicNodeEncoding.swift
[34/52] Compiling XMLCoder EncodingErrorExtension.swift
[35/52] Compiling XMLCoder SingleValueEncodingContainer.swift
[36/52] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[37/52] Compiling XMLCoder XMLEncoder.swift
[38/52] Compiling XMLCoder XMLEncoderImplementation.swift
[39/52] Compiling XMLCoder XMLEncodingStorage.swift
[40/52] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[41/52] Compiling XMLCoder XMLReferencingEncoder.swift
[42/52] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[43/52] Compiling XMLCoder XMLChoiceCodingKey.swift
[44/52] Compiling XMLCoder XMLCoderElement.swift
[45/52] Compiling XMLCoder XMLDocumentType.swift
[46/52] Compiling XMLCoder XMLHeader.swift
[47/52] Compiling XMLCoder XMLKey.swift
[48/52] Compiling XMLCoder XMLDecoder.swift
[49/52] Compiling XMLCoder XMLDecoderImplementation.swift
[50/52] Compiling XMLCoder XMLDecodingStorage.swift
[51/52] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[52/52] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
Build of target: 'XMLCoder' complete! (1.51s)
472
4 /Users/admin/builder/spi-builder-workspace/.docs/coreoffice/xmlcoder/0.17.1
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/coreoffice/xmlcoder/0.17.1
File count: 472
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-coreoffice-xmlcoder-0.17.1-1b15b501.zip to s3://spi-docs-inbox/prod-coreoffice-xmlcoder-0.17.1-1b15b501.zip
Copying... [16%]
Copying... [24%]
Copying... [32%]
Copying... [47%]
Copying... [55%]
Copying... [63%]
Copying... [71%]
Copying... [87%]
Copying... [95%]
Copying... [100%]
Done.