The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Pigeon, reference 0.1.17 (18c29b), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 20:10:40 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fmo91/Pigeon.git
Reference: 0.1.17
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fmo91/Pigeon
 * tag               0.1.17     -> FETCH_HEAD
HEAD is now at 18c29b2 Add public init in QueryInvalidator
Cloned https://github.com/fmo91/Pigeon.git
Revision (git rev-parse @):
18c29b2cf1735afd5ef33bb1e983cbed9932c313
SUCCESS checkout https://github.com/fmo91/Pigeon.git at 0.1.17
========================================
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": "pigeon",
      "name": "Pigeon",
      "url": "https://github.com/fmo91/Pigeon.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Pigeon",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fmo91/Pigeon.git
[1/521] Fetching pigeon
Fetched https://github.com/fmo91/Pigeon.git from cache (1.24s)
Creating working copy for https://github.com/fmo91/Pigeon.git
Working copy of https://github.com/fmo91/Pigeon.git resolved at 0.1.17 (18c29b2)
warning: '.resolve-product-dependencies': dependency 'pigeon' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fmo91/Pigeon.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/19] Compiling Pigeon QueryCacheType.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/QueryCacheType.swift:29:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }
28 |
29 |     private(set) public static var global: QueryCacheType = inMemory.wrappedCache
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static func setGlobal(_ wrapper: QueryCache) {
31 |         QueryCache.global = wrapper.wrappedCache
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/InMemoryQueryCache.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class InMemoryQueryCache: QueryCacheType {
   |                    `- note: class 'InMemoryQueryCache' does not conform to the 'Sendable' protocol
12 |     private var cache: [QueryKey: (timestamp: Date, value: Any?)] = [:]
13 |
14 |     public static let shared = InMemoryQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
15 |     private init() {}
16 |
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/UserDefaultsQueryCache.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaultsQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class UserDefaultsQueryCache: QueryCacheType {
   |                    `- note: class 'UserDefaultsQueryCache' does not conform to the 'Sendable' protocol
12 |     public static let shared = UserDefaultsQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaultsQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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 |     private init() {}
14 |
[4/19] Compiling Pigeon UserDefaultsQueryCache.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/QueryCacheType.swift:29:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }
28 |
29 |     private(set) public static var global: QueryCacheType = inMemory.wrappedCache
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static func setGlobal(_ wrapper: QueryCache) {
31 |         QueryCache.global = wrapper.wrappedCache
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/InMemoryQueryCache.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class InMemoryQueryCache: QueryCacheType {
   |                    `- note: class 'InMemoryQueryCache' does not conform to the 'Sendable' protocol
12 |     private var cache: [QueryKey: (timestamp: Date, value: Any?)] = [:]
13 |
14 |     public static let shared = InMemoryQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
15 |     private init() {}
16 |
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/UserDefaultsQueryCache.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaultsQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class UserDefaultsQueryCache: QueryCacheType {
   |                    `- note: class 'UserDefaultsQueryCache' does not conform to the 'Sendable' protocol
12 |     public static let shared = UserDefaultsQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaultsQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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 |     private init() {}
14 |
[5/19] Compiling Pigeon AnyQuery.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/InMemoryQueryCache.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class InMemoryQueryCache: QueryCacheType {
   |                    `- note: class 'InMemoryQueryCache' does not conform to the 'Sendable' protocol
12 |     private var cache: [QueryKey: (timestamp: Date, value: Any?)] = [:]
13 |
14 |     public static let shared = InMemoryQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
15 |     private init() {}
16 |
[6/19] Compiling Pigeon InMemoryQueryCache.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/InMemoryQueryCache.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class InMemoryQueryCache: QueryCacheType {
   |                    `- note: class 'InMemoryQueryCache' does not conform to the 'Sendable' protocol
12 |     private var cache: [QueryKey: (timestamp: Date, value: Any?)] = [:]
13 |
14 |     public static let shared = InMemoryQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
15 |     private init() {}
16 |
[7/20] Compiling Pigeon PaginatedQueryKey.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryCacheConfig.swift:32:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
32 |     private(set) public static var global: QueryCacheConfig = .init()
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static func setGlobal(_ config: QueryCacheConfig) {
34 |         QueryCacheConfig.global = config
[8/20] Compiling Pigeon QueryCacheConfig.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryCacheConfig.swift:32:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
32 |     private(set) public static var global: QueryCacheConfig = .init()
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static func setGlobal(_ config: QueryCacheConfig) {
34 |         QueryCacheConfig.global = config
[9/20] Emitting module Pigeon
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/InMemoryQueryCache.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class InMemoryQueryCache: QueryCacheType {
   |                    `- note: class 'InMemoryQueryCache' does not conform to the 'Sendable' protocol
12 |     private var cache: [QueryKey: (timestamp: Date, value: Any?)] = [:]
13 |
14 |     public static let shared = InMemoryQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
15 |     private init() {}
16 |
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/QueryCacheType.swift:29:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }
28 |
29 |     private(set) public static var global: QueryCacheType = inMemory.wrappedCache
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static func setGlobal(_ wrapper: QueryCache) {
31 |         QueryCache.global = wrapper.wrappedCache
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/UserDefaultsQueryCache.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaultsQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class UserDefaultsQueryCache: QueryCacheType {
   |                    `- note: class 'UserDefaultsQueryCache' does not conform to the 'Sendable' protocol
12 |     public static let shared = UserDefaultsQueryCache()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaultsQueryCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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 |     private init() {}
14 |
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryCacheConfig.swift:32:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
32 |     private(set) public static var global: QueryCacheConfig = .init()
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static func setGlobal(_ config: QueryCacheConfig) {
34 |         QueryCacheConfig.global = config
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryRegistry.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class QueryRegistry {
   |             `- note: class 'QueryRegistry' does not conform to the 'Sendable' protocol
11 |     private var queries: [QueryKey: Any] = [:]
12 |
13 |     static let shared: QueryRegistry = QueryRegistry()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private init() {}
15 |
[10/20] Compiling Pigeon QueryState.swift
[11/20] Compiling Pigeon QueryInvalidationListener.swift
[12/20] Compiling Pigeon QueryInvalidator.swift
[13/20] Compiling Pigeon QueryRegistry.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryRegistry.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class QueryRegistry {
   |             `- note: class 'QueryRegistry' does not conform to the 'Sendable' protocol
11 |     private var queries: [QueryKey: Any] = [:]
12 |
13 |     static let shared: QueryRegistry = QueryRegistry()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private init() {}
15 |
[14/20] Compiling Pigeon QueryKey.swift
[15/20] Compiling Pigeon Query.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/QueryCacheType.swift:29:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }
28 |
29 |     private(set) public static var global: QueryCacheType = inMemory.wrappedCache
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static func setGlobal(_ wrapper: QueryCache) {
31 |         QueryCache.global = wrapper.wrappedCache
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryCacheConfig.swift:32:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
32 |     private(set) public static var global: QueryCacheConfig = .init()
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static func setGlobal(_ config: QueryCacheConfig) {
34 |         QueryCacheConfig.global = config
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryRegistry.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class QueryRegistry {
   |             `- note: class 'QueryRegistry' does not conform to the 'Sendable' protocol
11 |     private var queries: [QueryKey: Any] = [:]
12 |
13 |     static let shared: QueryRegistry = QueryRegistry()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private init() {}
15 |
[16/20] Compiling Pigeon QueryConsumer.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/QueryCacheType.swift:29:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }
28 |
29 |     private(set) public static var global: QueryCacheType = inMemory.wrappedCache
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static func setGlobal(_ wrapper: QueryCache) {
31 |         QueryCache.global = wrapper.wrappedCache
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryCacheConfig.swift:32:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
32 |     private(set) public static var global: QueryCacheConfig = .init()
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static func setGlobal(_ config: QueryCacheConfig) {
34 |         QueryCacheConfig.global = config
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryRegistry.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class QueryRegistry {
   |             `- note: class 'QueryRegistry' does not conform to the 'Sendable' protocol
11 |     private var queries: [QueryKey: Any] = [:]
12 |
13 |     static let shared: QueryRegistry = QueryRegistry()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private init() {}
15 |
[17/20] Compiling Pigeon QueryRenderer.swift
[18/20] Compiling Pigeon QueryType.swift
[19/20] Compiling Pigeon Mutation.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/QueryCacheType.swift:29:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }
28 |
29 |     private(set) public static var global: QueryCacheType = inMemory.wrappedCache
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static func setGlobal(_ wrapper: QueryCache) {
31 |         QueryCache.global = wrapper.wrappedCache
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryCacheConfig.swift:32:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
32 |     private(set) public static var global: QueryCacheConfig = .init()
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static func setGlobal(_ config: QueryCacheConfig) {
34 |         QueryCacheConfig.global = config
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryRegistry.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class QueryRegistry {
   |             `- note: class 'QueryRegistry' does not conform to the 'Sendable' protocol
11 |     private var queries: [QueryKey: Any] = [:]
12 |
13 |     static let shared: QueryRegistry = QueryRegistry()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private init() {}
15 |
[20/20] Compiling Pigeon PaginatedQuery.swift
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Cache/QueryCacheType.swift:29:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }
28 |
29 |     private(set) public static var global: QueryCacheType = inMemory.wrappedCache
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static func setGlobal(_ wrapper: QueryCache) {
31 |         QueryCache.global = wrapper.wrappedCache
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryCacheConfig.swift:32:36: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
32 |     private(set) public static var global: QueryCacheConfig = .init()
   |                                    |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                    |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                                    |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static func setGlobal(_ config: QueryCacheConfig) {
34 |         QueryCacheConfig.global = config
/Users/admin/builder/spi-builder-workspace/Pigeon/Classes/Utils/QueryRegistry.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class QueryRegistry {
   |             `- note: class 'QueryRegistry' does not conform to the 'Sendable' protocol
11 |     private var queries: [QueryKey: Any] = [:]
12 |
13 |     static let shared: QueryRegistry = QueryRegistry()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'QueryRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private init() {}
15 |
Build complete! (20.93s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pigeon",
  "name" : "Pigeon",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Pigeon",
      "targets" : [
        "Pigeon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Pigeon",
      "module_type" : "SwiftTarget",
      "name" : "Pigeon",
      "path" : "Pigeon/Classes",
      "product_memberships" : [
        "Pigeon"
      ],
      "sources" : [
        "AnyQuery.swift",
        "Cache/InMemoryQueryCache.swift",
        "Cache/QueryCacheType.swift",
        "Cache/UserDefaultsQueryCache.swift",
        "Mutation.swift",
        "PaginatedQuery.swift",
        "Query.swift",
        "QueryConsumer.swift",
        "QueryRenderer.swift",
        "QueryType.swift",
        "Utils/PaginatedQueryKey.swift",
        "Utils/QueryCacheConfig.swift",
        "Utils/QueryInvalidationListener.swift",
        "Utils/QueryInvalidator.swift",
        "Utils/QueryKey.swift",
        "Utils/QueryRegistry.swift",
        "Utils/QueryState.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.