Build Information
Successful build of CacheStore, reference main (391f94
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 20:38:39 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/CacheStore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xOpenBytes/CacheStore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 391f94d Feature/for each (#26)
Cloned https://github.com/0xOpenBytes/CacheStore.git
Revision (git rev-parse @):
391f94dd5f2dc08dca86bed902d2bb1d569735db
SUCCESS checkout https://github.com/0xOpenBytes/CacheStore.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/0xOpenBytes/CacheStore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-1EA4D86E10B52AF.txt
[7/21] Compiling t t.swift
[8/21] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[9/21] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[10/21] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[11/21] Compiling XCTestDynamicOverlay Unimplemented.swift
[12/21] Compiling XCTestDynamicOverlay Deprecations.swift
[13/21] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[14/21] Emitting module XCTestDynamicOverlay
[15/21] Compiling XCTestDynamicOverlay XCTFail.swift
[16/21] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[17/45] Compiling t t+Structure.swift
[18/45] Emitting module t
[19/45] Compiling t t+Assertion.swift
[20/45] Compiling t t+Logging.swift
[21/45] Compiling t t+Factories.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 AnyType.swift
[27/49] Compiling CustomDump Box.swift
[28/49] Emitting module CustomDump
[29/49] Compiling CustomDump String.swift
[30/49] Compiling CustomDump XCTAssertNoDifference.swift
[31/49] Compiling CustomDump Foundation.swift
[32/49] Compiling CustomDump GameKit.swift
[33/49] Compiling CustomDump KeyPath.swift
[34/49] Compiling CustomDump Diff.swift
[35/49] Compiling CustomDump Dump.swift
[36/49] Compiling CustomDump UserNotifications.swift
[37/49] Compiling CustomDump UserNotificationsUI.swift
[38/49] Compiling CustomDump CustomDumpReflectable.swift
[39/49] Compiling CustomDump CollectionDifference.swift
[40/49] Compiling CustomDump Mirror.swift
[41/49] Compiling CustomDump Swift.swift
[42/49] Compiling CustomDump SwiftUI.swift
[43/49] Compiling CustomDump UIKit.swift
[44/49] Compiling CustomDump CoreImage.swift
[45/49] Compiling CustomDump CoreLocation.swift
[46/49] Compiling CustomDump CoreMotion.swift
[47/49] Compiling CustomDump Photos.swift
[48/49] Compiling CustomDump Speech.swift
[49/49] Compiling CustomDump StoreKit.swift
[50/60] Compiling CacheStore ScopedStore.swift
[51/61] Compiling CacheStore ActionHandling.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:219:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
217 | ) -> Binding<Value> {
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
221 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:219:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
217 | ) -> Binding<Value> {
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
221 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:220:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
221 | )
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:220:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
221 | )
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:230:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
228 | ) -> Binding<Value?> {
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
232 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:230:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
228 | ) -> Binding<Value?> {
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
232 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:231:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
232 | )
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:231:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
232 | )
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:242:51: warning: capture of non-sendable type 'Key.Type' in an isolated closure
240 | ) -> Binding<Value> {
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
244 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:242:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
240 | ) -> Binding<Value> {
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
244 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:243:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
244 | )
245 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:243:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
244 | )
245 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:254:51: warning: capture of non-sendable type 'Key.Type' in an isolated closure
252 | ) -> Binding<Value?> {
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
256 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:254:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
252 | ) -> Binding<Value?> {
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
256 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:255:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
256 | )
257 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:255:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
256 | )
257 | }
[52/61] Compiling CacheStore CacheStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:219:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
217 | ) -> Binding<Value> {
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
221 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:219:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
217 | ) -> Binding<Value> {
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
221 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:220:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
221 | )
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:220:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
218 | Binding(
219 | get: { [weak self] in self?.get(key) ?? fallback },
220 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
221 | )
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:230:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
228 | ) -> Binding<Value?> {
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
232 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:230:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
228 | ) -> Binding<Value?> {
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
232 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:231:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
232 | )
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:231:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
229 | Binding(
230 | get: { [weak self] in self?.get(key) },
231 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
232 | )
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:242:51: warning: capture of non-sendable type 'Key.Type' in an isolated closure
240 | ) -> Binding<Value> {
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
244 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:242:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
240 | ) -> Binding<Value> {
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
244 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:243:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
244 | )
245 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:243:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
241 | Binding(
242 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
243 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
244 | )
245 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:254:51: warning: capture of non-sendable type 'Key.Type' in an isolated closure
252 | ) -> Binding<Value?> {
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
256 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:254:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
252 | ) -> Binding<Value?> {
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
256 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:255:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
256 | )
257 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/CacheStore.swift:255:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
253 | Binding(
254 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
255 | set: { [weak self] in self?.set(value: $0, forKey: key) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
256 | )
257 | }
[53/61] Emitting module CacheStore
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/ScopedKeyValueCacheStore.swift:22:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | //
7 |
8 | class ScopedKeyValueCacheStore<Key: Hashable, Value, ScopedKey: Hashable, ScopedValue>: CacheStore<ScopedKey> {
| `- note: 'Value' previously declared here
9 | weak var parentCacheStore: CacheStore<Key>?
10 | private var keyValueTransformation: BiDirectionalTransformation<(Key, Value?)?, (ScopedKey, ScopedValue?)?>
:
20 | required init(initialValues: [ScopedKey: Any]) { fatalError("Not implemented") }
21 |
22 | override func set<Value>(value: Value, forKey key: ScopedKey) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | super.set(value: value, forKey: key)
24 |
/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 alias 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 alias 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: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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 a `ScopedStore`
196 | public func scope<Value, ScopedValue, ScopedKey: Hashable, ScopedAction, ScopedDependency>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
197 | keyValueTransformation: BiDirectionalTransformation<(Key, Value?)?, (ScopedKey, ScopedValue?)?>,
198 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias 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 a `ScopedStore`
196 | public func scope<Value, ScopedValue, ScopedKey: Hashable, ScopedAction, ScopedDependency>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
197 | keyValueTransformation: BiDirectionalTransformation<(Key, Value?)?, (ScopedKey, ScopedValue?)?>,
198 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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:244:17: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
242 |
243 | /// Creates an Actionless `ScopedStore`
244 | public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
245 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
246 | dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias declared here
350 | from: UniDirectionalTransformation<From, To>,
351 | to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:244:17: warning: cannot use enum 'c' here; 'c' was not imported by this file
242 |
243 | /// Creates an Actionless `ScopedStore`
244 | public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
245 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
246 | dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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:325:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
323 |
324 | /// Creates a `ScopedStore`
325 | func scope<ScopedKey: Hashable, ScopedAction>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
326 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
327 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias declared here
350 | from: UniDirectionalTransformation<From, To>,
351 | to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:325:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
323 |
324 | /// Creates a `ScopedStore`
325 | func scope<ScopedKey: Hashable, ScopedAction>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
326 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
327 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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:341:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
339 |
340 | /// Creates a `ScopedStore`
341 | func actionlessScope<ScopedKey: Hashable>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
342 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
343 | defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias declared here
350 | from: UniDirectionalTransformation<From, To>,
351 | to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:341:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
339 |
340 | /// Creates a `ScopedStore`
341 | func actionlessScope<ScopedKey: Hashable>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
342 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
343 | defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum declared here
46 | /// `Error` that reports the missing keys
47 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
[54/61] Compiling CacheStore Store+StoreContent.swift
[55/61] Compiling CacheStore ForEachStoreView.swift
[56/61] Compiling CacheStore ScopedKeyValueCacheStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/CacheStore/ScopedKeyValueCacheStore.swift:22:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | //
7 |
8 | class ScopedKeyValueCacheStore<Key: Hashable, Value, ScopedKey: Hashable, ScopedValue>: CacheStore<ScopedKey> {
| `- note: 'Value' previously declared here
9 | weak var parentCacheStore: CacheStore<Key>?
10 | private var keyValueTransformation: BiDirectionalTransformation<(Key, Value?)?, (ScopedKey, ScopedValue?)?>
:
20 | required init(initialValues: [ScopedKey: Any]) { fatalError("Not implemented") }
21 |
22 | override func set<Value>(value: Value, forKey key: ScopedKey) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | super.set(value: value, forKey: key)
24 |
[57/61] Compiling CacheStore StoreContent.swift
[58/61] 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 alias 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 alias 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: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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 a `ScopedStore`
196 | public func scope<Value, ScopedValue, ScopedKey: Hashable, ScopedAction, ScopedDependency>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
197 | keyValueTransformation: BiDirectionalTransformation<(Key, Value?)?, (ScopedKey, ScopedValue?)?>,
198 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias 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 a `ScopedStore`
196 | public func scope<Value, ScopedValue, ScopedKey: Hashable, ScopedAction, ScopedDependency>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
197 | keyValueTransformation: BiDirectionalTransformation<(Key, Value?)?, (ScopedKey, ScopedValue?)?>,
198 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, ScopedDependency>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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:244:17: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
242 |
243 | /// Creates an Actionless `ScopedStore`
244 | public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
245 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
246 | dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias declared here
350 | from: UniDirectionalTransformation<From, To>,
351 | to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:244:17: warning: cannot use enum 'c' here; 'c' was not imported by this file
242 |
243 | /// Creates an Actionless `ScopedStore`
244 | public func actionlessScope<ScopedKey: Hashable, ScopedDependency>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
245 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
246 | dependencyTransformation: (Dependency) -> ScopedDependency,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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:325:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
323 |
324 | /// Creates a `ScopedStore`
325 | func scope<ScopedKey: Hashable, ScopedAction>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
326 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
327 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias declared here
350 | from: UniDirectionalTransformation<From, To>,
351 | to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:325:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
323 |
324 | /// Creates a `ScopedStore`
325 | func scope<ScopedKey: Hashable, ScopedAction>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
326 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
327 | actionHandler: StoreActionHandler<ScopedKey, ScopedAction, Void>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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:341:10: warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
339 |
340 | /// Creates a `ScopedStore`
341 | func actionlessScope<ScopedKey: Hashable>(
| `- warning: cannot use type alias 'BiDirectionalTransformation' here; 'c' was not imported by this file
342 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
343 | defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:349:15: note: type alias 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 alias declared here
350 | from: UniDirectionalTransformation<From, To>,
351 | to: UniDirectionalTransformation<To, From>
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:341:10: warning: cannot use enum 'c' here; 'c' was not imported by this file
339 |
340 | /// Creates a `ScopedStore`
341 | func actionlessScope<ScopedKey: Hashable>(
| `- warning: cannot use enum 'c' here; 'c' was not imported by this file
342 | keyTransformation: BiDirectionalTransformation<Key?, ScopedKey?>,
343 | defaultCache: [ScopedKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/c/Sources/c/c.swift:45:13: note: enum declared here
43 |
44 | /// Composition
45 | public enum c {
| `- note: enum 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:265:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
263 | ) -> Binding<Value> {
264 | Binding(
265 | get: { [weak self] in self?.get(key) ?? fallback },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
266 | set: { [weak self] in self?.handle(action: using($0)) }
267 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:265:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
263 | ) -> Binding<Value> {
264 | Binding(
265 | get: { [weak self] in self?.get(key) ?? fallback },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
266 | set: { [weak self] in self?.handle(action: using($0)) }
267 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:266:39: warning: capture of non-sendable type 'Key.Type' in an isolated closure
264 | Binding(
265 | get: { [weak self] in self?.get(key) ?? fallback },
266 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
267 | )
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:266:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
264 | Binding(
265 | get: { [weak self] in self?.get(key) ?? fallback },
266 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
267 | )
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:277:41: warning: capture of non-sendable type 'Key.Type' in an isolated closure
275 | ) -> Binding<Value?> {
276 | Binding(
277 | get: { [weak self] in self?.get(key) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
278 | set: { [weak self] in self?.handle(action: using($0)) }
279 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:277:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
275 | ) -> Binding<Value?> {
276 | Binding(
277 | get: { [weak self] in self?.get(key) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
278 | set: { [weak self] in self?.handle(action: using($0)) }
279 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:278:39: warning: capture of non-sendable type 'Key.Type' in an isolated closure
276 | Binding(
277 | get: { [weak self] in self?.get(key) },
278 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
279 | )
280 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:278:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
276 | Binding(
277 | get: { [weak self] in self?.get(key) },
278 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
279 | )
280 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:290:51: warning: capture of non-sendable type 'Key.Type' in an isolated closure
288 | ) -> Binding<Value> {
289 | Binding(
290 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
291 | set: { [weak self] in self?.handle(action: using($0)) }
292 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:290:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
288 | ) -> Binding<Value> {
289 | Binding(
290 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
291 | set: { [weak self] in self?.handle(action: using($0)) }
292 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:291:39: warning: capture of non-sendable type 'Key.Type' in an isolated closure
289 | Binding(
290 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
291 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
292 | )
293 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:291:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
289 | Binding(
290 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
291 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
292 | )
293 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:303:51: warning: capture of non-sendable type 'Key.Type' in an isolated closure
301 | ) -> Binding<Value?> {
302 | Binding(
303 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
304 | set: { [weak self] in self?.handle(action: using($0)) }
305 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:303:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
301 | ) -> Binding<Value?> {
302 | Binding(
303 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
304 | set: { [weak self] in self?.handle(action: using($0)) }
305 | )
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:304:39: warning: capture of non-sendable type 'Key.Type' in an isolated closure
302 | Binding(
303 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
304 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
305 | )
306 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:304:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
302 | Binding(
303 | get: { [weak self] in transform(self?.get(key, as: ParentValue.self)) },
304 | set: { [weak self] in self?.handle(action: using($0)) }
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
305 | )
306 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:376:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
374 | if let actionEffect = actionEffect {
375 | cancel(id: actionEffect.id)
376 | let effectTask = Task { [weak self] in
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
377 | defer { self?.cancel(id: actionEffect.id) }
378 |
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/Store.swift:385:21: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
383 | if Task.isCancelled { return }
384 |
385 | self?.handle(action: nextAction)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | }
387 | lock.lock()
[59/61] Compiling CacheStore ScopedKeyCacheStore.swift
[60/61] Compiling CacheStore StoreView.swift
[61/61] Compiling CacheStore TestStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/TestStore.swift:131:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
129 |
130 | Task {
131 | nextAction = await effect.effect()
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
132 | sema.signal()
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/CacheStore/Stores/Store/TestStore.swift:115:17: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 |
114 | /// Receive an action from the effects **FIFO** queue
115 | public func receive(
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 | _ action: Action,
117 | file: StaticString = #filePath,
Build complete! (21.05s)
Fetching https://github.com/0xLeif/swift-custom-dump
Fetching https://github.com/0xOpenBytes/c
[1/237] Fetching c
[238/1616] Fetching c, swift-custom-dump
Fetched https://github.com/0xOpenBytes/c from cache (0.85s)
Fetched https://github.com/0xLeif/swift-custom-dump from cache (0.85s)
Computing version for https://github.com/0xLeif/swift-custom-dump
Computed https://github.com/0xLeif/swift-custom-dump at 2022.11.1 (1.37s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.23s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 3.0.2 (1.75s)
Fetching https://github.com/0xOpenBytes/t
[1/368] Fetching t
Fetched https://github.com/0xOpenBytes/t from cache (0.86s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (1.35s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.49s)
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
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/0xLeif/swift-custom-dump
Working copy of https://github.com/0xLeif/swift-custom-dump resolved at 2022.11.1
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 1.0.4
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" : "2022.11.1",
"upper_bound" : "2023.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/ScopedKeyCacheStore.swift",
"Stores/CacheStore/ScopedKeyValueCacheStore.swift",
"Stores/Store/Content/Store+StoreContent.swift",
"Stores/Store/Content/StoreContent.swift",
"Stores/Store/Content/StoreView.swift",
"Stores/Store/ForEachStoreView.swift",
"Stores/Store/ScopedStore.swift",
"Stores/Store/Store.swift",
"Stores/Store/TestStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.