This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Pigeon with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fmo91/Pigeon.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fmo91/Pigeon
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 237054b Add version 0.1.17 to podspec
Cloned https://github.com/fmo91/Pigeon.git
Revision (git rev-parse @):
237054bc7d5521970594a38dfea6faa668953574
SUCCESS checkout https://github.com/fmo91/Pigeon.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/fmo91/Pigeon.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/19] 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 non-isolated 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 non-isolated 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
[4/19] 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 non-isolated 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 non-isolated 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
[5/19] Compiling Pigeon QueryKey.swift
[6/19] Compiling Pigeon QueryInvalidationListener.swift
[7/19] Compiling Pigeon QueryInvalidator.swift
[8/19] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 |
[9/19] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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/19] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 |
[11/19] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 |
[12/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 non-isolated 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 non-isolated 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 |
[13/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 non-isolated 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 non-isolated 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 |
[14/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 |
[15/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 |
[16/19] 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 |
[17/19] Compiling Pigeon QueryRenderer.swift
[18/19] Compiling Pigeon QueryType.swift
[19/19] 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 QueryState.swift
Build complete! (36.25s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.