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 CacheStore, reference 4.0.0 (aa4e88), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:52:59 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/CacheStore.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xOpenBytes/CacheStore
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at aa4e884 V4.0.0 (#25)
Cloned https://github.com/0xOpenBytes/CacheStore.git
Revision (git rev-parse @):
aa4e884551f3286f5e841894fd274c17120f7fb2
SUCCESS checkout https://github.com/0xOpenBytes/CacheStore.git at 4.0.0
Fetching https://github.com/0xOpenBytes/c
Fetching https://github.com/0xLeif/swift-custom-dump
[1/237] Fetching c
[222/1616] Fetching c, swift-custom-dump
Fetched https://github.com/0xLeif/swift-custom-dump from cache (0.90s)
Fetched https://github.com/0xOpenBytes/c from cache (0.90s)
Computing version for https://github.com/0xLeif/swift-custom-dump
Computed https://github.com/0xLeif/swift-custom-dump at 0.4.1 (0.58s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5010] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.35s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 3.0.2 (0.55s)
Fetching https://github.com/0xOpenBytes/t
[1/368] Fetching t
Fetched https://github.com/0xOpenBytes/t from cache (0.93s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (0.55s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.56s)
Creating working copy for https://github.com/0xLeif/swift-custom-dump
Working copy of https://github.com/0xLeif/swift-custom-dump resolved at 0.4.1
Creating working copy for https://github.com/0xOpenBytes/c
Working copy of https://github.com/0xOpenBytes/c resolved at 3.0.2
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 1.0.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "cachestore",
      "name": "CacheStore",
      "url": "https://github.com/0xOpenBytes/CacheStore.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CacheStore",
      "dependencies": [
        {
          "identity": "c",
          "name": "c",
          "url": "https://github.com/0xOpenBytes/c",
          "version": "3.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/c",
          "dependencies": [
            {
              "identity": "t",
              "name": "t",
              "url": "https://github.com/0xOpenBytes/t",
              "version": "1.0.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/t",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-custom-dump",
          "name": "swift-custom-dump",
          "url": "https://github.com/0xLeif/swift-custom-dump",
          "version": "0.4.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-custom-dump",
          "dependencies": [
            {
              "identity": "xctest-dynamic-overlay",
              "name": "xctest-dynamic-overlay",
              "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
              "version": "0.9.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/0xOpenBytes/CacheStore.git
[1/1085] Fetching cachestore
Fetched https://github.com/0xOpenBytes/CacheStore.git from cache (0.83s)
Fetching https://github.com/0xLeif/swift-custom-dump from cache
Fetching https://github.com/0xOpenBytes/c from cache
Fetched https://github.com/0xOpenBytes/c from cache (0.48s)
Fetched https://github.com/0xLeif/swift-custom-dump from cache (0.48s)
Computing version for https://github.com/0xLeif/swift-custom-dump
Computed https://github.com/0xLeif/swift-custom-dump at 0.4.1 (0.02s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.47s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 3.0.2 (0.02s)
Fetching https://github.com/0xOpenBytes/t from cache
Fetched https://github.com/0xOpenBytes/t from cache (0.46s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (0.02s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.02s)
Creating working copy for https://github.com/0xOpenBytes/CacheStore.git
Working copy of https://github.com/0xOpenBytes/CacheStore.git resolved at 4.0.0 (aa4e884)
Creating working copy for https://github.com/0xOpenBytes/c
Working copy of https://github.com/0xOpenBytes/c resolved at 3.0.2
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 1.0.4
Creating working copy for https://github.com/0xLeif/swift-custom-dump
Working copy of https://github.com/0xLeif/swift-custom-dump resolved at 0.4.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
warning: '.resolve-product-dependencies': dependency 'cachestore' is not used by any target
Found 2 product dependencies
  - c
  - swift-custom-dump
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xOpenBytes/CacheStore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/21] Compiling t t.swift
[8/21] Compiling t t+Structure.swift
[9/21] Compiling t t+Factories.swift
[10/21] Emitting module t
[11/21] Compiling t t+Logging.swift
[12/21] Compiling t t+Assertion.swift
[13/23] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[14/23] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[15/23] Compiling XCTestDynamicOverlay XCTFail.swift
[16/23] Compiling XCTestDynamicOverlay Unimplemented.swift
[17/23] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[18/23] Emitting module XCTestDynamicOverlay
[19/23] Compiling XCTestDynamicOverlay Deprecations.swift
[20/23] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[21/23] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[22/47] Compiling c c.swift
[23/47] Emitting module c
[24/47] Compiling CustomDump CustomDumpRepresentable.swift
[25/47] Compiling CustomDump CustomDumpStringConvertible.swift
[26/49] Compiling CustomDump String.swift
[27/49] Compiling CustomDump XCTAssertNoDifference.swift
[28/49] Compiling CustomDump AnyType.swift
[29/49] Compiling CustomDump Box.swift
[30/49] Compiling CustomDump UserNotifications.swift
[31/49] Compiling CustomDump UserNotificationsUI.swift
[32/49] Compiling CustomDump CustomDumpReflectable.swift
[33/49] Emitting module CustomDump
[34/49] Compiling CustomDump CollectionDifference.swift
[35/49] Compiling CustomDump Mirror.swift
[36/49] Compiling CustomDump Diff.swift
[37/49] Compiling CustomDump Dump.swift
[38/49] Compiling CustomDump Foundation.swift
[39/49] Compiling CustomDump GameKit.swift
[40/49] Compiling CustomDump KeyPath.swift
[41/49] Compiling CustomDump Photos.swift
[42/49] Compiling CustomDump Speech.swift
[43/49] Compiling CustomDump StoreKit.swift
[44/49] Compiling CustomDump CoreImage.swift
[45/49] Compiling CustomDump CoreLocation.swift
[46/49] Compiling CustomDump CoreMotion.swift
[47/49] Compiling CustomDump Swift.swift
[48/49] Compiling CustomDump SwiftUI.swift
[49/49] Compiling CustomDump UIKit.swift
[50/59] Compiling CacheStore ActionHandling.swift
[51/59] Compiling CacheStore ScopedStore.swift
[52/59] Compiling CacheStore StoreContent.swift
[53/59] Compiling CacheStore StoreView.swift
[54/59] Compiling CacheStore ScopedCacheStore.swift
[55/59] Compiling CacheStore Store+StoreContent.swift
[56/59] Emitting module CacheStore
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:153:17: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
151 |
152 |     /// Creates a `ScopedStore`
153 |     public func scope<ScopedKey: Hashable, ScopedAction, ScopedDependency>(
    |                 `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
154 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
155 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:153:17: warning: cannot use enum 'c' here; 'c' was not imported by this file
151 |
152 |     /// Creates a `ScopedStore`
153 |     public func scope<ScopedKey: Hashable, ScopedAction, ScopedDependency>(
    |                 `- warning: cannot use enum 'c' here; 'c' was not imported by this file
154 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
155 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:196:17: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
194 |
195 |     /// Creates an Actionless `ScopedStore`
196 |     public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
    |                 `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
197 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
198 |         dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:196:17: warning: cannot use enum 'c' here; 'c' was not imported by this file
194 |
195 |     /// Creates an Actionless `ScopedStore`
196 |     public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
    |                 `- warning: cannot use enum 'c' here; 'c' was not imported by this file
197 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
198 |         dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:251:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
249 |
250 |     /// Creates a `ScopedStore`
251 |     func scope<ScopedKey: Hashable, ScopedAction>(
    |          `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
252 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
253 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:251:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
249 |
250 |     /// Creates a `ScopedStore`
251 |     func scope<ScopedKey: Hashable, ScopedAction>(
    |          `- warning: cannot use enum 'c' here; 'c' was not imported by this file
252 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
253 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:267:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
265 |
266 |     /// Creates a `ScopedStore`
267 |     func actionlessScope<ScopedKey: Hashable>(
    |          `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
268 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
269 |         defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:267:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
265 |
266 |     /// Creates a `ScopedStore`
267 |     func actionlessScope<ScopedKey: Hashable>(
    |          `- warning: cannot use enum 'c' here; 'c' was not imported by this file
268 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
269 |         defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/TestStore.swift:11:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 | /// Static object to provide the `FailureHandler` to any `TestStore`
 10 | public enum TestStoreFailure {
 11 |     public static var handler: FailureHandler = XCTestDynamicOverlay.XCTFail
    |                       |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'handler' 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
 12 | }
 13 |
[57/59] Compiling CacheStore Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:153:17: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
151 |
152 |     /// Creates a `ScopedStore`
153 |     public func scope<ScopedKey: Hashable, ScopedAction, ScopedDependency>(
    |                 `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
154 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
155 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:153:17: warning: cannot use enum 'c' here; 'c' was not imported by this file
151 |
152 |     /// Creates a `ScopedStore`
153 |     public func scope<ScopedKey: Hashable, ScopedAction, ScopedDependency>(
    |                 `- warning: cannot use enum 'c' here; 'c' was not imported by this file
154 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
155 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:196:17: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
194 |
195 |     /// Creates an Actionless `ScopedStore`
196 |     public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
    |                 `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
197 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
198 |         dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:196:17: warning: cannot use enum 'c' here; 'c' was not imported by this file
194 |
195 |     /// Creates an Actionless `ScopedStore`
196 |     public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
    |                 `- warning: cannot use enum 'c' here; 'c' was not imported by this file
197 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
198 |         dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:251:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
249 |
250 |     /// Creates a `ScopedStore`
251 |     func scope<ScopedKey: Hashable, ScopedAction>(
    |          `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
252 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
253 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:251:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
249 |
250 |     /// Creates a `ScopedStore`
251 |     func scope<ScopedKey: Hashable, ScopedAction>(
    |          `- warning: cannot use enum 'c' here; 'c' was not imported by this file
252 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
253 |         actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:267:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
265 |
266 |     /// Creates a `ScopedStore`
267 |     func actionlessScope<ScopedKey: Hashable>(
    |          `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
268 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
269 |         defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type declared here
347 |
348 |     /// This transformation uses two UniDirectionalTransformations to be able to transform `From` into `To` and `To` into `From`.
349 |     typealias BiDirectionalTransformation<From, To> = (
    |               `- note: type declared here
350 |         from: UniDirectionalTransformation<From, To>,
351 |         to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:267:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
265 |
266 |     /// Creates a `ScopedStore`
267 |     func actionlessScope<ScopedKey: Hashable>(
    |          `- warning: cannot use enum 'c' here; 'c' was not imported by this file
268 |         keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
269 |         defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: type declared here
 43 |
 44 | /// Composition
 45 | public enum c {
    |             `- note: type declared here
 46 |     /// `Error` that reports the missing keys
 47 |     public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:217:20: warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 |
  7 | /// An `ObservableObject` that uses actions to modify the state which is a `CacheStore`
  8 | open class Store<Key: Hashable, Action, Dependency>: ObservableObject, ActionHandling {
    |            `- note: generic class 'Store' does not conform to the 'Sendable' protocol
  9 |     private var lock: NSLock
 10 |     private var isDebugging: Bool
    :
215 |     ) -> Binding<Value> {
216 |         Binding(
217 |             get: { self.get(key) ?? fallback },
    |                    `- warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
218 |             set: { self.handle(action: using($0)) }
219 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:217:29: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 |
  7 | /// An `ObservableObject` that uses actions to modify the state which is a `CacheStore`
  8 | open class Store<Key: Hashable, Action, Dependency>: ObservableObject, ActionHandling {
    |                  `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  9 |     private var lock: NSLock
 10 |     private var isDebugging: Bool
    :
215 |     ) -> Binding<Value> {
216 |         Binding(
217 |             get: { self.get(key) ?? fallback },
    |                             `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
218 |             set: { self.handle(action: using($0)) }
219 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:217:37: warning: capture of 'fallback' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 |
210 |     /// Creates a `Binding` for the given `Key` using an `Action` to set the value
211 |     public func binding<Value>(
    |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
212 |         _ key: Key,
213 |         fallback: Value,
    :
215 |     ) -> Binding<Value> {
216 |         Binding(
217 |             get: { self.get(key) ?? fallback },
    |                                     `- warning: capture of 'fallback' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
218 |             set: { self.handle(action: using($0)) }
219 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:217:37: warning: implicit capture of 'fallback' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
209 |
210 |     /// Creates a `Binding` for the given `Key` using an `Action` to set the value
211 |     public func binding<Value>(
    |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
212 |         _ key: Key,
213 |         fallback: Value,
    :
215 |     ) -> Binding<Value> {
216 |         Binding(
217 |             get: { self.get(key) ?? fallback },
    |                                     `- warning: implicit capture of 'fallback' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
218 |             set: { self.handle(action: using($0)) }
219 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:218:20: warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 |
  7 | /// An `ObservableObject` that uses actions to modify the state which is a `CacheStore`
  8 | open class Store<Key: Hashable, Action, Dependency>: ObservableObject, ActionHandling {
    |            `- note: generic class 'Store' does not conform to the 'Sendable' protocol
  9 |     private var lock: NSLock
 10 |     private var isDebugging: Bool
    :
216 |         Binding(
217 |             get: { self.get(key) ?? fallback },
218 |             set: { self.handle(action: using($0)) }
    |                    `- warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
219 |         )
220 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:218:40: warning: capture of 'using' with non-sendable type '(Value) -> Action' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |         Binding(
217 |             get: { self.get(key) ?? fallback },
218 |             set: { self.handle(action: using($0)) }
    |                                        |- warning: capture of 'using' with non-sendable type '(Value) -> Action' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 |         )
220 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:229:20: warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 |
  7 | /// An `ObservableObject` that uses actions to modify the state which is a `CacheStore`
  8 | open class Store<Key: Hashable, Action, Dependency>: ObservableObject, ActionHandling {
    |            `- note: generic class 'Store' does not conform to the 'Sendable' protocol
  9 |     private var lock: NSLock
 10 |     private var isDebugging: Bool
    :
227 |     ) -> Binding<Value?> {
228 |         Binding(
229 |             get: { self.get(key) },
    |                    `- warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |             set: { self.handle(action: using($0)) }
231 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:229:29: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 |
  7 | /// An `ObservableObject` that uses actions to modify the state which is a `CacheStore`
  8 | open class Store<Key: Hashable, Action, Dependency>: ObservableObject, ActionHandling {
    |                  `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  9 |     private var lock: NSLock
 10 |     private var isDebugging: Bool
    :
227 |     ) -> Binding<Value?> {
228 |         Binding(
229 |             get: { self.get(key) },
    |                             `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |             set: { self.handle(action: using($0)) }
231 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:230:20: warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  6 |
  7 | /// An `ObservableObject` that uses actions to modify the state which is a `CacheStore`
  8 | open class Store<Key: Hashable, Action, Dependency>: ObservableObject, ActionHandling {
    |            `- note: generic class 'Store' does not conform to the 'Sendable' protocol
  9 |     private var lock: NSLock
 10 |     private var isDebugging: Bool
    :
228 |         Binding(
229 |             get: { self.get(key) },
230 |             set: { self.handle(action: using($0)) }
    |                    `- warning: capture of 'self' with non-sendable type 'Store<Key, Action, Dependency>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
231 |         )
232 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:230:40: warning: capture of 'using' with non-sendable type '(Value?) -> Action' in a `@Sendable` closure; this is an error in the Swift 6 language mode
228 |         Binding(
229 |             get: { self.get(key) },
230 |             set: { self.handle(action: using($0)) }
    |                                        |- warning: capture of 'using' with non-sendable type '(Value?) -> Action' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
231 |         )
232 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:302:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
300 |         if let actionEffect = actionEffect {
301 |             cancel(id: actionEffect.id)
302 |             let effectTask = Task { [weak self] in
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
303 |                 defer { self?.cancel(id: actionEffect.id) }
    |                         |                `- note: closure captures non-Sendable 'actionEffect'
    |                         `- note: closure captures non-Sendable 'self'
304 |
305 |                 if Task.isCancelled { return }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:117:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
115 |         guard Thread.isMainThread else {
116 |             DispatchQueue.main.async { [weak self] in
117 |                 self?.handle(action: action)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
118 |             }
119 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:117:38: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
115 |         guard Thread.isMainThread else {
116 |             DispatchQueue.main.async { [weak self] in
117 |                 self?.handle(action: action)
    |                                      |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
118 |             }
119 |             return
[58/59] Compiling CacheStore TestStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/TestStore.swift:11:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 | /// Static object to provide the `FailureHandler` to any `TestStore`
 10 | public enum TestStoreFailure {
 11 |     public static var handler: FailureHandler = XCTestDynamicOverlay.XCTFail
    |                       |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'handler' 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
 12 | }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/TestStore.swift:130:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
128 |         let sema = DispatchSemaphore(value: 0)
129 |
130 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
131 |             nextAction = await effect.effect()
    |             `- note: closure captures 'self' which is accessible to code in the current task
132 |             sema.signal()
133 |         }
[59/59] Compiling CacheStore CacheStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:194:20: warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |            `- note: generic class 'CacheStore' does not conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
192 |     ) -> Binding<Value> {
193 |         Binding(
194 |             get: { self.get(key) ?? fallback },
    |                    `- warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |             set: { self.set(value: $0, forKey: key) }
196 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:194:29: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |                       `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
192 |     ) -> Binding<Value> {
193 |         Binding(
194 |             get: { self.get(key) ?? fallback },
    |                             `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |             set: { self.set(value: $0, forKey: key) }
196 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:194:37: warning: capture of 'fallback' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |
187 |     /// Creates a `Binding` for the given `Key`
188 |     func binding<Value>(
    |                  `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
189 |         _ key: Key,
190 |         as: Value.Type = Value.self,
    :
192 |     ) -> Binding<Value> {
193 |         Binding(
194 |             get: { self.get(key) ?? fallback },
    |                                     `- warning: capture of 'fallback' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |             set: { self.set(value: $0, forKey: key) }
196 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:194:37: warning: implicit capture of 'fallback' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
186 |
187 |     /// Creates a `Binding` for the given `Key`
188 |     func binding<Value>(
    |                  `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
189 |         _ key: Key,
190 |         as: Value.Type = Value.self,
    :
192 |     ) -> Binding<Value> {
193 |         Binding(
194 |             get: { self.get(key) ?? fallback },
    |                                     `- warning: implicit capture of 'fallback' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
195 |             set: { self.set(value: $0, forKey: key) }
196 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:195:20: warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |            `- note: generic class 'CacheStore' does not conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
193 |         Binding(
194 |             get: { self.get(key) ?? fallback },
195 |             set: { self.set(value: $0, forKey: key) }
    |                    `- warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 |         )
197 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:195:48: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |                       `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
193 |         Binding(
194 |             get: { self.get(key) ?? fallback },
195 |             set: { self.set(value: $0, forKey: key) }
    |                                                `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 |         )
197 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:205:20: warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |            `- note: generic class 'CacheStore' does not conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
203 |     ) -> Binding<Value?> {
204 |         Binding(
205 |             get: { self.get(key) },
    |                    `- warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |             set: { self.set(value: $0, forKey: key) }
207 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:205:29: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |                       `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
203 |     ) -> Binding<Value?> {
204 |         Binding(
205 |             get: { self.get(key) },
    |                             `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |             set: { self.set(value: $0, forKey: key) }
207 |         )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:206:20: warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |            `- note: generic class 'CacheStore' does not conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
204 |         Binding(
205 |             get: { self.get(key) },
206 |             set: { self.set(value: $0, forKey: key) }
    |                    `- warning: capture of 'self' with non-sendable type 'CacheStore<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
207 |         )
208 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:206:48: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  7 |
  8 | /// An `ObservableObject` that has a `cache` which is the source of truth for this object
  9 | open class CacheStore<Key: Hashable>: ObservableObject, Cacheable {
    |                       `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 10 |     /// `Error` that reports the missing keys for the `CacheStore`
 11 |     public typealias MissingRequiredKeysError = c.MissingRequiredKeysError
    :
204 |         Binding(
205 |             get: { self.get(key) },
206 |             set: { self.set(value: $0, forKey: key) }
    |                                                `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
207 |         )
208 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:69:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 67 |         guard Thread.isMainThread else {
 68 |             DispatchQueue.main.async {
 69 |                 self.set(value: value, forKey: key)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 70 |             }
 71 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:69:33: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 67 |         guard Thread.isMainThread else {
 68 |             DispatchQueue.main.async {
 69 |                 self.set(value: value, forKey: key)
    |                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 70 |             }
 71 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:69:48: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
 67 |         guard Thread.isMainThread else {
 68 |             DispatchQueue.main.async {
 69 |                 self.set(value: value, forKey: key)
    |                                                |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
    |                                                `- note: task-isolated 'key' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 70 |             }
 71 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:134:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 |         guard Thread.isMainThread else {
133 |             DispatchQueue.main.async {
134 |                 self.remove(key)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 |             }
136 |             return
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:134:29: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
132 |         guard Thread.isMainThread else {
133 |             DispatchQueue.main.async {
134 |                 self.remove(key)
    |                             |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: task-isolated 'key' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 |             }
136 |             return
Build complete! (30.27s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "c",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xOpenBytes/c"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/swift-custom-dump"
    }
  ],
  "manifest_display_name" : "CacheStore",
  "name" : "CacheStore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "CacheStore",
      "targets" : [
        "CacheStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CacheStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CacheStoreTests",
      "path" : "Tests/CacheStoreTests",
      "sources" : [
        "CacheStoreTests.swift",
        "StoreContentTests.swift",
        "StoreTests.swift"
      ],
      "target_dependencies" : [
        "CacheStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CacheStore",
      "module_type" : "SwiftTarget",
      "name" : "CacheStore",
      "path" : "Sources/CacheStore",
      "product_dependencies" : [
        "c",
        "CustomDump"
      ],
      "product_memberships" : [
        "CacheStore"
      ],
      "sources" : [
        "Actions/ActionHandling.swift",
        "Stores/CacheStore/CacheStore.swift",
        "Stores/CacheStore/ScopedCacheStore.swift",
        "Stores/Store/Content/Store+StoreContent.swift",
        "Stores/Store/Content/StoreContent.swift",
        "Stores/Store/Content/StoreView.swift",
        "Stores/Store/ScopedStore.swift",
        "Stores/Store/Store.swift",
        "Stores/Store/TestStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.