Build Information
Successful build of CodableStrategies, reference 2.0.0 (149956), with Swift 6.1 for macOS (SPM) on 14 Sep 2026 09:54:40 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/CodableStrategies.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/CodableStrategies
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 1499560 Rename CodableProxies to CodableStrategies, Proxy types to Decorator
Cloned https://github.com/dankinsoid/CodableStrategies.git
Revision (git rev-parse @):
1499560f7c47b716133a108f243294c1ceee8523
SUCCESS checkout https://github.com/dankinsoid/CodableStrategies.git at 2.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankinsoid/CodableStrategies.git
https://github.com/dankinsoid/CodableStrategies.git
{
"dependencies" : [
],
"manifest_display_name" : "CodableStrategies",
"name" : "CodableStrategies",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CodableStrategies",
"targets" : [
"CodableStrategies"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CodableStrategiesTests",
"module_type" : "SwiftTarget",
"name" : "CodableStrategiesTests",
"path" : "Tests/CodableStrategiesTests",
"sources" : [
"DecoderDecoratorTests.swift",
"EncoderDecoratorTests.swift",
"Models.swift"
],
"target_dependencies" : [
"CodableStrategies"
],
"type" : "test"
},
{
"c99name" : "CodableStrategies",
"module_type" : "SwiftTarget",
"name" : "CodableStrategies",
"path" : "Sources/CodableStrategies",
"product_memberships" : [
"CodableStrategies"
],
"sources" : [
"CoderDecorator.swift",
"DecoderDecorator/DecoderDecorator.swift",
"DecoderDecorator/DecoderIntrospect.swift",
"DecoderDecorator/DecoderWrapper.swift",
"DecoderDecorator/ValueDecoder.swift",
"EncoderDecorator/EncoderDecorator.swift",
"EncoderDecorator/EncoderIntrospect.swift",
"EncoderDecorator/EncoderWrapper.swift",
"EncoderDecorator/ValueEncoder.swift",
"Strategies/Coding/BoolCodingStrategy.swift",
"Strategies/Coding/CodingStrategy.swift",
"Strategies/Coding/DataCodingStrategies.swift",
"Strategies/Coding/DateCodingStrategies.swift",
"Strategies/Coding/DecimalCodingStrategies.swift",
"Strategies/Coding/KeyCodingStrategies.swift",
"Strategies/Coding/NumericCodingStrategy.swift",
"Strategies/Coding/OptionalCodingStrategies.swift",
"Strategies/Coding/URLCodingStrategies.swift",
"Strategies/Decoding/BoolDecodingStrategy.swift",
"Strategies/Decoding/DataDecodingStrategies.swift",
"Strategies/Decoding/DateDecodingStrategies.swift",
"Strategies/Decoding/DecimalDecodingStrategies.swift",
"Strategies/Decoding/DecodingStrategy.swift",
"Strategies/Decoding/KeyDecodingStrategy.swift",
"Strategies/Decoding/NumericDeecodingStrategy.swift",
"Strategies/Decoding/OptionalDecodingStrategies.swift",
"Strategies/Decoding/URLDecodingStrategies.swift",
"Strategies/Encoding/BoolEncodingStrategy.swift",
"Strategies/Encoding/DataEncodingStrategies.swift",
"Strategies/Encoding/DateEncodingStrategies.swift",
"Strategies/Encoding/DecimalEncodingStrategies.swift",
"Strategies/Encoding/EncodingStrategy.swift",
"Strategies/Encoding/KeyEncodingStrategy.swift",
"Strategies/Encoding/NumericEncodingStrategy.swift",
"Strategies/Encoding/OptionalEncodingStrategy.swift",
"Strategies/Encoding/URLEncodingStrategies.swift",
"Utils/AnyCodingKey.swift",
"Utils/ErrorsString.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/38] Emitting module CodableStrategies
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:19:13: warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_strategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:20:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private var _strategy: DecodingStrategy = .default
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_ignoreStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | extension DecodingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Default coding strategy, can be changed globally.
50 | static var `default` = CodingStrategy(decoding: .default, encoding: .default)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/DateCodingStrategies.swift:149:21: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
147 | extension CodingStrategy.Date {
148 |
149 | private static let isoFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/DecodingStrategy.swift:457:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
455 | public extension DecodingStrategy {
456 |
457 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
458 | }
459 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: DecodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key decoding strategy.
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 | public extension EncodingStrategy {
289 |
290 | static var `default`: EncodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: EncodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key encoding strategy.
[4/41] Compiling CodableStrategies URLEncodingStrategies.swift
[5/41] Compiling CodableStrategies AnyCodingKey.swift
[6/41] Compiling CodableStrategies ErrorsString.swift
[7/41] Compiling CodableStrategies CoderDecorator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:19:13: warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_strategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:20:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private var _strategy: DecodingStrategy = .default
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_ignoreStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | extension DecodingStrategy {
[8/41] Compiling CodableStrategies DecoderDecorator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:19:13: warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_strategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:20:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private var _strategy: DecodingStrategy = .default
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_ignoreStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | extension DecodingStrategy {
[9/41] Compiling CodableStrategies DecoderIntrospect.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:19:13: warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_strategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:20:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private var _strategy: DecodingStrategy = .default
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_ignoreStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | extension DecodingStrategy {
[10/41] Compiling CodableStrategies DecoderWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:19:13: warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_strategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/DecoderDecorator/DecoderIntrospect.swift:20:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private var _strategy: DecodingStrategy = .default
20 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_ignoreStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | extension DecodingStrategy {
[11/41] Compiling CodableStrategies KeyEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: EncodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key encoding strategy.
[12/41] Compiling CodableStrategies NumericEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: EncodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key encoding strategy.
[13/41] Compiling CodableStrategies OptionalEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: EncodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key encoding strategy.
[14/41] Compiling CodableStrategies ValueDecoder.swift
[15/41] Compiling CodableStrategies EncoderDecorator.swift
[16/41] Compiling CodableStrategies EncoderIntrospect.swift
[17/41] Compiling CodableStrategies EncoderWrapper.swift
[18/41] Compiling CodableStrategies ValueEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Default coding strategy, can be changed globally.
50 | static var `default` = CodingStrategy(decoding: .default, encoding: .default)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[19/41] Compiling CodableStrategies BoolCodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Default coding strategy, can be changed globally.
50 | static var `default` = CodingStrategy(decoding: .default, encoding: .default)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[20/41] Compiling CodableStrategies CodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Default coding strategy, can be changed globally.
50 | static var `default` = CodingStrategy(decoding: .default, encoding: .default)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[21/41] Compiling CodableStrategies DataCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Default coding strategy, can be changed globally.
50 | static var `default` = CodingStrategy(decoding: .default, encoding: .default)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[22/41] Compiling CodableStrategies DateCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/DateCodingStrategies.swift:149:21: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
147 | extension CodingStrategy.Date {
148 |
149 | private static let isoFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[23/41] Compiling CodableStrategies DecimalCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/DateCodingStrategies.swift:149:21: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
147 | extension CodingStrategy.Date {
148 |
149 | private static let isoFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[24/41] Compiling CodableStrategies KeyCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/DateCodingStrategies.swift:149:21: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
147 | extension CodingStrategy.Date {
148 |
149 | private static let isoFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[25/41] Compiling CodableStrategies NumericCodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Coding/DateCodingStrategies.swift:149:21: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
147 | extension CodingStrategy.Date {
148 |
149 | private static let isoFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[26/41] Compiling CodableStrategies DateDecodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/DecodingStrategy.swift:457:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
455 | public extension DecodingStrategy {
456 |
457 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
458 | }
459 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: DecodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key decoding strategy.
[27/41] Compiling CodableStrategies DecimalDecodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/DecodingStrategy.swift:457:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
455 | public extension DecodingStrategy {
456 |
457 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
458 | }
459 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: DecodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key decoding strategy.
[28/41] Compiling CodableStrategies DecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/DecodingStrategy.swift:457:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
455 | public extension DecodingStrategy {
456 |
457 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
458 | }
459 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: DecodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key decoding strategy.
[29/41] Compiling CodableStrategies KeyDecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/DecodingStrategy.swift:457:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
455 | public extension DecodingStrategy {
456 |
457 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
458 | }
459 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Does not change the key.
12 | static var useDefaultKeys: DecodingStrategy = .Key.custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Custom key decoding strategy.
[30/41] Compiling CodableStrategies NumericDeecodingStrategy.swift
[31/41] Compiling CodableStrategies OptionalDecodingStrategies.swift
[32/41] Compiling CodableStrategies URLDecodingStrategies.swift
[33/41] Compiling CodableStrategies BoolEncodingStrategy.swift
[34/41] Compiling CodableStrategies DataEncodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 | public extension EncodingStrategy {
289 |
290 | static var `default`: EncodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | }
292 |
[35/41] Compiling CodableStrategies DateEncodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 | public extension EncodingStrategy {
289 |
290 | static var `default`: EncodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | }
292 |
[36/41] Compiling CodableStrategies DecimalEncodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 | public extension EncodingStrategy {
289 |
290 | static var `default`: EncodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | }
292 |
[37/41] Compiling CodableStrategies EncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableStrategies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 | public extension EncodingStrategy {
289 |
290 | static var `default`: EncodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | }
292 |
[38/41] Compiling CodableStrategies OptionalCodingStrategies.swift
[39/41] Compiling CodableStrategies URLCodingStrategies.swift
[40/41] Compiling CodableStrategies BoolDecodingStrategy.swift
[41/41] Compiling CodableStrategies DataDecodingStrategies.swift
Build complete! (5.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CodableStrategies",
"name" : "CodableStrategies",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CodableStrategies",
"targets" : [
"CodableStrategies"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CodableStrategiesTests",
"module_type" : "SwiftTarget",
"name" : "CodableStrategiesTests",
"path" : "Tests/CodableStrategiesTests",
"sources" : [
"DecoderDecoratorTests.swift",
"EncoderDecoratorTests.swift",
"Models.swift"
],
"target_dependencies" : [
"CodableStrategies"
],
"type" : "test"
},
{
"c99name" : "CodableStrategies",
"module_type" : "SwiftTarget",
"name" : "CodableStrategies",
"path" : "Sources/CodableStrategies",
"product_memberships" : [
"CodableStrategies"
],
"sources" : [
"CoderDecorator.swift",
"DecoderDecorator/DecoderDecorator.swift",
"DecoderDecorator/DecoderIntrospect.swift",
"DecoderDecorator/DecoderWrapper.swift",
"DecoderDecorator/ValueDecoder.swift",
"EncoderDecorator/EncoderDecorator.swift",
"EncoderDecorator/EncoderIntrospect.swift",
"EncoderDecorator/EncoderWrapper.swift",
"EncoderDecorator/ValueEncoder.swift",
"Strategies/Coding/BoolCodingStrategy.swift",
"Strategies/Coding/CodingStrategy.swift",
"Strategies/Coding/DataCodingStrategies.swift",
"Strategies/Coding/DateCodingStrategies.swift",
"Strategies/Coding/DecimalCodingStrategies.swift",
"Strategies/Coding/KeyCodingStrategies.swift",
"Strategies/Coding/NumericCodingStrategy.swift",
"Strategies/Coding/OptionalCodingStrategies.swift",
"Strategies/Coding/URLCodingStrategies.swift",
"Strategies/Decoding/BoolDecodingStrategy.swift",
"Strategies/Decoding/DataDecodingStrategies.swift",
"Strategies/Decoding/DateDecodingStrategies.swift",
"Strategies/Decoding/DecimalDecodingStrategies.swift",
"Strategies/Decoding/DecodingStrategy.swift",
"Strategies/Decoding/KeyDecodingStrategy.swift",
"Strategies/Decoding/NumericDeecodingStrategy.swift",
"Strategies/Decoding/OptionalDecodingStrategies.swift",
"Strategies/Decoding/URLDecodingStrategies.swift",
"Strategies/Encoding/BoolEncodingStrategy.swift",
"Strategies/Encoding/DataEncodingStrategies.swift",
"Strategies/Encoding/DateEncodingStrategies.swift",
"Strategies/Encoding/DecimalEncodingStrategies.swift",
"Strategies/Encoding/EncodingStrategy.swift",
"Strategies/Encoding/KeyEncodingStrategy.swift",
"Strategies/Encoding/NumericEncodingStrategy.swift",
"Strategies/Encoding/OptionalEncodingStrategy.swift",
"Strategies/Encoding/URLEncodingStrategies.swift",
"Utils/AnyCodingKey.swift",
"Utils/ErrorsString.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7.1"
}
Done.