Build Information
Successful build of CodableProxies with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 10
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/dankinsoid/CodableProxies.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/CodableProxies
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 107b8ae 1.1.3
Cloned https://github.com/dankinsoid/CodableProxies.git
Revision (git rev-parse @):
107b8aee78ddb90ba775a902914caf2fd5d6f577
SUCCESS checkout https://github.com/dankinsoid/CodableProxies.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/dankinsoid/CodableProxies.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/36] Emitting module CodableProxies
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26:13: warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private let atomicQueue = DispatchQueue(label: "com.global.vars")
25 |
26 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_strategy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_ignoreStrategy' 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
28 |
29 | extension DecodingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderWrapper.swift:642:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
633 | }
634 |
635 | private struct KeyedContainerDecoder<Key: CodingKey>: Decoder, SingleValueDecodingContainer {
| `- note: 'Key' previously declared here
636 |
637 | let key: Key
:
640 | var codingPath: [CodingKey] { base.codingPath + [key] }
641 |
642 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
643 | try base.nestedContainer(keyedBy: type, forKey: key)
644 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/EncoderProxy/EncoderWrapper.swift:550:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
535 | }
536 |
537 | private struct KeyedContainerEncoder<Key: CodingKey>: Encoder, SingleValueEncodingContainer {
| `- note: 'Key' previously declared here
538 |
539 | let key: Key
:
548 | }
549 |
550 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
551 | base.nestedContainer(keyedBy: type, forKey: key)
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/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: annotate 'isoFormatter' 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
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key decoding strategy.
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key encoding strategy.
[4/39] Compiling CodableProxies DateDecodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key decoding strategy.
[5/39] Compiling CodableProxies DecimalDecodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key decoding strategy.
[6/39] Compiling CodableProxies DecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key decoding strategy.
[7/39] Compiling CodableProxies KeyDecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/KeyDecodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key decoding strategy.
[8/39] Compiling CodableProxies OptionalEncodingStrategy.swift
[9/39] Compiling CodableProxies URLEncodingStrategies.swift
[10/39] Compiling CodableProxies AnyCodingKey.swift
[11/39] Compiling CodableProxies ValueDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/EncoderProxy/EncoderWrapper.swift:550:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
535 | }
536 |
537 | private struct KeyedContainerEncoder<Key: CodingKey>: Encoder, SingleValueEncodingContainer {
| `- note: 'Key' previously declared here
538 |
539 | let key: Key
:
548 | }
549 |
550 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
551 | base.nestedContainer(keyedBy: type, forKey: key)
552 | }
[12/39] Compiling CodableProxies EncoderIntrospect.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/EncoderProxy/EncoderWrapper.swift:550:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
535 | }
536 |
537 | private struct KeyedContainerEncoder<Key: CodingKey>: Encoder, SingleValueEncodingContainer {
| `- note: 'Key' previously declared here
538 |
539 | let key: Key
:
548 | }
549 |
550 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
551 | base.nestedContainer(keyedBy: type, forKey: key)
552 | }
[13/39] Compiling CodableProxies EncoderProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/EncoderProxy/EncoderWrapper.swift:550:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
535 | }
536 |
537 | private struct KeyedContainerEncoder<Key: CodingKey>: Encoder, SingleValueEncodingContainer {
| `- note: 'Key' previously declared here
538 |
539 | let key: Key
:
548 | }
549 |
550 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
551 | base.nestedContainer(keyedBy: type, forKey: key)
552 | }
[14/39] Compiling CodableProxies EncoderWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/EncoderProxy/EncoderWrapper.swift:550:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
535 | }
536 |
537 | private struct KeyedContainerEncoder<Key: CodingKey>: Encoder, SingleValueEncodingContainer {
| `- note: 'Key' previously declared here
538 |
539 | let key: Key
:
548 | }
549 |
550 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
551 | base.nestedContainer(keyedBy: type, forKey: key)
552 | }
[15/39] Compiling CodableProxies OptionalCodingStrategies.swift
[16/39] Compiling CodableProxies URLCodingStrategies.swift
[17/39] Compiling CodableProxies BoolDecodingStrategy.swift
[18/39] Compiling CodableProxies DataDecodingStrategies.swift
[19/39] Compiling CodableProxies ValueEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
[20/39] Compiling CodableProxies BoolCodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
[21/39] Compiling CodableProxies CodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
[22/39] Compiling CodableProxies DataCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
[23/39] Compiling CodableProxies NumericDeecodingStrategy.swift
[24/39] Compiling CodableProxies URLDecodingStrategies.swift
[25/39] Compiling CodableProxies BoolEncodingStrategy.swift
[26/39] Compiling CodableProxies DataEncodingStrategies.swift
[27/39] Compiling CodableProxies DateEncodingStrategies.swift
[28/39] Compiling CodableProxies DecimalEncodingStrategies.swift
[29/39] Compiling CodableProxies DateCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/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: annotate 'isoFormatter' 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
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[30/39] Compiling CodableProxies DecimalCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/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: annotate 'isoFormatter' 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
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[31/39] Compiling CodableProxies KeyCodingStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/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: annotate 'isoFormatter' 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
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[32/39] Compiling CodableProxies NumericCodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/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: annotate 'isoFormatter' 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
150 | private static let defaultOptions: ISO8601DateFormatter.Options = [.withFullDate, .withFullTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withTimeZone]
151 | private static let dateFormatter = DateFormatter()
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[33/39] Compiling CodableProxies EncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key encoding strategy.
[34/39] Compiling CodableProxies KeyEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key encoding strategy.
[35/39] Compiling CodableProxies NumericEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/EncodingStrategy.swift:290:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Encoding/KeyEncodingStrategy.swift:12:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'useDefaultKeys' 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
13 |
14 | /// Custom key encoding strategy.
[36/39] Compiling CodableProxies CoderProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26:13: warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private let atomicQueue = DispatchQueue(label: "com.global.vars")
25 |
26 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_strategy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_ignoreStrategy' 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
28 |
29 | extension DecodingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderWrapper.swift:642:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
633 | }
634 |
635 | private struct KeyedContainerDecoder<Key: CodingKey>: Decoder, SingleValueDecodingContainer {
| `- note: 'Key' previously declared here
636 |
637 | let key: Key
:
640 | var codingPath: [CodingKey] { base.codingPath + [key] }
641 |
642 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
643 | try base.nestedContainer(keyedBy: type, forKey: key)
644 | }
[37/39] Compiling CodableProxies DecoderIntrospect.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26:13: warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private let atomicQueue = DispatchQueue(label: "com.global.vars")
25 |
26 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_strategy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_ignoreStrategy' 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
28 |
29 | extension DecodingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderWrapper.swift:642:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
633 | }
634 |
635 | private struct KeyedContainerDecoder<Key: CodingKey>: Decoder, SingleValueDecodingContainer {
| `- note: 'Key' previously declared here
636 |
637 | let key: Key
:
640 | var codingPath: [CodingKey] { base.codingPath + [key] }
641 |
642 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
643 | try base.nestedContainer(keyedBy: type, forKey: key)
644 | }
[38/39] Compiling CodableProxies DecoderProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26:13: warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private let atomicQueue = DispatchQueue(label: "com.global.vars")
25 |
26 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_strategy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_ignoreStrategy' 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
28 |
29 | extension DecodingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderWrapper.swift:642:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
633 | }
634 |
635 | private struct KeyedContainerDecoder<Key: CodingKey>: Decoder, SingleValueDecodingContainer {
| `- note: 'Key' previously declared here
636 |
637 | let key: Key
:
640 | var codingPath: [CodingKey] { base.codingPath + [key] }
641 |
642 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
643 | try base.nestedContainer(keyedBy: type, forKey: key)
644 | }
[39/39] Compiling CodableProxies DecoderWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Coding/CodingStrategy.swift:50:13: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: 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
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26:13: warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private let atomicQueue = DispatchQueue(label: "com.global.vars")
25 |
26 | private var _strategy: DecodingStrategy = .default
| |- warning: var '_strategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_strategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_strategy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291:13: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
289 | public extension DecodingStrategy {
290 |
291 | static var `default`: DecodingStrategy = [.Date.default, .URL.default, .Decimal.default]
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
292 | }
293 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27:13: warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
| |- warning: var '_ignoreStrategy' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_ignoreStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_ignoreStrategy' 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
28 |
29 | extension DecodingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderWrapper.swift:642:17: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
633 | }
634 |
635 | private struct KeyedContainerDecoder<Key: CodingKey>: Decoder, SingleValueDecodingContainer {
| `- note: 'Key' previously declared here
636 |
637 | let key: Key
:
640 | var codingPath: [CodingKey] { base.codingPath + [key] }
641 |
642 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key: CodingKey {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
643 | try base.nestedContainer(keyedBy: type, forKey: key)
644 | }
Build complete! (24.60s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CodableProxies",
"name" : "CodableProxies",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CodableProxies",
"targets" : [
"CodableProxies"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CodableProxiesTests",
"module_type" : "SwiftTarget",
"name" : "CodableProxiesTests",
"path" : "Tests/CodableProxiesTests",
"sources" : [
"DecoderProxyTests.swift",
"EncoderProxyTests.swift",
"Models.swift"
],
"target_dependencies" : [
"CodableProxies"
],
"type" : "test"
},
{
"c99name" : "CodableProxies",
"module_type" : "SwiftTarget",
"name" : "CodableProxies",
"path" : "Sources/CodableProxies",
"product_memberships" : [
"CodableProxies"
],
"sources" : [
"CoderProxy.swift",
"DecoderProxy/DecoderIntrospect.swift",
"DecoderProxy/DecoderProxy.swift",
"DecoderProxy/DecoderWrapper.swift",
"DecoderProxy/ValueDecoder.swift",
"EncoderProxy/EncoderIntrospect.swift",
"EncoderProxy/EncoderProxy.swift",
"EncoderProxy/EncoderWrapper.swift",
"EncoderProxy/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/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"
],
"type" : "library"
}
],
"tools_version" : "5.7.1"
}
Done.