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 main (0829fe), 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-1":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0829fe1 Update windows.yml (#17)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
0829fe1da37e755a70875e5761bd693a52a0e953
SUCCESS checkout https://github.com/0xLeif/Cache.git at main
========================================
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-1":/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] Compiling Cache Global+images.swift
[4/26] Compiling Cache Global+loggers.swift
[5/26] Compiling Cache Global.swift
[6/26] 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 |
[7/26] 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 |
[8/26] 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 |
[9/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 |
[10/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 |
[11/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 |
[12/29] Compiling Cache AnyCacheable.swift
[13/29] Compiling Cache Cache+subscript.swift
[14/29] Compiling Cache Cache.swift
[15/29] Compiling Cache ComposableCache.swift
[16/29] 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 |
[17/29] Compiling Cache Cacheable.swift
[18/29] Compiling Cache Dictionary+Cacheable.swift
[19/29] Compiling Cache InvalidTypeError.swift
[20/29] Compiling Cache RequiredKeysCache+subscript.swift
[21/29] Compiling Cache RequiredKeysCache.swift
[22/29] Compiling Cache CacheInitializable.swift
[23/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
[24/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
[25/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
[26/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
[27/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 |
[28/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 |
[29/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 |
Build complete! (15.61s)
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.