The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CodableProxies, reference main (107b8a), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 21:57:45 UTC.

Swift 6 data race errors: 10

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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "codableproxies",
      "name": "CodableProxies",
      "url": "https://github.com/dankinsoid/CodableProxies.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CodableProxies",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dankinsoid/CodableProxies.git
[1/372] Fetching codableproxies
Fetched https://github.com/dankinsoid/CodableProxies.git from cache (0.64s)
Creating working copy for https://github.com/dankinsoid/CodableProxies.git
Working copy of https://github.com/dankinsoid/CodableProxies.git resolved at main (107b8ae)
warning: '.resolve-product-dependencies': dependency 'codableproxies' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankinsoid/CodableProxies.git
https://github.com/dankinsoid/CodableProxies.git
{
  "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"
}
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/36] Emitting module CodableProxies
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26: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
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 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
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27: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
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | 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
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/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/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/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: 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/CodableProxies/Strategies/Decoding/DecodingStrategy.swift:291: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
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 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
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 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/CodableProxies/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/CodableProxies/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/39] Compiling CodableProxies OptionalEncodingStrategy.swift
[5/39] Compiling CodableProxies URLEncodingStrategies.swift
[6/39] Compiling CodableProxies AnyCodingKey.swift
[7/39] Compiling CodableProxies ValueDecoder.swift
/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 | 	}
[8/39] Compiling CodableProxies EncoderIntrospect.swift
/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 | 	}
[9/39] Compiling CodableProxies EncoderProxy.swift
/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 | 	}
[10/39] Compiling CodableProxies EncoderWrapper.swift
/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 | 	}
[11/39] Compiling CodableProxies CoderProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26: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
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 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
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27: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
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | 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
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 | 	}
[12/39] Compiling CodableProxies DecoderIntrospect.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26: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
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 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
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27: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
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | 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
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 | 	}
[13/39] Compiling CodableProxies DecoderProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26: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
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 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
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27: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
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | 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
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 | 	}
[14/39] Compiling CodableProxies DecoderWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:26: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
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 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
27 | private var _ignoreStrategy: PartialKeyPath<DecodingStrategy>?
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableProxies/DecoderProxy/DecoderIntrospect.swift:27: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
25 |
26 | private var _strategy: DecodingStrategy = .default
27 | 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
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 | 	}
[15/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 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/CodableProxies/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.
[16/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 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/CodableProxies/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.
[17/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 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/CodableProxies/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.
[18/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: 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;
[19/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: 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;
[20/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: 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;
[21/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: 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;
[22/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 nonisolated 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 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
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 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.
[23/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 nonisolated 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 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
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 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.
[24/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 nonisolated 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 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
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 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.
[25/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 nonisolated 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 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
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 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.
[26/39] Compiling CodableProxies OptionalCodingStrategies.swift
[27/39] Compiling CodableProxies URLCodingStrategies.swift
[28/39] Compiling CodableProxies BoolDecodingStrategy.swift
[29/39] Compiling CodableProxies DataDecodingStrategies.swift
[30/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 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 |
[31/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 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 |
[32/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 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 |
[33/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 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 |
[34/39] Compiling CodableProxies DataEncodingStrategies.swift
[35/39] Compiling CodableProxies DateEncodingStrategies.swift
[36/39] Compiling CodableProxies DecimalEncodingStrategies.swift
[37/39] Compiling CodableProxies NumericDeecodingStrategy.swift
[38/39] Compiling CodableProxies URLDecodingStrategies.swift
[39/39] Compiling CodableProxies BoolEncodingStrategy.swift
Build complete! (6.05s)
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.