Build Information
Successful build of XMLCoder with Swift 6.0 for Linux.
Swift 6 data race errors: 6
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CoreOffice/XMLCoder.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/CoreOffice/XMLCoder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at efda1cc Update unit tests to newer Swift versions (#270)
Cloned https://github.com/CoreOffice/XMLCoder.git
Revision (git rev-parse @):
efda1cc8e0a97d198b6d16d53ff73751bd93f801
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/CoreOffice/XMLCoder.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/CoreOffice/XMLCoder.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/48] Emitting module XMLCoder
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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 | }
/host/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.
/host/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>`
/host/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 |
/host/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'
/host/spi-builder-workspace/Sources/XMLCoder/Encoder/XMLEncoder.swift:261:20: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
261 | static let defaultEncoder: XMLEncodingClosure = { codableType, _ in
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.XMLEncodingClosure' (aka '(any Encodable.Type, any Encoder) -> (any CodingKey) -> Optional<XMLEncoder.NodeEncoding>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | guard let dynamicType = codableType as? DynamicNodeEncoding.Type else {
263 | return { _ in nil }
[4/54] Compiling XMLCoder DoubleBox.swift
[5/54] Compiling XMLCoder FloatBox.swift
[6/54] Compiling XMLCoder IntBox.swift
[7/54] Compiling XMLCoder KeyedBox.swift
[8/54] Compiling XMLCoder NullBox.swift
[9/54] Compiling XMLCoder SharedBox.swift
[10/54] Compiling XMLCoder SingleKeyedBox.swift
[11/54] Compiling XMLCoder Attribute.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[12/54] Compiling XMLCoder BoolBox.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[13/54] Compiling XMLCoder Box.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[14/54] Compiling XMLCoder ChoiceBox.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[15/54] Compiling XMLCoder DataBox.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[16/54] Compiling XMLCoder DateBox.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[17/54] Compiling XMLCoder DecimalBox.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[18/54] Compiling XMLCoder ISO8601DateFormatter.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[19/54] Compiling XMLCoder KeyedStorage.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[20/54] Compiling XMLCoder Metatypes.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[21/54] Compiling XMLCoder String+Extensions.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[22/54] Compiling XMLCoder Utils.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[23/54] Compiling XMLCoder XMLChoiceCodingKey.swift
/host/spi-builder-workspace/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift:17:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let formatter = ISO8601DateFormatter()
19 | formatter.formatOptions = .withInternetDateTime
[24/54] Compiling XMLCoder DynamicNodeDecoding.swift
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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/54] Compiling XMLCoder SingleValueDecodingContainer.swift
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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/54] Compiling XMLCoder XMLChoiceDecodingContainer.swift
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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/54] Compiling XMLCoder XMLDecoder.swift
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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/54] Compiling XMLCoder XMLDecoderImplementation.swift
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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 | }
[29/54] Compiling XMLCoder XMLDecodingStorage.swift
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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 | }
[30/54] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[31/54] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[32/54] Compiling XMLCoder DynamicNodeEncoding.swift
[33/54] Compiling XMLCoder EncodingErrorExtension.swift
[34/54] Compiling XMLCoder SingleValueEncodingContainer.swift
[35/54] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[36/54] Compiling XMLCoder XMLCoderElement.swift
/host/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>`
/host/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.
/host/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 |
[37/54] Compiling XMLCoder XMLDocumentType.swift
/host/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>`
/host/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.
/host/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 |
[38/54] Compiling XMLCoder XMLHeader.swift
/host/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>`
/host/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.
/host/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 |
[39/54] Compiling XMLCoder XMLKey.swift
/host/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>`
/host/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.
/host/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/54] Compiling XMLCoder XMLStackParser.swift
/host/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>`
/host/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.
/host/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/54] Compiling XMLCoder DecodingErrorExtension.swift
/host/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>`
/host/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.
/host/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/54] Compiling XMLCoder XMLEncoder.swift
/host/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.
/host/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>`
/host/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 |
/host/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'
/host/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 }
[43/54] Compiling XMLCoder XMLEncoderImplementation.swift
/host/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.
/host/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>`
/host/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 |
/host/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'
/host/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 }
[44/54] Compiling XMLCoder XMLEncodingStorage.swift
/host/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.
/host/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>`
/host/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 |
/host/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'
/host/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 }
[45/54] Compiling XMLCoder XMLKeyedEncodingContainer.swift
/host/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.
/host/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>`
/host/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 |
/host/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'
/host/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 }
[46/54] Compiling XMLCoder XMLReferencingEncoder.swift
/host/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.
/host/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>`
/host/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 |
/host/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'
/host/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 }
[47/54] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
/host/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.
/host/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>`
/host/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 |
/host/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'
/host/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 }
[48/54] Compiling XMLCoder StringBox.swift
[49/54] Compiling XMLCoder UIntBox.swift
[50/54] Compiling XMLCoder URLBox.swift
[51/54] Compiling XMLCoder UnkeyedBox.swift
[52/54] Compiling XMLCoder ValueBox.swift
[53/54] Compiling XMLCoder Element.swift
[54/54] Compiling XMLCoder ElementAndAttribute.swift
Build complete! (14.44s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "XMLCoder",
"name" : "XMLCoder",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "XMLCoder",
"targets" : [
"XMLCoder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XMLCoderTests",
"module_type" : "SwiftTarget",
"name" : "XMLCoderTests",
"path" : "Tests/XMLCoderTests",
"sources" : [
"AdvancedFeatures/AttributedEnumIntrinsicTest.swift",
"AdvancedFeatures/AttributedIntrinsicLegacyTest.swift",
"AdvancedFeatures/AttributedIntrinsicTest.swift",
"AdvancedFeatures/CompositeChoiceTests.swift",
"AdvancedFeatures/DynamicNodeDecodingLegacyTest.swift",
"AdvancedFeatures/DynamicNodeDecodingTest.swift",
"AdvancedFeatures/DynamicNodeEncodingTest.swift",
"AdvancedFeatures/ErrorContextTest.swift",
"AdvancedFeatures/InlinePropertyTests.swift",
"AdvancedFeatures/MixedChoiceAndNonChoiceTests.swift",
"AdvancedFeatures/NestedAttributeChoiceTests.swift",
"AdvancedFeatures/NestedChoiceArrayTest.swift",
"AdvancedFeatures/NestedChoiceTests.swift",
"AdvancedFeatures/PropertyWrappersTest.swift",
"AdvancedFeatures/SimpleChoiceTests.swift",
"Auxiliary/String+ExtensionsTests.swift",
"Auxiliary/XMLElementTests.swift",
"Auxiliary/XMLHeaderTests.swift",
"Auxiliary/XMLKeyTests.swift",
"Auxiliary/XMLStackParserTests.swift",
"BenchmarkTests.swift",
"Box/BoolBoxTests.swift",
"Box/DataBoxTests.swift",
"Box/DateBoxTests.swift",
"Box/DecimalBoxTests.swift",
"Box/FloatBoxTests.swift",
"Box/IntBoxTests.swift",
"Box/KeyedBoxTests.swift",
"Box/NullBoxTests.swift",
"Box/SharedBoxTests.swift",
"Box/StringBoxTests.swift",
"Box/UIntBoxTests.swift",
"Box/URLBoxTests.swift",
"Box/UnkeyedBoxTests.swift",
"CDATAMixedUsageTest.swift",
"CDATATest.swift",
"ClassTests.swift",
"CombineTests.swift",
"DecodingContainerTests.swift",
"DocTypeTests.swift",
"EmptyArrayTest.swift",
"EmptyElementEmptyStringTests.swift",
"EndToEnd/BooksTest.swift",
"EndToEnd/BorderTest.swift",
"EndToEnd/BreakfastTest.swift",
"EndToEnd/CDCatalog.swift",
"EndToEnd/CDTest.swift",
"EndToEnd/NoteTest.swift",
"EndToEnd/PlantCatalog.swift",
"EndToEnd/PlantTest.swift",
"EndToEnd/RJISample.swift",
"EndToEnd/RJITest.swift",
"EndToEnd/RelationshipsTest.swift",
"EscapedCharactersTest.swift",
"IntOrString.swift",
"KeyDecodingAndEncodingStrategyTests.swift",
"Minimal/BoolTests.swift",
"Minimal/BoxTreeTests.swift",
"Minimal/DataTests.swift",
"Minimal/DateTests.swift",
"Minimal/DecimalTests.swift",
"Minimal/EmptyTests.swift",
"Minimal/FloatTests.swift",
"Minimal/IntTests.swift",
"Minimal/KeyedIntTests.swift",
"Minimal/KeyedTests.swift",
"Minimal/MixedContentTests.swift",
"Minimal/NestedStringList.swift",
"Minimal/NullTests.swift",
"Minimal/OptionalTests.swift",
"Minimal/StringTests.swift",
"Minimal/UIntTests.swift",
"Minimal/URLTests.swift",
"Minimal/UnkeyedIntTests.swift",
"Minimal/UnkeyedTests.swift",
"MixedContainerTest.swift",
"NamespaceTest.swift",
"NestingTests.swift",
"NodeEncodingStrategyTests.swift",
"PrettyPrintTest.swift",
"RootLevelAttributeTest.swift",
"RootLevetExtraAttributesTests.swift",
"SingleChildTests.swift",
"SpacePreserveTest.swift"
],
"target_dependencies" : [
"XMLCoder"
],
"type" : "test"
},
{
"c99name" : "XMLCoder",
"module_type" : "SwiftTarget",
"name" : "XMLCoder",
"path" : "Sources/XMLCoder",
"product_memberships" : [
"XMLCoder"
],
"sources" : [
"Auxiliaries/Attribute.swift",
"Auxiliaries/Box/BoolBox.swift",
"Auxiliaries/Box/Box.swift",
"Auxiliaries/Box/ChoiceBox.swift",
"Auxiliaries/Box/DataBox.swift",
"Auxiliaries/Box/DateBox.swift",
"Auxiliaries/Box/DecimalBox.swift",
"Auxiliaries/Box/DoubleBox.swift",
"Auxiliaries/Box/FloatBox.swift",
"Auxiliaries/Box/IntBox.swift",
"Auxiliaries/Box/KeyedBox.swift",
"Auxiliaries/Box/NullBox.swift",
"Auxiliaries/Box/SharedBox.swift",
"Auxiliaries/Box/SingleKeyedBox.swift",
"Auxiliaries/Box/StringBox.swift",
"Auxiliaries/Box/UIntBox.swift",
"Auxiliaries/Box/URLBox.swift",
"Auxiliaries/Box/UnkeyedBox.swift",
"Auxiliaries/Box/ValueBox.swift",
"Auxiliaries/Element.swift",
"Auxiliaries/ElementAndAttribute.swift",
"Auxiliaries/ISO8601DateFormatter.swift",
"Auxiliaries/KeyedStorage.swift",
"Auxiliaries/Metatypes.swift",
"Auxiliaries/String+Extensions.swift",
"Auxiliaries/Utils.swift",
"Auxiliaries/XMLChoiceCodingKey.swift",
"Auxiliaries/XMLCoderElement.swift",
"Auxiliaries/XMLDocumentType.swift",
"Auxiliaries/XMLHeader.swift",
"Auxiliaries/XMLKey.swift",
"Auxiliaries/XMLStackParser.swift",
"Decoder/DecodingErrorExtension.swift",
"Decoder/DynamicNodeDecoding.swift",
"Decoder/SingleValueDecodingContainer.swift",
"Decoder/XMLChoiceDecodingContainer.swift",
"Decoder/XMLDecoder.swift",
"Decoder/XMLDecoderImplementation.swift",
"Decoder/XMLDecodingStorage.swift",
"Decoder/XMLKeyedDecodingContainer.swift",
"Decoder/XMLUnkeyedDecodingContainer.swift",
"Encoder/DynamicNodeEncoding.swift",
"Encoder/EncodingErrorExtension.swift",
"Encoder/SingleValueEncodingContainer.swift",
"Encoder/XMLChoiceEncodingContainer.swift",
"Encoder/XMLEncoder.swift",
"Encoder/XMLEncoderImplementation.swift",
"Encoder/XMLEncodingStorage.swift",
"Encoder/XMLKeyedEncodingContainer.swift",
"Encoder/XMLReferencingEncoder.swift",
"Encoder/XMLUnkeyedEncodingContainer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.