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 Cache, reference 2.1.0 (a535c6), with Swift 6.0 for Linux on 3 Nov 2024 22:13:49 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Cache.git
Reference: 2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/0xLeif/Cache
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at a535c68 Update PersistableCache to use mapppings (#13)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
a535c68aab7bf0b42bda7a5de66b04f86e48c6e6
SUCCESS checkout https://github.com/0xLeif/Cache.git at 2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xLeif/Cache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/26] Emitting module Cache
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'dependencies' 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
4 | }
5 |
[4/29] Compiling Cache RequiredKeysCache+subscript.swift
[5/29] Compiling Cache RequiredKeysCache.swift
[6/29] Compiling Cache CacheInitializable.swift
[7/29] Compiling Cache Logging.swift
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'dependencies' 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
4 | }
5 |
[8/29] Compiling Cache OptionallyCached.swift
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'dependencies' 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
4 | }
5 |
[9/29] Compiling Cache Resolved.swift
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'dependencies' 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
4 | }
5 |
[10/29] Compiling Cache MissingRequiredKeysError.swift
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'dependencies' 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
4 | }
5 |
[11/29] Compiling Cache Global+cache.swift
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'dependencies' 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
4 | }
5 |
[12/29] Compiling Cache Global+dependencies.swift
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'dependencies' 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
4 | }
5 |
[13/29] Compiling Cache Cacheable.swift
[14/29] Compiling Cache Dictionary+Cacheable.swift
[15/29] Compiling Cache InvalidTypeError.swift
[16/29] Compiling Cache ExpiringCache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[17/29] Compiling Cache ExpiringCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[18/29] Compiling Cache LRUCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[19/29] Compiling Cache PersistableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[20/29] Compiling Cache AnyCacheable.swift
[21/29] Compiling Cache Cache+subscript.swift
[22/29] Compiling Cache Cache.swift
[23/29] Compiling Cache ComposableCache.swift
[24/29] Compiling Cache Global+images.swift
[25/29] Compiling Cache Global+loggers.swift
[26/29] Compiling Cache Global.swift
[27/29] Compiling Cache JSON+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
[28/29] Compiling Cache JSON.swift
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
[29/29] Compiling Cache Cached.swift
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: annotate 'cache' 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
4 | }
5 |
Build complete! (17.74s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Cache",
  "name" : "Cache",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Cache",
      "targets" : [
        "Cache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CacheTests",
      "module_type" : "SwiftTarget",
      "name" : "CacheTests",
      "path" : "Tests/CacheTests",
      "sources" : [
        "AnyCacheableTests.swift",
        "CacheInitializableTests.swift",
        "CacheTests.swift",
        "ComposableCacheTests.swift",
        "DictionaryTests.swift",
        "ExampleTests.swift",
        "ExpiringCacheTests.swift",
        "JSONTests.swift",
        "LRUCacheTests.swift",
        "LoggingTests.swift",
        "PersistableCacheTests.swift",
        "PropertyWrappersTests.swift",
        "RequiredKeysCacheTests.swift"
      ],
      "target_dependencies" : [
        "Cache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cache",
      "module_type" : "SwiftTarget",
      "name" : "Cache",
      "path" : "Sources/Cache",
      "product_memberships" : [
        "Cache"
      ],
      "sources" : [
        "Cache/AnyCacheable.swift",
        "Cache/Cache+subscript.swift",
        "Cache/Cache.swift",
        "Cache/ComposableCache.swift",
        "Cache/ExpiringCache+subscript.swift",
        "Cache/ExpiringCache.swift",
        "Cache/LRUCache.swift",
        "Cache/PersistableCache.swift",
        "Cache/RequiredKeysCache+subscript.swift",
        "Cache/RequiredKeysCache.swift",
        "CacheInitializable.swift",
        "Cacheable.swift",
        "Dictionary/Dictionary+Cacheable.swift",
        "Errors/InvalidTypeError.swift",
        "Errors/MissingRequiredKeysError.swift",
        "Global/Global+cache.swift",
        "Global/Global+dependencies.swift",
        "Global/Global+images.swift",
        "Global/Global+loggers.swift",
        "Global/Global.swift",
        "JSON/JSON+subscript.swift",
        "JSON/JSON.swift",
        "PropertyWrappers/Cached.swift",
        "PropertyWrappers/Logging.swift",
        "PropertyWrappers/OptionallyCached.swift",
        "PropertyWrappers/Resolved.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.