Build Information
Successful build of URLQueryItemCoder with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylehughes/URLQueryItemCoder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kylehughes/URLQueryItemCoder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0c38698 Add Swift Package Index badges to README
Cloned https://github.com/kylehughes/URLQueryItemCoder.git
Revision (git rev-parse @):
0c386987301bccdb3fd70fee7b9e1222a54d6972
SUCCESS checkout https://github.com/kylehughes/URLQueryItemCoder.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/kylehughes/URLQueryItemCoder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/30] Compiling URLQueryItemCoder DecodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DecodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for decoding `Decodable` values.
9 | public struct DecodingStrategies {
| `- note: consider making struct 'DecodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatDecodingStrategy {
| `- note: consider making enum 'NonConformingFloatDecodingStrategy' conform to the 'Sendable' protocol
10 | /// Decode the values from the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
21 | ///
22 | /// Equals `.throw`.
23 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' 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
24 |
25 | // MARK: Internal Instance Interface
[4/30] Compiling URLQueryItemCoder KeyDecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DecodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for decoding `Decodable` values.
9 | public struct DecodingStrategies {
| `- note: consider making struct 'DecodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatDecodingStrategy {
| `- note: consider making enum 'NonConformingFloatDecodingStrategy' conform to the 'Sendable' protocol
10 | /// Decode the values from the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
21 | ///
22 | /// Equals `.throw`.
23 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' 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
24 |
25 | // MARK: Internal Instance Interface
[5/30] Compiling URLQueryItemCoder NonConformingFloatDecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DecodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for decoding `Decodable` values.
9 | public struct DecodingStrategies {
| `- note: consider making struct 'DecodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatDecodingStrategy {
| `- note: consider making enum 'NonConformingFloatDecodingStrategy' conform to the 'Sendable' protocol
10 | /// Decode the values from the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
21 | ///
22 | /// Equals `.throw`.
23 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' 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
24 |
25 | // MARK: Internal Instance Interface
[6/33] Emitting module URLQueryItemCoder
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DecodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for decoding `Decodable` values.
9 | public struct DecodingStrategies {
| `- note: consider making struct 'DecodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatDecodingStrategy {
| `- note: consider making enum 'NonConformingFloatDecodingStrategy' conform to the 'Sendable' protocol
10 | /// Decode the values from the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
21 | ///
22 | /// Equals `.throw`.
23 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' 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
24 |
25 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Data` values.
11 | public enum DataEncodingStrategy {
| `- note: consider making enum 'DataEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encoded the `Data` as a Base64-encoded string.
13 | ///
:
29 | ///
30 | /// Equals `.base64`.
31 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' 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
32 |
33 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift:35:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Date` values.
11 | public enum DateEncodingStrategy {
| `- note: consider making enum 'DateEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encode the `Date` as a custom value encoded by the given closure.
13 | ///
:
33 | ///
34 | /// Equals `.deferredToDate`.
35 | public static let `default`: DateEncodingStrategy = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' 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
36 |
37 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/EncodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for encoding `Encodable` values.
9 | public struct EncodingStrategies {
| `- note: consider making struct 'EncodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
30 | ///
31 | /// Equals the empty set, `[]`.
32 | public static let `default`: Self = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' 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
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:35:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
35 | public static let sortedKeys = Self(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.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
36 | }
37 |
[7/33] Compiling URLQueryItemCoder IntCodingKey.swift
[8/33] Compiling URLQueryItemCoder StringCodingKey.swift
[9/33] Compiling URLQueryItemCoder DecodingContainer+MultiValue.swift
[10/33] Compiling URLQueryItemCoder DataEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Data` values.
11 | public enum DataEncodingStrategy {
| `- note: consider making enum 'DataEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encoded the `Data` as a Base64-encoded string.
13 | ///
:
29 | ///
30 | /// Equals `.base64`.
31 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' 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
32 |
33 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift:35:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Date` values.
11 | public enum DateEncodingStrategy {
| `- note: consider making enum 'DateEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encode the `Date` as a custom value encoded by the given closure.
13 | ///
:
33 | ///
34 | /// Equals `.deferredToDate`.
35 | public static let `default`: DateEncodingStrategy = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' 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
36 |
37 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/EncodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for encoding `Encodable` values.
9 | public struct EncodingStrategies {
| `- note: consider making struct 'EncodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
[11/33] Compiling URLQueryItemCoder DateEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Data` values.
11 | public enum DataEncodingStrategy {
| `- note: consider making enum 'DataEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encoded the `Data` as a Base64-encoded string.
13 | ///
:
29 | ///
30 | /// Equals `.base64`.
31 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' 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
32 |
33 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift:35:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Date` values.
11 | public enum DateEncodingStrategy {
| `- note: consider making enum 'DateEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encode the `Date` as a custom value encoded by the given closure.
13 | ///
:
33 | ///
34 | /// Equals `.deferredToDate`.
35 | public static let `default`: DateEncodingStrategy = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' 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
36 |
37 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/EncodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for encoding `Encodable` values.
9 | public struct EncodingStrategies {
| `- note: consider making struct 'EncodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
[12/33] Compiling URLQueryItemCoder EncodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Data` values.
11 | public enum DataEncodingStrategy {
| `- note: consider making enum 'DataEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encoded the `Data` as a Base64-encoded string.
13 | ///
:
29 | ///
30 | /// Equals `.base64`.
31 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' 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
32 |
33 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift:35:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Date` values.
11 | public enum DateEncodingStrategy {
| `- note: consider making enum 'DateEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encode the `Date` as a custom value encoded by the given closure.
13 | ///
:
33 | ///
34 | /// Equals `.deferredToDate`.
35 | public static let `default`: DateEncodingStrategy = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' 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
36 |
37 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/EncodingStrategies.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategies for encoding `Encodable` values.
9 | public struct EncodingStrategies {
| `- note: consider making struct 'EncodingStrategies' conform to the 'Sendable' protocol
10 | /// The collection initialized to all default values.
11 | public static let `default` = Self()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingStrategies' 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
12 |
13 | /// The strategy to use for encoding `Data` values.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
[13/33] Compiling URLQueryItemCoder LowLevelDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
[14/33] Compiling URLQueryItemCoder DataDecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
[15/33] Compiling URLQueryItemCoder DateDecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
[16/33] Compiling URLQueryItemCoder EncodingContainer.swift
[17/33] Compiling URLQueryItemCoder EncodingPrimitiveValue.swift
[18/33] Compiling URLQueryItemCoder LowLevelEncoder.swift
[19/33] Compiling URLQueryItemCoder KeyEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
30 | ///
31 | /// Equals the empty set, `[]`.
32 | public static let `default`: Self = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' 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
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:35:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
35 | public static let sortedKeys = Self(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.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
36 | }
37 |
[20/33] Compiling URLQueryItemCoder NonConformingFloatEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
30 | ///
31 | /// Equals the empty set, `[]`.
32 | public static let `default`: Self = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' 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
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:35:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
35 | public static let sortedKeys = Self(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.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
36 | }
37 |
[21/33] Compiling URLQueryItemCoder URLQueryItemEncoder+OutputFormatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
30 | ///
31 | /// Equals the empty set, `[]`.
32 | public static let `default`: Self = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' 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
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:35:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
35 | public static let sortedKeys = Self(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.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
36 | }
37 |
[22/33] Compiling URLQueryItemCoder DecodingContainer+SingleValue.swift
[23/33] Compiling URLQueryItemCoder DecodingContainer.swift
[24/33] Compiling URLQueryItemCoder DecodingPrimitiveValue.swift
[25/33] Compiling URLQueryItemCoder EncodingContainer+Keyed.swift
[26/33] Compiling URLQueryItemCoder EncodingContainer+SingleValue.swift
[27/33] Compiling URLQueryItemCoder EncodingContainer+Unkeyed.swift
[28/33] Compiling URLQueryItemCoder StringlyKeyedDecodingContainerWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatDecodingStrategy {
| `- note: consider making enum 'NonConformingFloatDecodingStrategy' conform to the 'Sendable' protocol
10 | /// Decode the values from the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
21 | ///
22 | /// Equals `.throw`.
23 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' 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
24 |
25 | // MARK: Internal Instance Interface
[29/33] Compiling URLQueryItemCoder URLQueryItemDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatDecodingStrategy {
| `- note: consider making enum 'NonConformingFloatDecodingStrategy' conform to the 'Sendable' protocol
10 | /// Decode the values from the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
21 | ///
22 | /// Equals `.throw`.
23 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' 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
24 |
25 | // MARK: Internal Instance Interface
[30/33] Compiling URLQueryItemCoder EncodingContainer+Keyed+Wrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Data` values.
11 | public enum DataDecodingStrategy {
| `- note: consider making enum 'DataDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Data` from a Base64-encoded string.
13 | ///
:
26 | ///
27 | /// Equals `.base64`.
28 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataDecodingStrategy' 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
29 |
30 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for decoding `Date` values.
11 | public enum DateDecodingStrategy {
| `- note: consider making enum 'DateDecodingStrategy' conform to the 'Sendable' protocol
12 | /// Decode the `Date` as a custom value decoded by the given closure.
13 | case custom(@Sendable (Decoder) throws -> Date)
:
30 | ///
31 | /// Equals `.deferredToDate`.
32 | public static let `default`: Self = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' 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
33 |
34 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatDecodingStrategy {
| `- note: consider making enum 'NonConformingFloatDecodingStrategy' conform to the 'Sendable' protocol
10 | /// Decode the values from the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
21 | ///
22 | /// Equals `.throw`.
23 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatDecodingStrategy' 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
24 |
25 | // MARK: Internal Instance Interface
[31/33] Compiling URLQueryItemCoder URLQueryItemEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Data` values.
11 | public enum DataEncodingStrategy {
| `- note: consider making enum 'DataEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encoded the `Data` as a Base64-encoded string.
13 | ///
:
29 | ///
30 | /// Equals `.base64`.
31 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' 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
32 |
33 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift:35:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Date` values.
11 | public enum DateEncodingStrategy {
| `- note: consider making enum 'DateEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encode the `Date` as a custom value encoded by the given closure.
13 | ///
:
33 | ///
34 | /// Equals `.deferredToDate`.
35 | public static let `default`: DateEncodingStrategy = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' 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
36 |
37 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
30 | ///
31 | /// Equals the empty set, `[]`.
32 | public static let `default`: Self = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' 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
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:35:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
35 | public static let sortedKeys = Self(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.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
36 | }
37 |
[32/33] Compiling URLQueryItemCoder DecodingError+Context+Predefined.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Data` values.
11 | public enum DataEncodingStrategy {
| `- note: consider making enum 'DataEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encoded the `Data` as a Base64-encoded string.
13 | ///
:
29 | ///
30 | /// Equals `.base64`.
31 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' 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
32 |
33 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift:35:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Date` values.
11 | public enum DateEncodingStrategy {
| `- note: consider making enum 'DateEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encode the `Date` as a custom value encoded by the given closure.
13 | ///
:
33 | ///
34 | /// Equals `.deferredToDate`.
35 | public static let `default`: DateEncodingStrategy = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' 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
36 |
37 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
30 | ///
31 | /// Equals the empty set, `[]`.
32 | public static let `default`: Self = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' 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
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:35:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
35 | public static let sortedKeys = Self(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.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
36 | }
37 |
[33/33] Compiling URLQueryItemCoder String+SnakeCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Data` values.
11 | public enum DataEncodingStrategy {
| `- note: consider making enum 'DataEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encoded the `Data` as a Base64-encoded string.
13 | ///
:
29 | ///
30 | /// Equals `.base64`.
31 | public static let `default`: Self = .base64
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DataEncodingStrategy' 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
32 |
33 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift:35:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The strategy to use for encoding `Date` values.
11 | public enum DateEncodingStrategy {
| `- note: consider making enum 'DateEncodingStrategy' conform to the 'Sendable' protocol
12 | /// Encode the `Date` as a custom value encoded by the given closure.
13 | ///
:
33 | ///
34 | /// Equals `.deferredToDate`.
35 | public static let `default`: DateEncodingStrategy = .deferredToDate
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DateEncodingStrategy' 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
36 |
37 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// The strategy to use for non-conforming floating-point values (IEEE 754 infinity and NaN).
9 | public enum NonConformingFloatEncodingStrategy {
| `- note: consider making enum 'NonConformingFloatEncodingStrategy' conform to the 'Sendable' protocol
10 | /// Encode the values using the given representation strings.
11 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
:
19 | ///
20 | /// Equals `.throw`.
21 | public static let `default`: Self = .throw
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NonConformingFloatEncodingStrategy' 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
22 |
23 | // MARK: Internal Instance Interface
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
30 | ///
31 | /// Equals the empty set, `[]`.
32 | public static let `default`: Self = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' 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
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItemCoder/Encoder/URLQueryItemEncoder+OutputFormatting.swift:35:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
8 | extension URLQueryItemEncoder {
9 | /// The output formatting options that determine the element order of an encoded `URLQueryItem` array.
10 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
11 | /// A raw value representing a set of output formatting options.
12 | public let rawValue: Int
:
33 |
34 | /// The output formatting option that sorts keys in lexicographic order.
35 | public static let sortedKeys = Self(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'URLQueryItemEncoder.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
36 | }
37 |
Build complete! (21.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "URLQueryItemCoder",
"name" : "URLQueryItemCoder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "URLQueryItemCoder",
"targets" : [
"URLQueryItemCoder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "URLQueryItemCoderTests",
"module_type" : "SwiftTarget",
"name" : "URLQueryItemCoderTests",
"path" : "Tests/URLQueryItemCoderTests",
"sources" : [
"Decoder/AbstractTopLevelDecoderTests.swift",
"Decoder/URLQueryItemDecoderTests.swift",
"Encoder/AbstractTopLevelEncoderTests.swift",
"Encoder/URLQueryItemEncoderTests.swift",
"End to End/AbstractEndToEndTests.swift",
"End to End/URLQueryItemCoderEndToEndTests.swift",
"Support/CodableTestExpectation+URLQueryItems.swift",
"Support/CodableTestExpectation.swift",
"Support/CodableTestTypes.swift",
"Support/Extensions/Foundation/URLQueryItem+LosslessStringConvertible.swift",
"Support/Extensions/Standard Library/Global+FatalError.swift",
"Support/Extensions/Standard Library/RangeReplaceableCollection+Appending.swift",
"Support/Extensions/Standard Library/URLQueryItem+Optional.swift",
"Support/XCTAssertDecoder.swift",
"Support/XCTAssertEncoder.swift",
"Support/XCTAssertEndToEndCoding.swift"
],
"target_dependencies" : [
"URLQueryItemCoder"
],
"type" : "test"
},
{
"c99name" : "URLQueryItemCoder",
"module_type" : "SwiftTarget",
"name" : "URLQueryItemCoder",
"path" : "Sources/URLQueryItemCoder",
"product_memberships" : [
"URLQueryItemCoder"
],
"sources" : [
"Common/IntCodingKey.swift",
"Common/StringCodingKey.swift",
"Decoder/Generic Implementation/DecodingContainer+MultiValue.swift",
"Decoder/Generic Implementation/DecodingContainer+SingleValue.swift",
"Decoder/Generic Implementation/DecodingContainer.swift",
"Decoder/Generic Implementation/DecodingPrimitiveValue.swift",
"Decoder/Generic Implementation/LowLevelDecoder.swift",
"Decoder/Generic Implementation/Strategies/DataDecodingStrategy.swift",
"Decoder/Generic Implementation/Strategies/DateDecodingStrategy.swift",
"Decoder/Generic Implementation/Strategies/DecodingStrategies.swift",
"Decoder/Generic Implementation/Strategies/KeyDecodingStrategy.swift",
"Decoder/Generic Implementation/Strategies/NonConformingFloatDecodingStrategy.swift",
"Decoder/Generic Implementation/StringlyKeyedDecodingContainerWrapper.swift",
"Decoder/URLQueryItemDecoder.swift",
"Encoder/Generic Implementation/EncodingContainer+Keyed+Wrapper.swift",
"Encoder/Generic Implementation/EncodingContainer+Keyed.swift",
"Encoder/Generic Implementation/EncodingContainer+SingleValue.swift",
"Encoder/Generic Implementation/EncodingContainer+Unkeyed.swift",
"Encoder/Generic Implementation/EncodingContainer.swift",
"Encoder/Generic Implementation/EncodingPrimitiveValue.swift",
"Encoder/Generic Implementation/LowLevelEncoder.swift",
"Encoder/Generic Implementation/Strategies/DataEncodingStrategy.swift",
"Encoder/Generic Implementation/Strategies/DateEncodingStrategy.swift",
"Encoder/Generic Implementation/Strategies/EncodingStrategies.swift",
"Encoder/Generic Implementation/Strategies/KeyEncodingStrategy.swift",
"Encoder/Generic Implementation/Strategies/NonConformingFloatEncodingStrategy.swift",
"Encoder/URLQueryItemEncoder+OutputFormatting.swift",
"Encoder/URLQueryItemEncoder.swift",
"Extensions/Standard Library/DecodingError+Context+Predefined.swift",
"Extensions/Standard Library/String+SnakeCase.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.